title: Error code 1073741502 when running psexec through TeamCity
body: <p>I have a build step that needs to run a console application under a different (more privileged) user account.</p>
  
  <p>However PsExec always returns with the exit code -1073741502. </p>
  
  <p>I thought the issue was from my app but when I replace with the following it still fails:</p>
  
  <pre><code>PsExec.exe -accepteula -u Username -p Password "cmd.exe" /C
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>PsExec.exe -i -accepteula -u Username -p Password "cmd.exe" /C
  </code></pre>
  
  <p>Note that TeamCity build agent runs under a user account created specifically for it. When I manually log in as that user and run the above commands they work fine.</p>