The quickest way to add a program to your right-click menu
You can add a program to Windows 11's right-click menu by editing the Registry — a database where Windows stores system settings — or by creating a shortcut in a specific folder. The Registry method is faster if you know the exact file path to the program. The folder method is safer if you are not comfortable editing the Registry, though it takes a few more steps.
Both methods work permanently. Once you add the program, it stays in your right-click menu until you remove it. You do not need to restart Windows or install anything extra.
Key Takeaways
- The Registry method adds a program to your right-click menu in under five minutes if you have the program's file path.
- The folder method is safer and does not require editing the Registry, but takes longer and only works for certain file types.
- You can remove any program from the right-click menu by deleting the Registry entry or the shortcut folder.
- Windows 11 stores right-click menu items in two places: the Registry (for all file types) and a specific folder (for specific file types like images or text files).
Adding a program using the Registry Editor
Open the Registry Editor by pressing Windows key + R, typing regedit, and pressing Enter. Click Yes when Windows asks for permission. The Registry Editor window opens.
Navigate to this location by clicking the folder icon next to the address bar at the top and pasting this path: HKEY_CLASSES_ROOT\*\shell. This folder controls what appears when you right-click any file. If you want the program to appear only when you right-click a specific file type (like images), replace the asterisk with the file extension — for example, HKEY_CLASSES_ROOT\.jpg\shell.
Right-click the shell folder, select New, then Key. Name the new key whatever you want the menu item to say — for example, Open with Notepad. Press Enter. Right-click your new key, select New, then String Value. Name it Icon and set the value to the path of an icon file if you want a custom icon. If you skip this step, Windows uses a generic icon.
Right-click your key again, select New, then Key, and name it command. Click the command key. In the right panel, double-click (Default) and paste the full file path to your program, followed by "%1" — for example, C:\Program Files\Notepad++\notepad++.exe "%1". The "%1" tells Windows to pass the file you right-clicked to the program. Click OK and close the Registry Editor.
Test it by right-clicking any file. Your program should appear in the menu.
Adding a program using the shell folder (safer method)
Open File Explorer and navigate to C:\Users\[Your Username]\AppData\Roaming\Microsoft\Windows\SendTo. Replace [Your Username] with your actual Windows username. If you do not see the AppData folder, press Ctrl + H to show hidden files.
Right-click in the empty space, select New, then Shortcut. Windows asks you to enter the location of the item. Paste the full file path to your program — for example, C:\Program Files\Notepad++\notepad++.exe. Click Next. Name the shortcut whatever you want it to say in the menu — for example, Open with Notepad++. Click Finish.
This method adds your program to the Send to submenu, which appears when you right-click a file. It is less cluttered than the main right-click menu but takes one extra click to reach. If you want the program on the main menu instead, use the Registry method.
Finding the correct file path for your program
You need the exact file path to make either method work. Right-click the program's shortcut on your desktop or in the Start menu, select Open file location. A File Explorer window opens showing the actual program file. Right-click the program file, select Properties, and look at the Location field at the top. Copy the full path shown there.
If the program is installed in Program Files or Program Files (x86), the path usually starts with C:\Program Files\ or C:\Program Files (x86)\. If you installed the program in a custom location, the path will be different. Paste the path into a text editor and save it so you have it ready when you need it.
Removing a program from your right-click menu
If you used the Registry method, open the Registry Editor again, navigate to HKEY_CLASSES_ROOT\*\shell, right-click the key you created, and select Delete. The program disappears from your right-click menu when ready.
If you used the SendTo folder method, open File Explorer, navigate to C:\Users\[Your Username]\AppData\Roaming\Microsoft\Windows\SendTo, right-click the shortcut you created, and select Delete. It is removed from the Send to menu right away.
When the Registry method does not work
If your program does not appear after you add it to the Registry, the file path is usually wrong. Double-check that the path points to the actual program file, not a folder. The path should end with .exe. If the path contains spaces, make sure it is enclosed in quotation marks — for example, "C:\Program Files\My Program\program.exe" "%1".
Some programs install in unusual locations or use launcher files instead of direct executables. If you are not sure which file to point to, search online for the program name plus "file path" or "installation location". You can also try right-clicking the program's shortcut, selecting Properties, and looking at the Target field — that shows the exact file Windows launches when you click the shortcut.
Frequently Asked Questions
Can I add multiple programs to my right-click menu?
Yes. Repeat the Registry method for each program you want to add. Each one becomes a separate menu item. If you add too many, the menu becomes long and slow to load, so most people keep it to three or four programs they use frequently.
Will adding programs to the right-click menu slow down Windows?
No. Each menu item is just a Registry entry or a shortcut file. Windows loads them only when you right-click, and the delay is not noticeable unless you add dozens of programs.
Can I add a program to the right-click menu for only certain file types?
Yes, using the Registry method. Instead of navigating to HKEY_CLASSES_ROOT\*\shell, navigate to HKEY_CLASSES_ROOT\.[file extension]\shell — for example, .txt for text files or .jpg for images. The program then appears only when you right-click that file type.
What if I accidentally delete the wrong Registry key?
Press Ctrl + Z when ready in the Registry Editor to undo the deletion. If you have already closed the Registry Editor, you can restore the key by using System Restore, but that rolls back all Registry changes from that date. It is safer to be careful when deleting and to test changes on a file you do not need before using them on important files.