Skip to content
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

Open Console or PowerShell ''As Admin'' #40

Open
a-raccoon opened this issue Aug 1, 2020 · 3 comments
Open

Open Console or PowerShell ''As Admin'' #40

a-raccoon opened this issue Aug 1, 2020 · 3 comments

Comments

@a-raccoon
Copy link

a-raccoon commented Aug 1, 2020

I would like to recommend the ability to open the Console or PowerShell windows As Administrator by the user holding down Ctrl+Shift when they click on the toolbar icon. This is the natural Windows behavior when launching either from the Start Menu, or any application or file in Windows Explorer for that matter. Ctrl+Shift = Administrator

@stefankueng
Copy link
Owner

Hold down the Win key, not Ctrl+Shift.
Using Ctrl+Shift might work for clicks, but when you configure a hotkey, using Ctrl+Shift could cause problems.

@a-raccoon
Copy link
Author

a-raccoon commented Aug 4, 2020

I don't understand your reply. The WinKey does nothing. The Ctrl+Shift behavior within Windows Explorer is the expected behavior and the only way to go. When you see Console or PowerShell being clicked, please check if the Ctrl+Shift keys are being held down, and if so, then RunAs Admin for either Console or PowerShell.

image

I'm not creating a hotkey. I'm asking you to bake this functionality into the toolbar using C++.

Thanks.

@stefankueng
Copy link
Owner

when you click while you hold down the Win-key, then StExBar will start the command as Admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants