psexec在第一次运行的时候会弹出框框,让用户选择是否允许此软件运行,如何去除它?

来源:互联网 发布:二级域名与一级域名 编辑:程序博客网 时间:2024/05/01 04:31

特别提示:psexec在第一次运行的时候会弹出框框,让用户选择是否允许此软件运行。
如果在命令行模式下面,防止弹框,第一次运行时需要带参数: /accepteula,此参数未公开。
psexec /accepteula

 

 

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 willnot work, you have to set the key to 1 manually (or delete it altogether).

 

 

原创粉丝点击