-
-
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
Issue: When running gsudo through terminal/cmd it doesn't auto-focus on the UAC Prompt #85
Comments
Hi, thanks for the feedback. Do you have UAC set up on "Do not dim"? If so, please press "Win+R", and run regedit. Do you see the same problem? I do and it looks like a problem with Windows UAC itself, when set in "Do not dim" mode. Also may be worth to keep an eye on this issue, microsoft/PowerToys#4933. To me, it looks like the same issue. BTW, I tested it on gsudo and the call to CreateProcess hangs until the UAC popup is either accepted or dismissed. Meaning that when it happens, I do not have a an elevated process ID or hWnd yet, so I can't trick to focus the UAC popup window. It is unknown to me. |
Yea I've got Do not dim on. I can't upvote your feedback tho, it says "Your account doesn't have access to this feedback" |
I'm closing this, as it is rooted in Windows and I doubt there is anything I can think of to fix it. Refer to the Powertoys issue microsoft/PowerToys#4933 for a response from microsoft, given that my "feedback hub" ticket was "received" but I probably wont get a response there. |
Yeah, it's microsoft's fault, but they will never ever fix it. I'm using UAC with no don't dim these days, and it is annoying. |
…when UAC set as Do Not Dim. Fixes #85
I apologize @fabis94 for not listening you. This will ship in the next release. |
Issue Description
When running gsudo through terminal/cmd it doesn't auto-focus on the UAC Prompt. This is very annoying because you have to move your mouse and click on "Yes" instead of being able to just press Alt + Y like you would be able to if you'd be focusing on the prompt.
Steps to Reproduce
Doesn't matter if I use Cmd or Terminal, if I write
gsudo whatever
the prompt will appear, but won't be focused so Alt + Y won't accept it.Context:
The text was updated successfully, but these errors were encountered: