This guide shows you how to add, remove, or edit items in the Windows right-click context menu. You’ll learn both safe methods (using built-in tools and registry edits) and advanced techniques, so you can customize the menu to show only what you use most. Before starting, create a system restore point and back up the registry—this ensures you can undo changes if something goes wrong.
What You’ll Need
- A Windows PC (10 or 11) with administrator access
- Registry Editor (regedit.exe) – built into Windows
- Optional: A third-party tool like ShellExView or Easy Context Menu (free, but not required)
- Basic comfort with editing the Windows Registry
Step-by-Step
Part 1: Removing an Item from the Context Menu
- Press Win + R, type
regedit, and press Enter. Click “Yes” if prompted by User Account Control. - Back up the registry: Click File > Export, choose a location, select “All” under Export range, and save. This is your safety net.
- Navigate to the key that controls context menu items. Most items live under one of these:
HKEY_CLASSES_ROOT\*\shell– for items that appear when you right-click any fileHKEY_CLASSES_ROOT\Directory\shell– for items on folder right-clickHKEY_CLASSES_ROOT\Directory\Background\shell– for items when you right-click a folder’s backgroundHKEY_CLASSES_ROOT\AllFilesystemObjects\shell– for files and folders
- Expand the relevant key and look for a subkey that matches the menu item you want to remove (e.g., “Open with VS Code”).
- Right-click that subkey and select Delete. Confirm the deletion.
- Close Registry Editor. The change takes effect immediately—no restart needed.
Part 2: Adding a Custom Item (e.g., “Open with Notepad”)
- Open Registry Editor as above.
- Navigate to
HKEY_CLASSES_ROOT\*\shell(for all files) orHKEY_CLASSES_ROOT\Directory\shell(for folders). - Right-click on
shell, choose New > Key, and name it something like “Open with Notepad”. - Select the new key. In the right pane, double-click the default value and set it to the text you want to appear in the menu (e.g., “Open with Notepad”).
- Optional: Add a string value named
Iconand set it to the path of an icon file (e.g.,notepad.exe). - Right-click your new key, choose New > Key, and name it
command. - Select the
commandkey, double-click the default value, and enter the full path to the program, followed by"%1"(e.g.,C:\Windows\notepad.exe "%1"). The%1passes the selected file’s path. - Click OK and close the editor. Right-click a file to see your new item.
Part 3: Adding a Submenu (Cascading Menu)
- Follow the steps above to create a new key under
shell, but name it with a prefix likeMyTools(the name before the first backslash becomes the submenu title). - Instead of adding a
commanddirectly, create multiple subkeys under your main key, each with its owncommandsubkey. - For example:
shell\MyTools\Open in Notepad\commandandshell\MyTools\Open in WordPad\command. - Set the default value of the main key to the submenu label (e.g., “Open With”).
- Now right-click a file – you’ll see a “Open With” submenu with your options.
Part 4: Removing “Send To” Items
- Press Win + R, type
shell:sendto, and press Enter. This opens the Send To folder. - Delete shortcuts you don’t want (e.g., “Fax Recipient”). These are just shortcuts, so deletion is safe.
- To add a new destination, create a shortcut in this folder pointing to the target (e.g., a folder or program).
Part 5: Using Third-Party Tools (Easier for Beginners)
- Download a reputable tool like Easy Context Menu (free) or ShellExView (from NirSoft).
- Run the tool as administrator.
- For Easy Context Menu: Check the items you want to add (e.g., “Copy To”, “Move To”) and click “Apply”.
- For ShellExView: It shows all shell extensions; right-click an extension and choose “Disable” to remove it from the menu.
- Restart Explorer (right-click taskbar > Task Manager > Restart) if changes don’t appear immediately.
Common Mistakes
- Deleting the wrong key – Always double-check the key’s path before deleting. Deleting a system key can break functionality.
- Forgetting the quotes around %1 – If the file path contains spaces, the command fails without quotes.
- Editing without admin rights – Registry changes require administrator privileges; otherwise, you’ll get “Access Denied”.
- Not backing up – Skipping the backup can leave you stuck if you make a mistake.
Tips
- To quickly remove many items, use ShellExView and disable extensions rather than deleting them—this allows easy re-enabling.
- For Windows 11, the classic full context menu is hidden behind “Show more options”. To restore the old menu, you can add a registry key:
HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32and set its default value to empty. (This is a known tweak, but use with caution.) - Use the
Extendedsubkey to make an item appear only when you hold Shift and right-click. - Test changes on a non-critical file first.
Troubleshooting
- Change doesn’t appear: Restart File Explorer (Task Manager > Windows Explorer > Restart) or log off and back on.
- “Access Denied” when editing: Ensure you’re running regedit as administrator. Right-click regedit and select “Run as administrator”.
- Item still shows after deletion: Some items come from third-party software or Windows built-in features (like “Print”). For those, use the software’s settings or disable via ShellExView.
- Menu item does nothing when clicked: Check the command path. The program might have moved or the path contains a typo. Also verify the
%1is correct. - Accidentally deleted a system item: Use your registry backup to restore. Double-click the .reg file you exported and confirm.
- Windows 11 shows only “Show more options”: That’s by design. Use the tweak mentioned above to get the full menu directly.
Frequently Asked Questions
Is it safe to edit the Windows context menu?
Yes, if you follow instructions carefully and back up the registry first. Most changes are reversible by deleting the added keys or restoring the backup.
Why do some context menu items not appear in the registry?
Some items are shell extensions managed by third-party software (like Dropbox or WinRAR). They are stored as DLLs and can be disabled using tools like ShellExView.
How do I add a context menu item that works for all file types?
Use the HKEY_CLASSES_ROOT\*\shell key. Anything added there appears for every file type.
Can I add an item that runs a command prompt or PowerShell?
Yes. Create a key under shell and set the command to cmd.exe /k cd /d "%1" or powershell.exe -NoExit -Command "Set-Location -LiteralPath '%1'".
How do I remove the “Edit with Paint 3D” item in Windows 10?
That item is a shell extension. You can disable it via ShellExView or by deleting the registry key under HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\3D Edit.
Will these changes affect other users on the same PC?
Registry changes under HKEY_CLASSES_ROOT affect all users. To make changes only for your user, use HKEY_CURRENT_USER\Software\Classes instead.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Create App Shortcuts in Windows 10 Start Menu
- How to Rename a SQL Server Database
- Fix Google Calendar Not Syncing on iPhone
- Fix Skype Microphone Not Working on Windows
- Google Docs Landscape: Change Page Orientation
- Recover Deleted Admin Account in Windows 11