-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error occurs when I attempt to execute "gsudo regedit" #36
Comments
First of all, don't set an alias. It already support the sudo and gsudo commands. Or did you set the alias to something else than those 2? Second, it works for me in PowerShell but doesn't seem to work in Command Prompt. |
First, I installed gsudo by directly downloading the GitHub release, so I manually set an alias, It does not depend on the alias. Second, Actually there is no need to type such a command, because Windows 10 automatically pops up a window for privilege elevation if the user simply types |
I was able to reproduce it on CMD. With or without an alias. This happens with the new default A few workarouds: Make gsudo elevate cmd which then runs regedit: Use attached mode instead of TokenSwitch: I am not sure yet what's the root cause here, or why this does not happen with PowerShell. Thanks @Tiebe for finding that last piece of info. It may lead to finding the root cause... |
The first step for |
The fix was released in v0.7.1. |
(I set an alias for gsudo.)
The text was updated successfully, but these errors were encountered: