title: Windows Machine File Copy: I am getting system error 1312 for powershell while deployment process through TFS
body: <p>I have installed TFS on my webserver, I have configured the build process in TFS to copy files to IIS directory on checkin. </p>
  
  <p>I am getting below error. Is it because my TFS server and webserver is same?</p>
  
  <p>Failed to execute the powershell script. Consult the logs below for details of the error.
  Failed to connect to the path \{ipaddress} with the user Administrator for copying.System error 1312 has occurred.
  A specified logon session does not exist. It may already have been terminated.
  For more info please refer to <a href="http://aka.ms/windowsfilecopyreadme" rel="nofollow">http://aka.ms/windowsfilecopyreadme</a></p>
  
  <p>please help, I have tried googling this first but couldn't get solution.</p>