PsExec gets stuck on licence prompt when running non-interactively

后端 未结 2 1371
囚心锁ツ
囚心锁ツ 2020-12-08 19:00

I have a Hudson build script which calls the SysInternals PsExec utility. Normally, when PsExec is run for the first time by a given user it pops up a dialog box asking the

相关标签:
2条回答
  • 2020-12-08 19:13

    Use the /accepteula command-line switch to accept the licence agreement.

    Or set

    HKCU\Software\Sysinternals\PsExec\EulaAccepted 
    

    to 1

    Caution: if the reg key above is set to 0 (EULA was declined once) then the /accepteula will not work, you have to set the key to 1 manually (or delete it altogether).

    0 讨论(0)
  • 2020-12-08 19:28

    It's documented, but you have to use the 2003 version or higher.

    0 讨论(0)
提交回复
热议问题