Open Powershell as Administrator at Current File Explorer Directory Keyboard Shortcut (Windows 10)
Solution 1
You can do this with the native method by simply clicking in the folder you wish to open Powershell as administrator from File Explorer, and then press Alt
F
S
A
one key right after the other.
- German version:
Alt
D
S
A
Solution 2
Shift click while inside the folder and click 'Open PowerShell window here'
I'm not sure if this is what you wanted, but seeing the other response, this seems a lot easier...
Related videos on Youtube
ereHsaWyhsipS
Updated on September 18, 2022Comments
-
ereHsaWyhsipS almost 2 years
Let's say that I'm browsing through Windows File Explorer, and suddenly I decide that I would like to open Powershell as administrator at the current directory (the directory that I'm at in File Explorer). Naturally, I'd like to open this as quickly as possible, so a keyboard shortcut to do this would be desirable.
I presume that this may only be possible to do with AutoHotKey, which I am open to using if necessary. Any way to create a keyboard shortcut to do this is what I want. So how can I achieve this?
-
Hatted Rooster about 6 yearsThese drawings are completely wrong. 1) They're not red. 2) They're not freehand. 3) They're not circles.
-
palsch about 6 yearsQuestion asked about opening as administrator, which doesn't happen here, right?
-
Andrew Morton about 6 years@SombreroChicken 3) They are circles with corners. 2) Poster may have had a steady hand due to lack of alcohol. 1) It's not easy being green.
-
wizzwizz4 about 6 years@palsch It depends whether you're lo̶g̶g̶e̶d̶ ̶i̶n̶ ̶a̶s̶ ̶r̶o̶o̶t̶ using an admin
%SHELL%
. But almost certainly not. -
Marco Hübers almost 5 yearsAccording to Pimp Juice IT Answer, here the german version: ALT -> D -> S -> A
-
Dana over 4 yearsI just discovered that you can also add this button as a shortcut to your folder! Right click on the "Open as Admin" and select "Add to Quick Access Toolbar". Now Admin Powershell is a permanent part of my Explorer's top bar :)