I figured it out. The TFS build-service user did not have the proper access rights to the target server. I was led astray by the "other errors and warnings" messages. Even thought it works now, these messages and the 'stop'-icons still appear.
How to run psexec from a TFS invokeProcess task
Question
I'm having problems running psexec from a TFS invokeProcess task.
My invokeProcess looks like this:
http://www.bjesklauget.dk/images/memberImages/psexec_task.png
But my output looks like this:
http://www.bjesklauget.dk/images/memberImages/psexec_tfs.png
How can I succesfully run the psexec.exe in my invokeProcess task?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow