With the Windows 10 Creators Update Insider Preview Build 14986, the context menu option “Open command window here” is hidden by default, and is replaced by “Open PowerShell window here” entry. Not just that. PowerShell replaces Command Prompt in the Win+X or Power User menu as well. In an earlier post, we saw how to get Command prompt option back in the right-click menu.
This post tells you how to remove the “Open PowerShell window here” option (using a registry edit) if you don’t plan to use it.
Remove Open PowerShell window here context menu entry
Start the Registry Editor (Regedit.exe) and go to:
This key is protected by NTFS permissions by default. First, take ownership of this key and assign your user account full permissions for the key.
Under “Powershell”, create a string value REG_SZ named
ProgrammaticAccessOnly. And leave its value data empty.
ProgrammaticAccessOnly is a special value that hides a context menu entry, but programs can access it if required. Adding this value hides the “Open PowerShell window here” option from the folder context menu in Windows 10.
Additionally, perform the same steps under these two registry keys so that the context menu option is also removed from the right-click menu for Drives and Directory background.
To enable the PowerShell context menu entry again, just delete the ProgrammaticAccessOnly string value from the above locations.
Remove Windows PowerShell from Start button right-click (Win + X) menu
When you right-click on Start button, Windows PowerShell and Windows PowerShell (Admin) appears by default in place of Command Prompt and Command Prompt (Admin), since the Windows 10 Creators Update. You can remove PowerShell entry and bring back Command Prompt to the Win + X menu via Taskbar settings.
Right-click on the Taskbar and click Taskbar Settings. Turn off the setting Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key+X. This brings back Command Prompt option in the Win + X menu
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in Windows — delivering support for Microsoft's consumer products. He has been a Microsoft MVP (2003-2012) who contributes to various Windows support forums.