How to remove items from the right click (context) menu in Windows?

54

24

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.

Ashwin Nanjappa

Posted 2009-07-16T08:08:17.510

Reputation: 8 705

Answers

43

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.

alt text

The How-To Geek

Posted 2009-07-16T08:08:17.510

Reputation: 5 482

That is exactly what I was looking for! My problems are solved now, thanks! :-) – Ashwin Nanjappa – 2009-09-11T05:19:50.820

Is it windows 7 compatible? – Malabarba – 2009-10-09T06:43:02.810

16

From here:

  1. Click Start
  2. Click Run
  3. Type in regedit and click ENTER
  4. Browse to the following: HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers
  5. 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 

Paolo Bergantino

Posted 2009-07-16T08:08:17.510

Reputation: 2 809

Just deleting the bad entries in HKEY_CLASSES_ROOT\Directory\shell seems adequate for most cases. – Brock Adams – 2014-07-08T13:55:14.370

Gosh! 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 – Ivo Flipse – 2009-07-16T10:13:49.503

Thanks 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. – Ashwin Nanjappa – 2009-09-11T02:52:04.830

2

@Ivo: there's the Menu Editor addon for Firefox for this: https://addons.mozilla.org/en-US/firefox/addon/710

– Snark – 2009-09-11T03:33:32.343

2

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.

therube

Posted 2009-07-16T08:08:17.510

Reputation: 1 296

2

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:

  1. Download, install and open TweakUI.
  2. Click on the the "Templates" option on the left hand side.
  3. Check/uncheck the items you want.
  4. Bonus: Add other custom items.

Link

user10775

Posted 2009-07-16T08:08:17.510

Reputation: 121

Thanks Frank. TweakUI Templates works only for the New context menu item. – Ashwin Nanjappa – 2009-09-11T05:21:41.440

2

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.

galacticninja

Posted 2009-07-16T08:08:17.510

Reputation: 5 348

1

To do this, I use Glary Utls:

Glary Utilities is the #1 free, powerful and all-in-one utility in the world market! It offers numerous powerful and easy-to-use system tools and utilities to fix, speed up, maintain and protect your PC.

alpha1

Posted 2009-07-16T08:08:17.510

Reputation: 1 638

Cannot edit items per file extension type. Can only view and remove, not add, see features here: http://feedback.glarysoft.com/knowledgebase/articles/457811-context-menu-manager

– Michael S. – 2015-02-19T11:21:29.333