Starting with Windows 10 build 14986, Microsoft enabled PowerShell by default in the context menu in File Explorer. The good old command "Open command window here" was removed. You can get the command prompt back in the context menu of File Explorer in Windows 10 Creators Update with a simple Registry tweak.
Earlier, Microsoft has removed the command prompt entries from the Win + X menu in Windows 10 Creators Update. See Add Command Prompt back to Win+X Menu in Windows 10 Creators Update.
It is not clear what Microsoft's plan is regarding cmd.exe's future. Quite possible the Redmond giant is going to merge the cmd.exe functionality with PowerShell and leave its executable file just for compatibility reasons. Let's see how add Command Prompt back to the context menu in Windows 10 Creators Update.
Add Command Prompt to Context Menu in Windows 10 Creators Update
Method 1. Modify the a DWORD value for the existing key
Do the following.
- Open Registry Editor.
- Go to the following Registry key:
- Take ownership of this key to modify its permissions.
- Add "Full control" to permissions of Administrators:
- Rename the DWORD value HideBasedOnVelocityId as shown below:
- The command prompt context menu item will re-appear in the context menu:
- Now, repeat steps above under the following key:
I tested this tweak in Windows 10 build 14986 and it worked as expected. If it doesn't work for you, see Method 2.
Method 2. Re-create the context menu entry
Save the following Registry tweak as a *.REG file and double click it to apply. It replicates the default command prompt context menu entry.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Drive\shell\cmd2] @="Open command window here" "Extended"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Drive\shell\cmd2\command] @="cmd.exe /s /k pushd \"%V\"" [HKEY_CLASSES_ROOT\Directory\shell\cmd2] @="Open command window here" "Extended"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Directory\shell\cmd2\command] @="cmd.exe /s /k pushd \"%V\"" [HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2] @="Open command window here" "Extended"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2\command] @="cmd.exe /s /k pushd \"%V\""
You can replace the portion "Open command window here" with any text you want.
You can remove the "Extended" line from the tweak to make the context menu command always visible. It won't require to hold the Shift key to access the command.
To save your time, I made ready-to-use Registry files. One of them contains the tweak above, the other one is the undo file.
Finally, you can use Winaero Tweaker. Go to Context menu - Add Command Prompt to Context Menu and tick the option. You can name the context menu item as you wish and make it visible only in the extended context menu. You can get Winaero Tweaker here: Download Winaero Tweaker.
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!