开发者

How to embed password in runas command?

开发者 https://www.devze.com 2023-03-22 17:43 出处:网络
When I run this at the cmd: runas /env /user:administrator \"IECapt.exe --url=http://www.google.com/ --out=test.png\"

When I run this at the cmd:

runas /env /user:administrator "IECapt.exe --url=http://www.google.com/ --out=test.png"

it prompts for password.

How ca开发者_如何学Cn I embed the password inside the command so that it does not prompt for the password?


The /savecred - option may be what you're searching.

0

精彩评论

暂无评论...
验证码 换一张
取 消