3 ms·
RunAs.exe only allows you enter a password interactively. If you want to elevate with RunAs in a script and pre-specify the password[1], you can't do it. -- [
by Jaruzel 9y ago
RunAs.exe only allows you enter a password interactively. If you want to elevate with RunAs in a script and pre-specify the password[1], you can't do it.
--
[1] Yes, I know this is awful security, but sometimes you have no choice.