How To Get Back Open Command Prompt Here in Windows 10/11

Windows 10 Creators Update removes the Open Command Prompt Here context menu in favour of PowerShell. Here's how to get it back.

By Tim TrottWindows Tips and Tricks • December 8, 2016
How To Get Back Open Command Prompt Here in Windows 10/11

Microsoft has decided that the trusty old command prompt is outdated and will be phasing it out. They are now making PowerShell the de facto command shell in Windows 10.

Windows 10 Creators Update removes the "Open Command Prompt Here" context menu entry and replaces it with "Open PowerShell Window Here".

Microsoft continues to phase out Command Prompt in favour of PowerShell. In a recent Windows Update, PowerShell replaces the Command Prompt (aka, "cmd.exe") in the Win + X menu, in File Explorer's File menu, and in the context menu that appears when you Shift + Right Click the whitespace in File Explorer.

How to get back Open Command Prompt Here context menu
How to get back Open Command Prompt Here context menu

Typing "cmd" or "powershell" in File Explorer's address bar will remain a quick way to launch the command shell at that location.

For those who prefer to use Command Prompt, you can opt out of the Win + X change by opening Settings > Personalization > Taskbar and turning "Replace Command Prompt with Windows PowerShell in the menu when I right-click the Start button or press Win + X" to "Off".

You need to make a quick registry change to get Command Prompt back to the File menu for File Explorer or in the extended context menu (Shift + Right-click). Although not difficult, the process is quite involved.

Get Back Open Command Prompt Here Context Menu

We need to change the system registry to get the Open Command Prompt Here context menu.

  1. Open Regedit from the Start Menu.
  2. Navigate to HKEY_CLASSES_ROOT\Directory\shell\cmd.
  3. This key is protected from changes. To enable editing, you need to:
    1. Right-click on the cmd folder and select Permissions.
    2. Click the Advanced button.
    3. Next to the Owner label is a link that says "Change". Click on it.
    4. In the Select User or Group window, enter the name of your Windows user account in the "Enter the object name to select" text box and click "Check Names".
    5. If there are no errors, click OK to make the changes.
    6. Back on the Permissions window, select the "Allow" checkbox next to "Full Control", then click OK back to Regedit.
  4. Right click on the key HideBasedOnVelocityId and select "Rename". Rename it to something like _HideBasedOnVelocityId.
  5. Changes take immediate effect, so head to Windows Explorer and shift-right click to see "Open Command Prompt Here" returned.

Why Did Microsoft Remove "Open Command Prompt Here" Context Menu?

Here is what Microsoft has to say about the change Announcing Windows 10 Insider Preview Build 14971 for PC

To bring the best command line experiences to the forefront for all power users, PowerShell is now the defacto command shell from File Explorer.

Do you agree with Microsoft? Has the old DOS command prompt retired? Is PowerShell great as a day-to-day alternative? Let us know what you think in the comments below.

Related ArticlesThese articles may also be of interest to you

CommentsShare your thoughts in the comments below

My website and its content are free to use without the clutter of adverts, popups, marketing messages or anything else like that. If you enjoyed reading this article, or it helped you in some way, all I ask in return is you leave a comment below or share this page with your friends. Thank you.

This post has only 1 comment. Why not join the discussion!

New comments for this post are currently closed.