- Open registry editor.
- Navigate to [su_highlight background=”#eeece9″]Computer\HKEY_CLASSES_ROOT\Directory\Background\shell.[/su_highlight] and now change the permissions for “PowerShell” with the same method you did for Command Prompt.
- After you apply new Permissions for PowerShell, then rename “ShowBasedOnVelocityId” to “HideBasedOnVelocityId” and hit enter.
- After you do all steps properly, you will see that Command Prompt back in file explorer while holing Shift+right-clicking and you have removed PowerShell also from file explorer.
All right we are going to put cmd back like the following screenshot.
Replace PowerShell with CMD
![Replace PowerShell with Command prompt command](https://www.technig.com/wp-content/uploads/2017/09/scs-technig-3.png)
Now, find the following registry path in the Windows, registry editor. See the screenshot that shows the current path.
![Replace PowerShell with CMD in Windows 10 using Windows Registry](https://www.technig.com/wp-content/uploads/2017/09/scs-technig.jpg)
Remember you can scroll down then navigate the directory. You can also copy and paste the address in the address bar and hit enter it will open the directory for you. Don’t forget to look above methods if you face any problem.
![Assign Permission to CMD directory in Windows registry](https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1.jpg)
The above screenshot as you see we are changing the permission of cmd by Right clicks and select permissions. Then in the permission field select administrators and check “Full Control” and click Ok to apply changes.
![Add CMD to Right-click context menu - Technig](https://www.technig.com/wp-content/uploads/2017/09/scs-teching.jpg)
Now Right-click on “HideBasedOnVelocity” and Delete it. Go to file explorer or your desktop hold Shift+right-click to see Command prompt back.
![Add PowerShell to right-click in Windows 10](https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1.png)
But you also see PowerShell. If you want to hide PowerShell, then follow these steps.
Hide PowerShell from Right-Click
You can remove the PowerShell form right-click of your Windows 10 using the following method.
![Remove PowerShell for Windows 10 right-click - Technig](https://www.technig.com/wp-content/uploads/2017/09/scs-technig-2.png)
Navigate where you had changed permission for cmd. This time change permission for Powershell with the same method you did for cmd. After that on the right side, you can see “ShowBasedOnVelocityId” change it to “HideBasedOnVelocityId” hit enter. Now on the desktop test the “Shift+ Right-click” to the result.
![How to replace PowerShell with cmd in windows 10? - Technig](https://www.technig.com/wp-content/uploads/2017/09/scs-technig.png)
That’s all you need to know how to replace PowerShell with CMD in Windows 10. The latest update of Windows 10 automatically replaces the CMD with PowerShell.