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 AltFSA one key right after the other.

  • German version: AltDSA
  1. Click in or on the folder which you want to open as administrator from PowerShell

    enter image description here

  2. Press Alt then F

    enter image description here

  3. Press S

    enter image description here

  4. Press A

    enter image description here

  5. Now PowerShell will open as administrator in that folder as requested.

    enter image description here


Shift click while inside the folder and click 'Open PowerShell window here'

GIF

I'm not sure if this is what you wanted, but seeing the other response, this seems a lot easier...