How to Add or Remove Options from Context Menus in Windows
In this tutorial, we'll tell you how to add new entries/options in context menus (right-click menu) or remove existing entries from context menus in Windows OS. The method will work for all Windows versions.
METHOD 1: Adding New Entry in Context Menu
Type regedit in RUN dialog box or Start searchbox and press Enter. It'll open Registry Editor, now go to following keys:
HKEY_CLASSES_ROOT\* (for adding an option in All files context menu)
HKEY_CLASSES_ROOT\Directory (for adding an option in folders context menu only)
HKEY_CLASSES_ROOT\Drive (for adding an option in Drives context menu only)
HKEY_CLASSES_ROOT\Unknown (for adding an option in unknown files context menu)
Now under the above mentioned keys, you'll find "Shell" and "Shellex" keys. Both keys contain various entries, which are displayed when you right-click on a file, folder or drive. We'll use "Shell" key in this tutorial:
- Right-click on the "Shell" key and select "New -> Key".
- Give it any name. Suppose we gave it name "vishal".
- Now in right-side pane, double-click on "Default" String value and set its value to the Label which you want to display in context menu. Like if you want to add "Winamp" in context menu, then you can give it name "Open with Winamp" or similar.
- Now create another key under this newly created key "vishal" with the name "command" and in right-side pane set value of "Default" to the path of application. For ex, for winamp you can set its value "%programfiles%\Winamp\winamp.exe".
That's it. Now you'll get the new option in context menu.
A Few Important Points to Remember:
1. If you add just the path in "Command", then it'll open the application but if you append "%1" (without quotes) in the path, then it'll open the selected file with the application. So in case of setting the value to "%programfiles%\Winamp\winamp.exe", set it "%programfiles%\Winamp\winamp.exe %1" and now it'll open the file in winamp.
2. Step 3 can be omitted and you can assign the application name directly to the new key. i.e., either set "Default" String value to the name of application or directly set the key name to application name. e.g. instead of setting the key name to "vishal", you can directly set its name to "Winamp", in this case leave the "Default" as it is.
3. With the help of this tutorial, you can add application shortcuts in any filetype context menu. e.g., if you like to play with "*.txt" file context menu, then go to:
so you can follow this tutorial for any filetype.
You can check out following exclusive article which contains links of several useful tutorials which will help you in adding options in files, folders, drives and Desktop context menus:
METHOD 2: Removing Entry from Context Menu
The same above mentioned method will apply for removing entries from context menu. You just need to go to the keys mentioned in STEP 1 and then under "Shell" or "Shellex\ContextMenuHandlers" keys, you'll find sub-keys related to the option which you want to remove from context menu. Delete that sub-key and it'll immediately remove the associated option from the context menu.
Other similar articles that may interest you
- Download Awesome Glass Theme for RocketDock
- How to Get “Up” Button and Titlebar Text and Icon Back in Windows Vista and 7 Explorer?
- Download “Nero Kwik Media”, Free Disc Burning Software from Nero
- [SHAREit Tip] Disable Transfer Experience Improvement Program to Improve Privacy
- [Tip] Create Portable Version of Opera Browser and Opera Mail for USB Drives
- Start Menu Will Make a Comeback in Next Windows Version