If you’re running a Windows 10 operating system, the Microsoft-provided PowerShell has become your new default command line interface. This can be replaced with Command Prompt on Windows 7 and 8 by following these simple steps:
1) Right click Start
2) Click on ‘Command Prompt’ which will now appear in the list of programs that appears
The “replace powershell with cmd windows 10” is a tutorial on how to replace Powershell with Command Prompt in Windows.
It’s worth mentioning that Windows 11 has already been installed on a large number of PCs throughout the globe, and we know that users are enjoying this newest Microsoft version.
However, there is one issue with Windows 11 that many Windows users are worried about, and that is the replacement of Command Prompt with Powershell.
Windows Powershell has long since superseded the CMD, as it is affectionately known, and Windows 11 makes this even clearer.
Microsoft is clearly attempting to make Powershell the preferred command-line interface for Windows users, but early Windows users are unable to abandon Command Prompt.
Fortunately, one of our PCs still has Windows 10 installed, and when we right-click on the Start Menu, a context menu appears, with Command Prompt displayed.
When you try the same thing in Windows 11, though, you’ll see that Command Prompt has been replaced with Powershell.
We’ll show you How to use Command Prompt instead of Powershell on Windows 11 on your PC in this article:
How to use Command Prompt instead of Powershell on Windows 11
It is quite easy to replace Powershell with Command Prompt in Windows 10 and you can do so by going to Settings > Personalization > Taskbar.
However, we’re talking about Windows 11, and the issue is that, to this day, there is no straightforward solution to substitute Powershell with Command Prompt.
To modify it, we’ll have to use the Registry Editor’s tinkering approach. Check out the following article for further information:
- To open the Run dialog box, use the Win + R shortcut key on your keyboard.
- Then, to launch the Registry Editor, enter regedit and press Enter.
Regedit
- Now, in your registry editor, copy and paste the following URL.
ComputerHKEY CLASSES ROOTDirectoryBackgroundshellcmd
- Select the CMD folder from the left menu bar, right-click it, and select Permissions from the drop-down menu.
Permissions in Regedit
- Change may be found by clicking on the Advanced button.
Regedit (Advanced)
- Type your username in the “Enter the object name to select” dialog box and click OK. By entering echo percent username% and hitting Enter, you may find your username.
- Double-click Administrator, choose Full Control from the drop-down menu, and then click OK.
- Return to the Registry Editor and pick the CMD folder like we did before.
CMD File Should Be Renamed
- After clicking, look on the right side for a file entitled HideBasedOnVelocityId. Rename it by right-clicking it and adding _bac to the end of the file name.
- This will add the CMD to our Windows 11 context menu, and we’ve merely updated the HideBasedOnVelocityId rather than removing it since deleting it would be too dangerous.
We’ve recently introduced Command Prompt to our Context Menu on Windows 11, thus the first phase of our procedure is now accomplished.
We must now delete the Powershell option from our Windows 11 Context Menu, however this is an optional step. Your work is now complete if you are satisfied with only adding the Command Prompt to your Windows 11 Context Menu.
You must perform the following in order to remove Powershell from your Windows 11 Context Menu:
- As in the last tutorial, open Registry Editor and go to this address:
ComputerHKEY CLASSES ROOTDirectoryBackgroundshellPowershell
PowerShell Regedit
- On the left-hand pane of this location, you’ll find a folder named Powershell. Select Permissions from the context menu by right-clicking on it.
- Change may be found by clicking on the Advanced button. Under the “Enter the Object Name to Select” dialog box, enter your username.
- Double-click Administrator, choose Full Control from the dialog box, then click OK.
- Return to the Registry Editor and Powershell folder where we left off in Step 1 and look at the right-hand pane this time.
Change the name of the PowerShell file
- You’ll notice a file called ShowBasedOnVelocityId; right-click it and choose Rename. _bac should be included at the end.
In PowerShell Regedit, add a new file.
- Right-click on any empty location on the right-side and go to New > DWord (32-bit) Value and name this file as HideBasedOnVelocityId.
- To open this freshly generated file, double-click it and put 639bc8 in the Value Data box. Click OK after selecting Hexadecimal as the foundation.
- That is all there is to it. The Powershell command will be deleted from your Windows 11 Context Menu, leaving just Command Prompt.
Step 3: How to go back to the original settings (if you want)
While we understand that you don’t want to go back to the default after replacing Powershell with Command Prompt in Windows 11, it is still our responsibility to explain how to return to the default state after making these changes.
If you need to revert to default, follow these steps:
- In Registry Editor, go to the following location:
ComputerHKEY CLASSES ROOTDirectoryBackgroundshellcmd
- Remove CMD from your Windows 11 Context Menu by renaming the HideBasedOnVelocityId bac file to HideBasedOnVelocityId.
- To restore Powershell to the Context Menu, navigate to the following location:
ComputerHKEY CLASSES ROOTDirectoryBackgroundshellPowershell
- The Powershell will return in your Windows 11 Context Menu if you rename the ShowBasedOnVelocityId bac file back to ShowBasedOnVelocityId.
This manner, if you have any issues after the adjustments or for any other reason, we may restore to the default configuration.
Conclusion – In Windows 11, Command Prompt should be used instead of PowerShell.
In this post, we’ll show you how to replace Powershell in your Windows 11 Context Menu with Command Prompt.
We’ve also gone above and beyond to teach you how to return to the previous condition if necessary, so you may go on as if nothing occurred.
We hope you found this post helpful, and if you did, please feel free to share it with your friends or anybody else who may be interested in doing the same on their computer.
Frequently Asked Questions
How do I change from PowerShell to command in Windows 11?
A: In Windows, to change from PowerShell to command prompt type cmd and press enter.
How do I change PowerShell to Command Prompt?
A: You can easily change the Windows PowerShell to Command Prompt by typing cmd in the search bar, and hitting enter.
How do I open Command Prompt in Windows 10 instead of PowerShell?
A: To open Command Prompt in Windows 10, go to the Start Menu; find Command Prompt and then click on it.
Related Tags
- windows 10 replace powershell with command prompt group policy
- how to open command prompt instead of powershell in a folder
- command prompt windows 11
- elevated command prompt windows 11
- command-line windows powershell