I want "Command Prompt Here" in right click menu for all folders but without having to hold shift key.

It was possible in earlier versions of windows, like this but it's not working anymore, in Windows 10.

Has this method changed in Windows 10? or is there another way to do this?

  • 8
    my favorite method to do this is just write "cmd" in the explorer adressbar, cmd will then open in the current folder.
    – SimonS
    Commented May 15, 2016 at 11:18
  • @SimonS, you have my upvote, and a hundred more if I could...
    – pcdev
    Commented Dec 22, 2017 at 5:50

2 Answers 2


The registry method actually has changed slightly, as I discovered tinkering with the registry.

There are now two locations that have the Extended key:


The \Background\shell is newly added one and deleting the Extended key from that location is what worked for me.

  • 4
    Location #1 for when you right-click the desktop, or in a folder background (empty area). Location #2 applies when you right-click on a folder icon.
    – w32sh
    Commented May 15, 2016 at 14:15
  • When I run Regedit as administrator, I can't change anything - I don't have permissions. Admin has full control over HKEY_CLASSES_ROOT\Directory\shell, but read-only for HKEY_CLASSES_ROOT\Directory\shell\cmd, and it won't let me change the permissions.
    – Jeff Dege
    Commented Feb 10, 2017 at 15:41
  • @JeffDege Registry also has its own permissions (search "windows registry permissions") try tinkering with that. Commented Feb 11, 2017 at 5:39
  • It was necessary for me to rename the HideBasedOnVelocityId key as well.
    – CJ Dennis
    Commented Aug 9, 2017 at 6:45
  • Deleting the Extended key worked for me, but I also first changed permissions on the cmd tree items based on instructions here: windowscentral.com/… These instructions were to make the option show up in the first place (when pressing shift).
    – Mark
    Commented Mar 5, 2018 at 15:36

In the Latest Windows 10 - 1909 the only concerned location is HKEY_CLASSES_ROOT\Directory\Background\shell\cmd. And none of the answers explained how to deal with permissions before editing.

First, we need to change permissions for the regedit branch revealed above:

1- Right click cmd > Permission

enter image description here

2- Press "Advanced"

enter image description here

3- Press "Change" link on top

enter image description here

4- Input your user name (you can find yours by typing %userprofile% in run command or windows search), click check and ok

enter image description here

5- Check Replace Owner and press OK

enter image description here

6- Finally select your user accounts one by one and check full control (you may have more than 2)

enter image description here

At this point we can edit the keys and you only need to rename Extended to _Extended_. And rename HideBasedOnVelocityId to ShowBasedOnVelocityId

Your keys should look like..

enter image description here

Done! If you right click inside any folder "open command prompt here" should be there.

You must log in to answer this question.

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