Error code 1073741502 when running psexec through TeamCity

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 01:31:01

问题


I have a build step that needs to run a console application under a different (more privileged) user account.

However PsExec always returns with the exit code -1073741502.

I thought the issue was from my app but when I replace with the following it still fails:

PsExec.exe -accepteula -u Username -p Password "cmd.exe" /C

Or

PsExec.exe -i -accepteula -u Username -p Password "cmd.exe" /C

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.

来源:https://stackoverflow.com/questions/23340441/error-code-1073741502-when-running-psexec-through-teamcity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!