How to restore the “Open command window here” option in Build 14986 and newer

by evil_pro5 months ago

As you might know, starting with build 14986, the Open command window here option in the extended right click menu is replaced by Open Powershell window here.

This might not be a big deal for most people, but for those who want the old option back, we’re going to show how you can restore it with a few clicks.

  1. Open the Registry Editor
  2. Navigate to Computer\HKEY_CLASSES_ROOT\Directory\Background\shell
  3. Right click on cmd and select Permissions…
  4. In the window that pops up, select Advanced
  5. Hit the Change button which is located next to the Owner field
  6. In the input field, enter your username and hit OK
  7. Make sure to check the Replace owner on subcontainers and objects checkbox
  8. Hit the OK button in the Advacned Security Settings window
  9. In the Permissions for cmd window, select Administrators from the list and make sure to allow Full Control by checking the Allow checkbox
  10. Delete the DWORD with the name HideBasedOnVelocityId.

If you did everything right, your extended context menu should show both options. To check if it works, simply go to a directory of your choice, hold Control + Shift and right click on an empty space. We’ve included an image below.

Bonus: Hide Powershell from the context menu

In case you want to get rid of the Open Powershell window here option completely, you need to do the following.

  1. Open the Registry Editor
  2. Navigate to Computer\HKEY_CLASSES_ROOT\Directory\Background\shell
  3. Right click on powershell and select Permissions…
  4. In the window that pops up, select Advanced
  5. Hit the Change button which is located next to the Owner field
  6. In the input field, enter your username and hit OK
  7. Make sure to check the Replace owner on subcontainers and objects checkbox
  8. Hit the OK button in the Advacned Security Settings window
  9. In the Permissions for cmd window, select Administrators from the list and make sure to allow Full Control by checking the Allow checkbox
  10. Delete the DWORD with the name ShowBasedOnVelocityId
  11. Create a new DWORD named HideBasedOnVelocityId
  12. Double click the DWORD you just created and give it a hexadecimal value of 639bc8

Now you should no longer see the Open Powershell window here option in the context menu.

Comments