Restore Open command window here item to Windows 10 folder context menu

Not long back, the option to use Command Prompt was available at various spots in the Windows OS environment. You could open the Command Prompt in any folder by holding down the Shift key and then right-clicking to see the Open command window here entry appear. But with Windows 10, Microsoft is focusing to replace it with Powershell. We can see that because when we press Shift+Right-Click now, you see an option saying Open PowerShell window here instead of Open command window here.

Open command window here

Well, you can just get restore the old behavior and make Shift+Right-click display the Open command window here option to the context menu of any folder. Let us see how to do it.

Restore Open command window here item to folder context menu

Use Cortana or Run (WinKey + R) and type regedit to open Registry Editor and browse to this location:

HKEY_CLASSES_ROOT\Directory\shell\cmd

Right-click on the cmd folder and click on Permissions.

Next, click on Advanced button. A window named Advanced Security Settings will appear. Now, click on the Change link for the Owner section.

Type your account name in the field and click on Check Names to verify the account name and click OK.

Select the option that says Replace owner on subcontainers and objects. Click OK.

Having done this, now in the Group or User names list, select Administrators and select Full Control in the Permissions for Administrators panel. Click OK.

Now, inside the cmd folder, right click on the HideBasedOnVelocityId DWORD and click on Rename and change to name to ShowBasedOnVelocityId and press Enter.

Close the Registry and see. Now, you would be able to see the Open command window here option in the context menu inside folders when you press Shift+Right-click.

Removing the Open PowerShell window here option

Run regedit to open Registry Editor and browse to this location:

HKEY_CLASSES_ROOT\Directory\shell\PowerShell

Right click on the cmd folder and click on Permissions.

Click on Advanced button. A window named Advanced Security Settings will appear. Now, click on the Change link for the Owner section.

Type your account name in the field and click on Check Names to verify the account name and click OK.

Select the option that says Replace owner on subcontainers and objects. Click on OK button

In the Group or User names list, select Administrators and select Full Control in the Permissions for Administrators panel. Click OK.

Inside the PowerShell folder, right click on the ShowBasedOnVelocityId DWORD and click on Rename and change to name to HideBasedOnVelocityId and press Enter.

Now, you will not be able to see open PowerShell window here option in the context menu inside folders when you press Shift+Right-click.

Although most of the cmd commands can be run using PowerShell, still a lot of people like to use the cmd window. Hence, we recommend those people to make use of this hack to make Windows 10 more friendly for them.

Posted by on , in Category Windows with Tags

Ayush has been a Windows enthusiast since the day he got his first PC with Windows 98SE. He is an active Windows Insider since Day 1 and is now a Windows Insider MVP. He has been testing pre-release services on his Windows 10 PC, Lumia, and Android devices.