I am running a command line step in my build that runs PsExec.
The command is:
D:\SysInternalsSuite\PsExec.exe \\10.161.207.122 -u tlvlabrecs\automationadmin -p password -cf D:\Copy.bat \\10.161.124.3\Automation\01RAF\Builds\184.108.40.206
This command hangs and doesn't seem to do anything on the target machine.
Running the exact same command from the command prompt on the TeamCity server works and completes successfully.
Why is this happening? What else can i check ?