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?

2 Answers 2


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.

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

enter image description here

  1. Press Alt then F

enter image description here

  1. Press S

enter image description here

  1. Press A

enter image description here

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

enter image description here

  • 11
    These drawings are completely wrong. 1) They're not red. 2) They're not freehand. 3) They're not circles. Commented Apr 1, 2018 at 12:57
  • 9
    @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. Commented Apr 1, 2018 at 15:11
  • 2
    According to Pimp Juice IT Answer, here the german version: ALT -> D -> S -> A Commented Jul 18, 2019 at 12:50
  • 2
    I 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 :)
    – Dana
    Commented Oct 29, 2019 at 14:37

I think you mean setting a keyboard shortcut to open the Powershell? For example, I use ctrl+shift+p to open the PowerShell ISE

To do this, go to the Powershell shortcut in the start menu>>Right-click, select open containing folder>>Right-click on Powershell and select properties. On the 'Shortcut' tab, there is a selection labeled Shortcut[none] click the box then press the key combination that you wish to use. Apply the changes and click OK

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .