Skip to content
Discussion options

You must be logged in to vote

Perhaps, #68 (comment) might be:

Sudo for Windows doesn't currently support over-the-shoulder elevation (where the admin user is a different user than the current user). I'd suspect that we'll address that when we add support for #3

To summarise, continue to utilise it if you've any reason to believe that the script might be invoked by a non-administrator user account. However, considering that an error is printed, the sole possible errors are those that would occur if the administrative user had denied the UAC prompt anyway, which the script should account for.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RokeJulianLockhart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant