Add to favourites
News Local and Global in your language
19th of January 2018

Internet



How to Remove 'Open PowerShell' from Windows 10 Context Menu

In an earlier post, we walked through the steps to add the ‘Open command window here’ option to the right-click context menu in Windows 10 and why this option is hidden by default. This post illustrates the method of removing ‘Open PowerShell window here’ option from right-click context menu in Windows 10, and the method for removing the 'Open PowerShell window here' option from the context menu in the desktop folder menu.

Removing ‘PowerShell window here’ Option from Context Menu of Folder

Step One: Press windows key + R from the keyboard to open the run command. Type regedit and hit enter from the keyboard to open the registry.

Step Two: Go to the following location in the registry.

HKEY_CLASSES_ROOT\Directory\shell\Powershell

Step Three: In the registry, right-click Powershell and then click Permissions.

Step Four: In ‘Permissions for Powershell window’, click Advanced.

Step Five: Click the ‘Change’ link located at the top of the window.

Step Six: Type your account name and click ‘Check Names’ to verify it. Click OK when you are done.

Step Seven: Check ‘Replace owner on subcontainers and objects’. Click Apply and then OK.

Step Eight: In ‘Permissions for Powershell window’, select administrator group. Check Allow for ‘Full Control’ option. Click Apply and then OK.

Step Nine: In Powershell subkey, create a new string value called ProgrammaticAccessOnly. (To do thisL Right-click the right window, New -> String Value. Type the name and hit Enter from the keyboard).

That’s it. You won’t see ‘Open PowerShell window here’ option in the context menu when you press shift and then right-click any folder.

Removing ‘Open PowerShell window here’ Option from Context Menu of the Background and Desktop Folder

Step One: Press windows key + R from the keyboard to open Run command. Type regedit and hit Enter from the keyboard to open the registry.

Step Two: Go to the following location in the registry.

HKEY_CLASSES_ROOT\Directory\Background\shell\Powershell

Step Three: Right-click the PowerShell subkey, then click Permissions.

Step Four: In the ‘Permissions for Powershell’ window, click Advanced.

Step Five: Click the ‘Change’ link located on top of the window.

Step Six: Type your user account name and then click ‘Check Names’ to verify it. When you are done, click OK.

Step Seven: Check ‘Replace owner on subcontainers and objects.’ Click Apply and then OK.

Step Eight: In ‘Permissions for Powershell’ window, select Administrators group. Check ‘Allow’ for ‘Full Control’ option. Click Apply and then OK.

Step Nine: In Powershell subkey, create a new string value. (To do thisL Right-click the right window, New -> String Value).

Step Ten: Type ‘ProgrammaticAccessOnly’ and then hit Enter from the keyboard.

That was the final step. When you press shift and then right-click the desktop or folder background, you won’t see any option ‘Open PowerShell window here’ in the context menu.

Read More




Leave A Comment

More News

Latest ITProPortal news

TechRadar: Internet news

Dev Pro

ExtremeTech » Internet

Disclaimer and Notice:WorldProNews.com is not the owner of these news or any information published on this site.