tools
tools copied to clipboard
Open Console or PowerShell ''As Admin''
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
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.
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.
I'm not creating a hotkey. I'm asking you to bake this functionality into the toolbar using C++.
Thanks.
when you click while you hold down the Win-key, then StExBar will start the command as Admin.