Do you miss the Open Command Prompt option when you right click from any folder while pressing the Shift button! Microsoft replaced it with Powershell in the newer version of Windows 10, such as Windows creator update (1703 or newer). In this guide, we’re going to bring back the “Open Command Window Here” option in the Shift+right-click context menu in Windows 10 Operating system.

Microsoft planned to replace PowerShell in these following locations, (1). Windows Key + X menu, (2). This PC’s menu and (3.) Shift + Right click context menu.

TIP: You can still open cmd from any folder but without administrative privilege, to do that click on the address bar, type CMD and hit enter.

They “open command prompt window from here” is caused by a registry key you can find under these (Regedit) locations.

HKEY_CLASSES_ROOT\Directory\Background\shell\cmd
HKEY_CLASSES_ROOT\Directory\shell\cmd
HKEY_CLASSES_ROOT\Drive\shell\cmd

With newer Windows 10 Builds Microsoft added a new DWORD registry named HideBasedOnVelocityId that hides the “command prompt” option when there is a “Shift+right-click” action in File Explorer.

Just like that there is a new DWORD registry named ShowBasedOnVelocityId that add the “Open PowerShell window here” option in File Explorer context menu. The value of both DWORD registry is 639bc8.

So what you can do “delete” the HIdeBasedOnVelocityId” from the locations I mentioned earlier. You need admin privilege to perform this action.

Hell yes, getting into and changing registry is a mess, that’s why we’ve taken the time to create a registry script, so you don’t have to go through the process. All you have to download the below-attached zip file, extract and run the registry file with admin privileges.

What does this registry script do:

Hides the “HideBasedOnVelocityId” DWORD registry and adds registry that will enable the “Open Command Prompt here” in SHIFT + Right-Click context menu.

Download the zip file, extract with default Windows option or use a tool like Winrar or other inside you’ll get a (.REG) file to add “Open command window here” option:

Download Registry File

Opening the registry file will ask you for a confirmation, right click you have to confirm it so it will add the option to right-click context menu while pressing the shift button.

And on Desktop.

“Open Command Window Here” Option in Directory Context Menu:

There is also a second file to undo the changes you’ve made to the system registry database. By opening “Remove Command Prompt option”, you can again remove the command prompt option from the right-click context menu.

The ZIP file also contains another registry script to remove the “Open command window here” option from the context menu to restore default settings.

How to Remove PowerShell from Right-Click Context Menu

in order to remove the “Open PowerShell window here” option from right-click context menu, visit these locations, and change ShowBasedOnVelocityId DWORD to HideBasedOnVelocityId and Powershell options will fade away.

HKEY_CLASSES_ROOT\Directory\Background\shell\Powershell
HKEY_CLASSES_ROOT\Directory\shell\Powershell
HKEY_CLASSES_ROOT\Drive\shell\Powershell

Open Command Prompt option comes handy in so many situations like if you’re dealing with ADB and Fastboot, this option is a time saver.

Devendra Meena

Hello, I am the person behind Quickfever.com, my name is Devendra Meena.

No Comments Yet

Leave a Reply

Your email address will not be published.