You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.
But if you need to elevate current process directly. NSudo and Priviexec aren't able to do it. (Because these tools don't need to load the driver. You can't replace the process access token unless you using a driver.)
Command line version of NSudo (NSudoC) don't elevate automatically because we take care about the command line experience. (Pop up the UAC window will break the immersive command line experience.)
In my opinion, you should elevate your script first. (If you don't do that and NSudoC supports the elevate automatically, the user of the script may suffer from multiple UAC pop up windows if you use NSudoC multiple times in your script.)
How to elevate current process in script?
The text was updated successfully, but these errors were encountered: