Cách mở open command windows here win 10

Download PC Repair Tool to quickly find & fix Windows errors automatically

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 11/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.

Get back Open Command Prompt here instead of PowerShell in Explorer

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

You can make Shift+Right-click show Open Command window here instead of PowerShell.

Use 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.

Next, inside the cmd folder of HKEY_CLASSES_ROOT\Directory\shell\cmd, right-click on the HideBasedOnVelocityId DWORD.

Click on Rename and change its name to ShowBasedOnVelocityId. Finally, 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.

Related: Pin PowerShell or Command Prompt with Admin rights Shortcut to Start Menu.

Remove 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 make use of this hack to make Windows 11/10 more friendly for them.

Related: Replace Command Prompt with PowerShell in WinX Power Menu of Windows 11/10.

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.

Chủ Đề