In Windows 10 Creators Update version 1703 build 15063 (in actual fact, starting from Windows 10 Build 14986), Microsoft has been pushing Windows PowerShell as the alternative to Command Prompt hard.

One such change is Windows PowerShell is default entry in Win+X menu instead of Command Prompt. In addition, the “Open command window here” in extended right click menu is been replaced by “Open PowerShell window here” too.

Open PowerShell window here

If you prefer to use Command Prompt over Windows PowerShell, use the following registry hack to revert and bring back the “Open command window here” in the hidden extended right click menu.

  1. Run Registry Editor (regedit).
  2. Navigate to the following registry key or by entering the URL into the address bar of the Registry Editor:

    Computer\HKEY_CLASSES_ROOT\Directory\Background\shell\cmd

  3. Take ownership and grant full access permissions to the registry key for your user account by doing the following:
    1. Right click on the cmd registry key, and select Permissions.
    2. In the Permissions dialog box, click or tap on Advanced button.
    3. In Advanced Security Settings dialog box, click or tap on Change link after the Owner field.
    4. When prompted to select user or group, enter the user name of your user account (including the email address if you’re logging in with Microsoft Account) in the text field of the object name to select.

      An alternative is to input the “Administrators” group to set all users in the Administrators group as owner.

    5. Hit OK twice when done to go back to Permissions dialog box.
    6. In the Permissions dialog box, select Administrators group in the top section, then check the checkbox for Full Control under Allow column at the bottom section.
    7. Hit OK when done.
  4. Right click on the HideBasedOnVelocityId value name in the right pane (which has the default value data of 0x00639bc8 (6527944)) and select Rename. Change the name to ShowBasedOnVelocityId.

    Registry Value Rename

  5. The “Open command window here” is now appearing in the extended right click menu when pressing Shift + Right Click on a folder, together with “Open PowerShell window here”. If you want both of them to appear together, you can stop now and skip the rest of the steps.

    Open command window here and Open PowerShell window here

  6. If you prefer to have only “Open command window here” and want to remove the PowerShell option, repeat the step 3 above with the following registry key:

    Computer\HKEY_CLASSES_ROOT\Directory\Background\shell\Powershell

  7. Right click on the ShowBasedOnVelocityId value name in the right pane (which has the default value data of 0x00639bc8 (6527944)) and select Rename. Change the name to HideBasedOnVelocityId.

    HideBasedOnVelocityId

  8. The “Open PowerShell window here” is now removed and disabled on extended right click menu.

    Open command window here

To revert and show or hide the Command Prompt window or PowerShell window in extended right click menu, just switch between the value name of “HideBasedOnVelocityId” or “ShowBasedOnVelocityId”