3 ms·
If you allow you to enter a password, you can use runas.exe which is provided by Microsoft.
by mattn_jp 9y ago
If you allow you to enter a password, you can use runas.exe which is provided by Microsoft.
- Jaruzel 9y agoRunAs.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.