Replace PowerShell with Command Prompt in Context Menu in Windows 10

Replace PowerShell with Command Prompt in Context Menu in Windows 10: If you have recently updated to Windows 10 latest Creators Update then you may have already notice that when you press Shift and right-click on any folder the option “Open command window here” has been replaced by “Open PowerShell window here.” While many people don’t know what powershell is, how Microsoft is expecting them to use this functionality? Well, that’s why we have put together this guide which will show you how to add the option “Open command window here” in the File Explorer context menu again.

Also, the option for Command Prompt in Start Menu is replaced by PowerShell with the latest Creators Update but thankfully it can be restored via Windows Settings. But sadly there is no option/settings to replace the “open command window here” option from the right-click context menu on Windows 10. So without wasting any time let’s see how to actually Replace PowerShell with Command Prompt in Context Menu in Windows 10 with the help of the below-listed guide.

Contents

Replace PowerShell with Command Prompt in Context Menu in Windows 10

Make sure to create a restore point just in case something goes wrong.

Method 1: Use Registry Fix

Note: If you don’t want to use this method then you could try the method 2 which lets you manually edit the Registry entries in order to fix the issue.

1.Open empty Notepad file and then paste the following text as it is:

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt] @="@shell32.dll,-8506" "Extended"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command] @="cmd.exe /s /k pushd \"%V\"" [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt] @="@shell32.dll,-8506" "Extended"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command] @="cmd.exe /s /k pushd \"%V\"" [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt] @="@shell32.dll,-8506" "Extended"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command] @="cmd.exe /s /k pushd \"%V\""

2.Click File then Save as from the Notepad menu.

3.From Save as type drop-down select “All Files.

4.Type the name of the file as cmdfix.reg (.reg extension is very important).

5.Now navigate to the location where you want to save the file and then click Save.

6.Double-click the file then click Yes to continue and this would add the option “Open command window here” in the context menu.

7.Now if you want to remove the “Open command window here” option from the context menu then open the notepad file and paste the below content in it:

Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\Directory\shell\cmd2] [-HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2] [-HKEY_CLASSES_ROOT\Drive\shell\cmd2] [-HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\cmd2]

8.Select the Save as type as “All Files.” and name the file as Defaultcmd.reg.

9.Click Save and double click on the file in order to remove the option from the context menu. Now, this would Replace PowerShell with Command Prompt in Context Menu if not then continue to the next method.

Method 2: Manually create registries entries

1.Press Windows Key + R then type regedit and hit Enter to open Registry Editor.

2.Navigate to the following registry path:

HKEY_CLASSES_ROOT\Directory\shell\cmd

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

4.Now under the Security tab click the Advanced button.

5.On Advanced Security Settings window click Change next to Owner.

6.From Select User or Group window again click Advanced.

7.Now click Find Now and then select your user account from the list and then click OK.

8.Once you have added your user account then check mark “Replace owner on subcontainers and objects.

9.Click Apply followed by OK.

10.You will again be taken to the Permissions window, from there select Administrators and then under permissions check mark Full Control.

11.Click Apply followed by OK.

12.Now inside the cmd folder, right-click on the HideBasedOnVelocityId DWORD, and select Rename.

13.Rename the above DWORD to ShowBasedOnVelocityId, and press Enter.

14.This would enable the “Open command window here” option as soon as you close the Registry Editor.

15.If you want to revert back then simply rename the DWORD again to HideBasedOnVelocityId. Again check and see if you are able to successfully Replace PowerShell with Command Prompt in Context Menu in Windows 10.

How to remove Open PowerShell window here from the context menu in Windows 10

Even though following above steps seems to bring back the “Open command window here” option in the right click context menu but you would still see the “Open PowerShell window here” option and in order to remove it from the context menu follow the below-listed steps.

1.Press Windows Key + R then type regedit and hit Enter.

2.Navigate to the following registry path:

HKEY_CLASSES_ROOT\Directory\shell\PowerShell

3.Right-click on PowerShell and then select Permissions.

4.Click Advanced button under permission window.

5.On Advanced Security Settings window click Change next to Owner.

6.From Select User or Group window again click Advanced.

7.Now click Find Now and then select your user account from the list and then click OK.

8.Once you have added your user account then check mark “Replace owner on subcontainers and objects.

9.Click Apply followed by OK.

10.You will again be taken to the Permissions window, from there select Administrators and then under permissions check mark Full Control.

11.Click Apply followed by OK.

12.Now inside the PowerShell folder, right-click on the ShowBasedOnVelocityId DWORD, and select Rename.

13.Rename the above DWORD to HideBasedOnVelocityId, and press Enter.

14.This would disable the “Open PowerShell window here” option as soon as you close the Registry Editor.

15.If you want to revert back then simply rename the DWORD again to ShowBasedOnVelocityId.

Recommended for you:

That’s it, you have successfully Replace PowerShell with Command Prompt in Context Menu in Windows 10 but if you still have any queries regarding this article then please feel free to ask them in the comment’s section.

Sign up and earn $1000 a day ⋙

Best Video Recording and Editing Software 2025: iTop Screen Recorder Review

Best Video Recording and Editing Software 2025: iTop Screen Recorder Review

Have you ever found yourself in a position where you need a powerful and reliable screen recording tool? Well, look no further, iTop screen recorder is the best pick.

Exploring the Features of IP Anonymizer Database

Exploring the Features of IP Anonymizer Database

In an era where online privacy and data protection have become paramount concerns for individuals and organizations alike, the need for effective tools to safeguard personal information is more critical than ever. The IP Anonymizer Database emerges as a vital resource for those seeking to navigate the complexities of digital anonymity.

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos. If you want to add color to old black & white photos, use one of the AI ​​tools below.

7 rules for storing a bank card

7 rules for storing a bank card

Each bank card is marked with important information - number, owner’s name, expiration date, CVC or CVV and a chip, thanks to which payments are made at terminals (including contactless). In order for this information to be preserved, it is important to treat the means of payment with care.

IObit Malware Fighter 11 Review 2024

IObit Malware Fighter 11 Review 2024

When your computer gets attacked by a virus or malware, you’ll certainly such for a powerful antivirus to fight back. Well, IObit Malware Fighter is exactly what you need. From its name alone, you can be certain that you are getting the tough protection your computer needs.

How To Find Quality And Fast Internet In Montreal

How To Find Quality And Fast Internet In Montreal

Montreal, a city brimming with culture, history, and Poutine (a famous Canadian dish), deserves an internet connection that can keep up. Whether you’re a streamer glued to Twitch, a workaholic juggling video conferences, or a casual web surfer, a reliable and fast internet plan is essential.

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018, Google has officially announced that it will stop supporting Google Drive for desktop and then the company will remove the application.

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error, AirDrop not working on iPhone, iPad, Mac what to do? This article will provide you with simple ways

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024, Which is the best lightweight, free, high-quality computer screen recording software? Let's find out the top with WebTech360

What is an email address? How to get an email address?

What is an email address? How to get an email address?

What is an email address? How to get an email address?, What is an email address? What is email address entry? This article will answer all your related questions

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for your computer you need to know, WhatsApp is one of the most popular free messaging apps today. The keyboard shortcuts below will help

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Discover the vibrant social scene of baccarat on Tedbet, where players worldwide connect, chat, and enjoy the excitement of live dealer games.

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok, Finding videos on TikTok is not difficult. Let's learn together how to find the original video on TikTok or find the Tik Tok clip you want to watch

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks, BlueStacks has made important improvements for Free Fire gamers. Please upgrade BlueStacks 4.230.10

Huang you: Butter Camera sparkling photo editing app

Huang you: Butter Camera sparkling photo editing app

Huang you: Sparkling photo editing application Butter Camera, Huang you (黄油 相机) is an extremely hot Chinese editing application today, here we would like to invite you

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know, Chrome Web Store or Chrome Web Store offers a selection of apps, extensions and stylish browser wallpapers

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?, What is CapCut? Is music on CapCut copyrighted? Let's find out with WebTech360 what you need to know about CapCut!

Why is buying TikTok coins cheaper on PC?

Why is buying TikTok coins cheaper on PC?

Why is it cheaper to buy TikTok coins on PC?, TikTok gives users the option to exchange real money for coins in the app. However, buying TikTok coins on PC is cheap

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?, Zoom is an indispensable remote online learning and working software during the epidemic, but it can be extremely bandwidth-consuming.

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past, EmuOS is a Web interface that simulates basic Windows 3.1, 95, 98, NT operating systems that provide a lot