The quickest way to add a program to your right-click menu

You can add any program to your Windows 11 right-click menu by editing the Windows Registry, which is the database where Windows stores system settings. The Registry method works for any program and takes about five minutes once you know the steps. If you want to avoid the Registry entirely, you can also use third-party tools like ShellExView or ContextEdit, which provide a graphical interface instead of text editing.

The Registry approach is more direct and doesn't require downloading anything. You'll need the full file path to your program (for example, C:\Program Files\VLC\vlc.exe) and a program name you want to display in the menu. Windows won't break if you make a mistake in the Registry — you can undo changes by restarting or using the undo function — but it's worth backing up your Registry first if you're new to editing it.

Key Takeaways

  • The Registry Editor method requires you to navigate to HKEY_CLASSES_ROOT\*\shell, create a new key with your program's name, and point it to the program's file location.
  • You must know the exact file path to your program, which you can find by right-clicking the program's shortcut, selecting Properties, and copying the path from the Target field.
  • After editing the Registry, you may need to restart File Explorer (or restart your computer) before the new menu item appears.
  • Third-party tools like ShellExView let you add programs to the right-click menu without touching the Registry, though they require installation.
  • Right-click menu items you add only appear when you right-click files in File Explorer, not on the desktop or inside applications.

How to add a program using the Registry Editor

Open the Registry Editor by pressing Windows key + R, typing regedit, and pressing Enter. Windows will ask for permission to make changes — click Yes. The Registry Editor window will open showing a tree of folders on the left side.

Navigate to HKEY_CLASSES_ROOT by clicking the arrow next to it to expand the folder. Then find and click the arrow next to * (a single asterisk). Inside that folder, right-click on shell and select New > Key. Name this new key whatever you want the program to be called in your right-click menu — for example, Open with VLC or Compress with 7-Zip.

Click on your newly created key to select it. On the right side of the Registry Editor, right-click in the empty space and select New > String Value. Leave the name as Default and set the value to the exact same name you gave your key. Then right-click in the empty space again, select New > Key, and name it command.

Click on the command key you just created. On the right side, right-click and select New > String Value. Leave the name as Default and set the value to the full file path of your program, followed by a space and "%1". For VLC, this would look like: C:\Program Files\VLC\vlc.exe "%1". The "%1" tells Windows to pass the file you right-clicked to the program.

Finding the correct file path for your program

The file path is the most important part — if it's wrong, the menu item won't work. The easiest way to find it is to locate the program's shortcut on your computer, right-click it, and select Properties. In the Properties window, look at the Target field, which shows the full path. Copy this entire path and paste it into your Registry entry.

If you can't find a shortcut, you can search for the program's executable file directly. Press Windows key + S to open Search, type the program name followed by .exe (for example, vlc.exe), and look through the results. Right-click the program file, select Properties, and copy the path from the Location field at the top of the window.

For programs installed in the default location, the path usually starts with C:\Program Files or C:\Program Files (x86). Some programs store their executable in a subfolder, so the full path might be C:\Program Files\ProgramName\bin\program.exe rather than just C:\Program Files\ProgramName\program.exe. Copy the entire path exactly as it appears, including all backslashes and the .exe extension.

Restarting File Explorer to see your changes

After you close the Registry Editor, your new right-click menu item may not appear immediately. The fastest way to make it show up is to restart File Explorer. Press Ctrl + Shift + Esc to open Task Manager, find Windows Explorer in the list, click it, and select Restart at the bottom of the window.

If restarting File Explorer doesn't work, restart your entire computer. Some Registry changes require a full restart to take effect. After restarting, open File Explorer, right-click any file, and scroll down to see if your new program appears in the context menu.

Using ShellExView as an alternative to Registry editing

ShellExView is a free tool from Nirsoft that lets you manage right-click menu items without opening the Registry Editor. Download it from the Nirsoft website, run the executable file (no installation required), and you'll see a list of all the items currently in your right-click menus. You can disable items by unchecking them or add new ones by creating entries manually.

To add a program with ShellExView, look for an existing entry in the list, right-click it, and select Edit Selected Item to see how the Registry structure works. Then you can create a new entry by understanding the pattern. ShellExView is useful if you're uncomfortable with the Registry Editor, though it requires more steps than direct Registry editing once you're familiar with the process.

ContextEdit is another graphical alternative that works similarly. Both tools are free and portable, meaning you can run them without installing anything on your computer.

Troubleshooting when your program doesn't appear

If you've added a program to the Registry but it doesn't show up in your right-click menu, the most common cause is an incorrect file path. Double-check that the path in your Registry entry matches exactly what you see in the program's Properties window, including capitalization and spacing. Windows file paths are not case-sensitive, but extra spaces or missing backslashes will break the entry.

Another common issue is that you've added the entry to the wrong Registry location. Make sure you're editing HKEY_CLASSES_ROOT\*\shell, not a different branch. The asterisk (*) means the menu item will appear for all file types. If you want the program to appear only for specific file types (like only for image files), you would edit a different location, such as HKEY_CLASSES_ROOT\.jpg\shell for JPEG files.

If File Explorer still doesn't show your new menu item after restarting, try restarting your computer entirely. Some Registry changes don't take effect until a full restart. You can also try right-clicking different file types — sometimes the menu item only appears for certain file types depending on how you set it up.

Removing programs from your right-click menu

To remove a program you've added to the right-click menu, open the Registry Editor again, navigate back to HKEY_CLASSES_ROOT\*\shell, right-click the key with your program's name, and select Delete. Confirm the deletion, close the Registry Editor, and restart File Explorer or your computer.

If you used ShellExView to add the program, you can remove it by finding the entry in the list, right-clicking it, and selecting Delete Selected Item. This is often simpler than using the Registry Editor if you're not comfortable navigating the Registry manually.

Frequently Asked Questions

Can I add multiple programs to the right-click menu at once?

Yes. You create a separate Registry key for each program you want to add, following the same steps. Each key gets its own name (like "Open with VLC", "Open with Notepad"), and each one points to a different program's file path. You can add as many as you want, though a very long right-click menu becomes difficult to use.

Will adding programs to the right-click menu slow down my computer?

No. Right-click menu items don't run in the background — they only load when you right-click a file. Adding a few programs to the menu has no measurable impact on performance.

What if I accidentally delete something in the Registry?

You can undo recent changes by pressing Ctrl + Z in the Registry Editor, or by restarting your computer (changes you haven't saved won't stick). If you're worried about making mistakes, right-click the Registry folder you're about to edit, select Export, and save a backup file. You can restore from this backup later if needed.

Can I add a program to the right-click menu on the desktop instead of in File Explorer?

The method described here only works for right-clicking files in File Explorer. Desktop right-click menus are controlled by a different Registry location (HKEY_CLASSES_ROOT\DesktopBackground\shell), and the process is similar but the location is different.

Do I need administrator permissions to edit the Registry?

Yes. When you open the Registry Editor, Windows will ask for permission. You need to be logged in as an administrator or know an administrator's password to proceed. If you're on a work computer, your IT department may have restricted Registry access.