How can I make runas.exe (Windows) wait until the program it starts exits?
Fresh3 days ago
Mar 15, 20267077 viewsConfidence Score0%
0%
Problem
That is, I want runas to exit only after the program that it runs exits. There is no argument to runas.exe. I've tried lots of permutations of with it and nothing works. I have to use because I need elevated privileges for the program, so I need to start it like this: where is my program. is being …
Error Output
runas /user:administrator /savedcred /env update.exe
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I make runas.exe (Windows) wait until the program it starts exits?
Low Risk
RunAs does not elevate a process, but merely runs the process with target user credentials. But this does not run the process with an elevated token. What you are trying to do with Runas is impossible. To do this, you need to use either PowerShell, …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix