How to remove items from the right click (context) menu in Windows?
Solution 1
I've written a lengthy explanation of how to clean up a messy context menu, using either the registry editor:
If you want to clean things up the truly geeky way, you can open up regedit.exe through the start menu search or run box, and then browse down to one of the following keys…
Most of the menu items that used for all files and folders can be found by looking at one of these keys:
HKEY_CLASSES_ROOT\*\shell HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers HKEY_CLASSES_ROOT\AllFileSystemObjects\ShellEx
Items that are specific to folders can usually be found in one of these keys instead:
HKEY_CLASSES_ROOT\Directory\shell HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers
You can read more at: How to Clean Up Your Messy Windows Context Menu
Or use some freeware NirSoft tools like ShellMenuView or ShellExView.
Solution 2
- Click Start
- Click Run
- Type in regedit and click ENTER
- Browse to the following:
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers
- You simply delete or export then delete the keys you do not want
There are several "kinds" of menu handlers, however, so you could browse to any of the following and perhaps find stuff you want to get rid of:
HKEY_CLASSES_ROOT\*\OpenWithList
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers
HKEY_CLASSES_ROOT\Directory\Background
HKEY_CLASSES_ROOT\Directory\shell
HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers
HKEY_CLASSES_ROOT\Drive\shell
HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers
HKEY_CLASSES_ROOT\Folder\shell
HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers
Solution 3
To add to the other answers, here are other software that can also edit the Context Menu:
Default Programs Editor - Its UI makes it easy to disable context menu of a specific file type.
MenuMaid - Its UI makes it easy to disable all context menu from a specific program.
Solution 4
Oops. Didn't realize How-To-Geek had it covered. (Not used to the aero look & didn't even realize it was ShellExView.)
Direct link to nirsoft's page for reference, http://www.nirsoft.net/utils/shexview.html.
"ShellExView - Shell Extensions Manager" http://www.nirsoft.net/utils/shexview.html Shell Extensions are in-process COM objects which extends the abilities of Windows operating system. Most shell extensions are automatically installed by the operating system, but there are also many other applications that install additional shell extension components. For example: If you install WinZip on your computer, you'll see a special WinZip menu when you right-click on a Zip file. This menu is created by adding a shell extension to the system. The ShellExView utility displays the details of shell extensions installed on your computer, and allows you to easily disable and enable each shell extension. ShellExView can be used for solving context-menu problems in Explorer environment. For more information, read the following article: Right-click is slow or weird behavior caused by context menu handlers.
Solution 5
If you're running Windows XP, Microsoft has a free utility called Microsoft PowerToys for Windows XP. The specific "PowerToy" that has the remove menu items options is called "TweakUI".
How to edit menu options with TweakUI:
- Download, install and open TweakUI.
- Click on the the "Templates" option on the left hand side.
- Check/uncheck the items you want.
- Bonus: Add other custom items.
Link
Related videos on Youtube
Ben Turner
I work with GPUs on deep learning and computer vision.
Updated on September 17, 2022Comments
-
Ben Turner almost 2 years
The right click (context) menu is minimal and clean on a fresh installation of Windows. Install a bunch of applications and soon the context menu is loaded with all kinds of opening options from various applications.
How do I remove items from the right click (context) menu?
I find that there are different types of right click menu items:
Global items that appear in all context menus.
Items that appear only on folders.
Items that appear only on files.
Items that appear only on special folders (Ex: Right clicking a folder of MP3s shows up a context menu with items like Play with Windows Media Player.)
Items that appear only on certain file types (Ex: Right clicking a MP3 file shows up a context menu with items from Windows Media Player/Foobar2000/VLC/your-favorite-media-player begging to open this file.)
I want to be able to delete all these kinds items from the right click (context) menu.
-
Ivo Flipse almost 15 yearsGosh! I wish I could do the same for right clicks in Firefox... I don't want to loose all addons, but I would wanna loose the options in this sort of way
-
Ben Turner almost 15 yearsThanks Paolo. I find that this still does not remove some options that appear on special folders (filled with MP3s) and does not remove file type specific items.
-
Snark almost 15 years@Ivo: there's the Menu Editor addon for Firefox for this: addons.mozilla.org/en-US/firefox/addon/710
-
Ben Turner almost 15 yearsThat is exactly what I was looking for! My problems are solved now, thanks! :-)
-
Ben Turner almost 15 yearsThanks Frank. TweakUI Templates works only for the New context menu item.
-
Malabarba over 14 yearsIs it windows 7 compatible?
-
Brock Adams almost 10 yearsJust deleting the bad entries in
HKEY_CLASSES_ROOT\Directory\shell
seems adequate for most cases. -
Michael S. over 9 yearsCannot edit items per file extension type. Can only view and remove, not add, see features here: feedback.glarysoft.com/knowledgebase/articles/…
-
vee over 3 yearsHere are some more places where right click menu can be. HKEY_CLASSES_ROOT\Drive\shell HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers HKEY_CLASSES_ROOT\Folder\shell HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers
-
Moab about 3 yearsWill this work for Windows 10?
-
John Strong over 2 yearsHow about the "Open in Read Only" and "Open in Protected View Items"? How do you get rid of those? The Context Menu Handlers key has some opaque items, like GUIDs. Could some of the menu bloat be hiding there?
-
Richard Hardy over 2 yearsWhat about the safety of NirSoft? E.g. here is the following concern: "DLL hijacking vulnerabilities in Nirsoft tools".
-
Admin about 2 years@RichardHardy While there's not much talk since the past 2 years of public disclosure about the aforementioned DLL vulnerabilities within Nirsoft tools, thanks for spreading the word; it'll serve as a reminder to the good folks here at SE.