title: TFS Run batch script on a remote server with admin permission
body: <p>I currently have Server A which is where my TFS and Build Agent is located. I then have Server B which is when my source code site. I am trying to set up a build definition and copies file from on location in server B to another and then build the solution. </p>
  
  <p>However when I run this batch file as part of a build definition it is not creating folders where it need to be. I believe due to the agent not having correct permissions. </p>
  
  <p>Is there a way to run the following batch script to run with Admin permission from a build definition. </p>
  
  <p><a href="https://i.stack.imgur.com/BCqzW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BCqzW.jpg" alt="enter image description here"></a> </p>