Open Powershell as Administrator at Current File Explorer Directory Keyboard Shortcut (Windows 10)
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?
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
Click in or on the folder which you want to open as administrator from PowerShell
Press Alt then F
Press S
Press A
Now PowerShell will open as administrator in that folder as requested.
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...