Skip to main content

How to Clean Up Your Messy Windows Context Menu

One of the most irritating things about Windows is the context menu clutter that you have to deal with once you install a bunch of applications. It seems like every application is fighting for a piece of your context menu, and it’s not like you even use half of them.
Today we’ll explain where these menu items are hiding in your registry, how to disable them the geeky way, and an easier cleanup method for non-geeks as well.
image
Either way, your context menu won’t look like this one anymore…
Cleaning the Context Menu by Hacking the Registry
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… sadly the context menu items are not stored in a single location.
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
The context menu items found at these different locations will need to be handled differently, and we’ll explain how, so keep reading!
Dealing with “shell” Items
Let’s take a look at one item as an example… if you browse down to the shell key under Directory you’ll see the items for Add to VLC media player and Play with VLC. Items under the regular “shell” key are usually really easy to spot, and easy to deal with.
image
If you want to hide one of these items so that you’ll have to Shift+Right-Click, then you can add a new string value on the right-hand side and name it “Extended” like you can see below:
  image
If you’d like to disable it instead, but don’t want to delete the key, you can add a new string value and call it “LegacyDisable”.
image
And of course, you could just delete the whole key if you really wanted to… but I’d export a copy just in case.
Dealing with “shellex” Items
You probably noticed the other registry keys above that have “shellex” (Shell Extension) in the name instead of just “shell”. Those types of keys will need to be handled differently… for an example, we’ll head down to one of the keys mentioned above:
HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers
These items will be a little more tough to decipher… but you can usually figure out an item by the key name on the left, and then just modify the (Default) value by putting a few dashes in front of it, which will disable the item without actually deleting anything.
In this example, I’ve clicked on 7-ZIP on the left, and by putting dashes in front of the value data I’ve disabled that menu item.
image
You’ll want to go through each location in the list at the top of this article until you figure out where exactly the offending items are located. At that point, you can use one of the tricks we mentioned in order to disable that item.
Dealing With Specific File Type Items
Sometimes, although not often, the menu items are located on the registry key for a specific file type. In that case you’ll need to first locate the file extension key by looking under HKEY_CLASSES_ROOT for that extension, which will tell you the name of the key that you need to look for.
For instance, if I wanted to remove a menu item for Excel documents (.xls) I would look at this registry key, which gives me the name of the actual key to look under…
HKEY_CLASSES_ROOT\.xls
image
As you can see above, the actual type of the file is “Excel.Sheet.8″, so I’ll then browse down to this registry key:
HKEY_CLASSES_ROOT\Excel.Sheet.8\shell
image
And now I can use the same techniques as above to disable items under “shell”… remember LegacyDisable and Extended? Yep, those work here.
Cleaning Up the Context Menu the Easy Way
Instead of hacking the registry, you can use two different NirSoft utilities to clean up the context menu. Sadly, some of the menu items are implemented as Explorer shell extensions (like the “shellex” keys we explained above), and some are implemented as regular context menu items (like the regular “shell” keys we explained above).
The first tool we will check out is ShellMenuView, which allows us to manage all of those “shell” key items with an easy to use interface.
Just browse down until you find the offending item, then click the Disable button… which will actually create a LegacyDisable key just like we explained in the manual section above.
image
You’ll see that those items are instantly disabled:
image
Next, we need to disable those “shellex” or Shell Extensions, using another great Nirsoft utility appropriately called ShellExView. This one works the same exact way as the first utility… just click on the Disable button to remove the items.
image
After using both of these utilities for just a few minutes, I was able to get my context menu back to the pristine “new install” state. 
image
Go forth, and clean your context menu clutter! And yes, this works the same in all versions of Windows.
Download ShellExView from nirsoft.net
Download ShellMenuView from nirsoft.net

Comments

Popular posts from this blog

Creating NLB Cluster Windows 2008 Server

Creating an NLB Cluster There are three key steps to creating an NLB cluster in Windows Server 2008: Install the NLB Feature into Server 2008 on each host that you will add to an NLB cluster. Use the New Cluster wizard to create the cluster and add the first host. Use the Add Host wizard to add one ore more nodes to your cluster Installing NLB in Server 2008 This is extremely easy. First you run Server Manager, and select Features from the tree and click on Add Features: From the Add Features wizard just select Network Load Balancing and click Next: Finally from the Confirm Installation Selections click Install: After a few seconds, NLB will be installed on the first host. You need to repeat this installation on each host you plan to add to your NLB Cluster. Installing the NLB feature does NOT require a reboot, but removing it does. Creating your NLB Cluster Once NLB is installed, you create your cluster by first bringing up the NLB Cluster Manager: The right c...

Use Portable VirtualBox to Take Virtual Machines With You Everywhere

Install Portable VirtualBox to an External Drive First, get started by downloading the Portable VirtualBox installer from vbox.me . Run the downloaded file and extract it to an external drive or wherever else you want to store your portable VirtualBox system. You can always move it later, if you like. Launch the Portable-VirtualBox.exe program from here and you’ll be prompted to download and install VirtualBox’s program files on your external drive. The tool can automatically download VirtualBox’s files for you. After it does, click the OK button to unpack them. If the full version of VirtualBox is already installed on your computer, you won’t see this screen and VirtualBox will just open instead. You’ll want to uninstall VirtualBox first or set this up on a computer without VirtualBox installed. Launch the program again after it finishes unpacking files. After you agree to a UAC prompt , you’ll see the standard VirtualBox window. A VirtualBox system tray icon...