Replace PowerShell with Command Prompt in Windows 10

Replace PowerShell with Command Prompt in Windows 10

Hey, I'm pretty sure most of us struggled when we do "Shift+right click on windows explorer" to open cmd in a particular path, it's come like "Open PowerShell window here" instead of "open command window here"

Here is two ways to get rid of it in windows 10

From Windows 10 Settings

The easiest way to replace PowerShell with Command Prompt is from Windows 10 settings. And this way will replace PowerShell with Command Prompt in WinX Menu.

1. Click on Start, select "Settings".

No alt text provided for this image

2. Click on "Personalization".

No alt text provided for this image

3. Click on "Taskbar" on the left panel, turn off the button below "Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key + X".

No alt text provided for this image

4. Right-click on the Start button or press "Windows + X", you will see the Command Prompt on the Charm bar.

No alt text provided for this image

From Registry Editor

This way will replace PowerShell with Command Prompt in Windows 10 File Explorer when press "Shift" key and right-click.

1. Press "Windows +R" to open Run box, type in "regedit", and then press Enter or click on Ok to open Registry Editor.

No alt text provided for this image

2. Navigate to: Computer\HKEY_CLASSES_ROOT\Directory\Background\shell\cmd.

If there is address bar on Registry Editor, you can paste the address on it and press Enter to navigate to cmd.

No alt text provided for this image

3. On the left sidebar, select cmd, right-click on it, and select Permissions.

No alt text provided for this image

4. Click on "Advanced".

No alt text provided for this image

5. Click on "Change" on the left top.

No alt text provided for this image

6. On the text field type in your user name, and press Enter.

No alt text provided for this image

7. Go back to Permissions for cmd window, select Administrator under Group or user names, under Permissions for Administrator check the box on the right side of Full Control, and then click on Apply.

No alt text provided for this image

8. Go to Registry Editor, navigate to cmd on shell. On the right panel, right-click on the option of "HideBasedOnVelocityld", and select Delete to remove it.

No alt text provided for this image

9. Open File Explorer, press on "Shift" key on keyboard, at the same time right-click on File Explorer, you will see the option of "Open Command windows here".

No alt text provided for this image

Have a great day...!!

Still works, thanks for sharing.

Like
Reply

Thanks v. much. This fixes the "Shift" key on keyboard, at the same time right-click on File Explorer issue. Now gives option of cmd prompt or PowerShell. Why isn't this the MS default setting?  

Like
Reply

It's a clear explanation, but it fails for me at step 7 with "Unable to save permission change on cmd. Access is denied." "Go back" can mean to click OK or click Cancel. I tried both. Once I click Apply, the error message is displayed. I am running Regedit as Administrator. Thanks anyway.

To view or add a comment, sign in

Others also viewed

Explore content categories