Windows Context Menu ยท Updated May 2026

How to Add or Remove
Open with in Windows

A practical guide for Windows 10 and Windows 11: add an app to the Open with list, remove unwanted programs from it, hide the Open with context-menu item, and restore it if it is missing.

๐Ÿ“– 9 min read ๐Ÿ–ฅ Windows 10 & 11 ๐Ÿงฉ Context Menu โš ๏ธ Registry Included

What Is the Open with Menu in Windows 10 and Windows 11?

The Open with menu is the Windows File Explorer option that lets you open a file with a different program without permanently changing the file association. For example, you can right-click a .jpg file and open it with Photos, Paint, Photoshop, GIMP, or another image editor.

There are two different things people usually mean when they say they want to add or remove Open with:

Task 01

Add or remove apps inside the Open with list

This changes which programs appear after you click Open with for a specific file type such as .txt, .jpg, .pdf, or .mp4.

Most common
Task 02

Add or remove the Open with command itself

This hides or restores the actual Open with item in the right-click context menu for files.

Registry edit
Task 03

Repair Open with if it is broken or missing

This is useful when the context menu entry disappeared, does nothing, or the app list is corrupted.

Troubleshooting
โ„น๏ธ
Windows 11 Note In Windows 11, the first right-click menu is simplified. If you do not see Open with, click Show more options or press Shift + F10 to open the classic context menu.

Before You Add, Remove, or Restore the Open with Menu

Simple changes through Settings are safe. Registry changes are also straightforward, but you should back up the relevant key first. This lets you undo the change if the menu does not behave as expected.

Create a Restore Point

  1. Press Win + R, type SystemPropertiesProtection, and press Enter.
  2. Select your system drive, usually C:.
  3. Click Create, enter a name such as Before Open with registry edit, and confirm.

Export the Open with Context Menu Registry Key

Open Command Prompt as administrator and run:

Command Promptreg export "HKCR\*\shellex\ContextMenuHandlers\Open With" "%USERPROFILE%\Desktop\open-with-backup.reg"
โš ๏ธ
Important Do not edit UserChoice registry values manually unless you know exactly what you are doing. Modern Windows protects default app associations, and manual edits can be ignored or can break the association for that file type.

How to Add an App to the Open with Menu in Windows

The safest way to add a program to the Open with list is to open a file with that program once. Windows usually remembers the app for that file extension and shows it again later.

Add an App from File Explorer

  1. Right-click a file with the extension you want to configure, for example .txt, .png, .mp4, or .html.
  2. Select Open with.
  3. Click Choose another app.
  4. Select the program from the list. If it is not listed, click More apps or Look for another app on this PC.
  5. Browse to the program's .exe file and open it.
  6. Leave Always use this app unchecked if you only want to add the app to the list without changing the default program.
โœ…
Recommended Use this method first. It does not require administrator rights, does not touch the Registry manually, and is enough for most cases.

How to Add or Change the Default Open with App for a File Type

If your goal is not just to show a program in the menu but to make it the default app, use Default apps in Windows Settings. This is the correct method for Windows 10 and Windows 11.

Windows 11 Steps

  1. Press Win + I to open Settings.
  2. Go to Apps โ†’ Default apps.
  3. In the search field, type the extension, for example .jpg, .pdf, or .txt.
  4. Click the current default app next to the extension.
  5. Choose the new app and click Set default.

Windows 10 Steps

  1. Press Win + I.
  2. Open Apps โ†’ Default apps.
  3. Click Choose default apps by file type.
  4. Find the extension and select the program you want to use.
Best use case: choose this method when double-clicking a file opens the wrong app, or when you want one program to become the permanent handler for a file type.

How to Remove a Program from the Open with List

Windows does not provide a clean graphical interface for removing a single unwanted program from the Open with list. If the app is still installed, Windows may continue suggesting it. If the app was removed or the list contains duplicates, you can clean the per-extension history in the Registry.

Remove Old Open with Entries for One File Extension

  1. Press Win + R, type regedit, and press Enter.
  2. Go to this key, replacing .ext with the real extension, for example .jpg or .txt:
Registry PathHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ext\OpenWithList
  1. Look for values that contain the unwanted program name, such as oldviewer.exe.
  2. Delete only the value that points to the unwanted app.
  3. If the MRUList value contains the deleted letter, update it or delete MRUList so Windows can rebuild the order.
  4. Close Registry Editor and restart File Explorer or sign out and sign back in.
๐Ÿ’ก
Example To clean the list for text files, use .txt. To clean the list for JPG images, use .jpg. Each extension has its own Open with history.

Restart File Explorer After the Change

Open Task Manager, find Windows Explorer, right-click it, and select Restart. You can also run this command:

Command Prompttaskkill /f /im explorer.exe
start explorer.exe

How to Remove the Open with Item from the Right-Click Context Menu

If you want to remove the Open with command itself from the file context menu, use the Registry. This affects the context menu for files and normally requires administrator rights.

โ›”
Be Careful This removes the context menu entry, not just one app inside the list. You will still be able to change default apps through Settings, but the right-click Open with shortcut may disappear.

Manual Registry Method

  1. Press Win + R, type regedit, and press Ctrl + Shift + Enter to run it as administrator.
  2. Go to this path:
Registry PathHKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Open With
  1. Right-click the Open With key and choose Export to save a backup.
  2. Right-click the Open With key again and choose Delete.
  3. Restart File Explorer or restart Windows.

Ready-to-Use .reg File to Remove Open with

Create a text file named remove-open-with.reg, paste the code below, save it, and double-click the file:

remove-open-with.regWindows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Open With]

How to Restore the Open with Menu If It Is Missing

If Open with disappeared from the right-click menu, the context menu handler may be missing or damaged. You can restore it by recreating the default Registry key.

Restore Open with Using a .reg File

Create a file named restore-open-with.reg, paste this content, save it, and run it as administrator:

restore-open-with.regWindows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Open With]
@="{09799AFB-AD67-11d1-ABCD-00C04FC30936}"

Restore Open with Manually in Registry Editor

  1. Open Registry Editor as administrator.
  2. Navigate to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers.
  3. Create a new key named Open With if it is missing.
  4. Double-click the (Default) value inside that key.
  5. Set the value data to {09799AFB-AD67-11d1-ABCD-00C04FC30936}.
  6. Restart File Explorer or restart Windows.
โœ…
Expected Result After the restore, right-click a normal file such as a .txt or .jpg file. The Open with option should appear again in the classic context menu.

Advanced Registry Method: Add a Custom App to Open with

This method is useful for portable programs that do not install normally and therefore do not appear in the Open with dialog. The example below registers a portable editor so Windows can offer it for selected file types.

Register a Portable App Under Applications

Replace MyEditor.exe and the path with your real executable name and folder:

Example .reg FileWindows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\MyEditor.exe]
"FriendlyAppName"="My Editor"

[HKEY_CLASSES_ROOT\Applications\MyEditor.exe\shell\open\command]
@="\"C:\\Tools\\MyEditor\\MyEditor.exe\" \"%1\""

[HKEY_CLASSES_ROOT\Applications\MyEditor.exe\SupportedTypes]
".txt"=""
".log"=""
".md"=""

What Each Registry Part Means

Registry Item Purpose
Applications\MyEditor.exe Registers the executable as an application Windows can show in app selection dialogs.
FriendlyAppName Shows a readable name instead of only the executable filename.
shell\open\command Defines the command used to open the selected file. The %1 parameter means the clicked file.
SupportedTypes Limits the app suggestions to specific extensions, such as .txt, .log, and .md.
โš ๏ธ
Portable Apps If you move the portable program to another folder later, update the Registry path. Otherwise, Windows will show the app but fail to open files with it.

Best Ways to Add, Remove, or Repair Open with in Windows

Use the least invasive method that matches your goal. For normal app selection, use Settings or the File Explorer dialog. Use the Registry only when Windows does not provide a graphical option.

Goal Best Method Admin Required Risk Level
Add an app to Open with Right-click file โ†’ Open with โ†’ Choose another app No Low
Change the default app Settings โ†’ Apps โ†’ Default apps No Low
Remove one stale app from Open with Clean FileExts\.ext\OpenWithList Usually no Medium
Hide the Open with menu item Delete the context menu handler key Yes Medium
Restore missing Open with Recreate the context menu handler key Yes Medium
Add a portable app properly Register it under Applications Depends on location Medium

Frequently Asked Questions About the Open with Menu in Windows

Q Why is Open with missing in Windows 11? โ–ผ
Windows 11 uses a simplified right-click menu. First try Show more options or press Shift + F10. If Open with is still missing in the classic menu, restore the Registry key shown in the restore section of this guide.
Q Can I remove only one app from the Open with list? โ–ผ
Yes, but Windows has no simple button for it. For one extension, clean the matching OpenWithList key under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts. Be careful not to delete the whole extension key unless you want Windows to rebuild all user choices for that file type.
Q Does removing Open with delete any programs? โ–ผ
No. Removing the Open with context menu handler only hides that menu command. It does not uninstall apps, delete files, or remove default app associations.
Q Why does an uninstalled program still appear in Open with? โ–ผ
Windows may keep old per-extension history under FileExts. Remove the stale executable name from the relevant OpenWithList key, then restart File Explorer.
Q Should I delete OpenWithProgids? โ–ผ
Usually no. OpenWithProgids is used to associate file types with application ProgIDs. Deleting it can remove useful app suggestions for a file type. If you only want to remove a stale app from the visible list, start with OpenWithList instead.
Q Do I need to reboot after changing the Open with menu? โ–ผ
A full reboot is not always required. In many cases, restarting Windows Explorer from Task Manager is enough. If the menu does not update, sign out and sign back in or restart Windows.

Final Thoughts

For everyday use, the best way to add an app to Open with is still the normal File Explorer dialog. To change the permanent default app, use Settings โ†’ Apps โ†’ Default apps. Registry editing is only necessary when you need to remove stale entries, hide the Open with command completely, or restore it after it has disappeared.

Before deleting Registry keys, export a backup. With a backup and the restore snippet above, you can safely customize the Open with menu without reinstalling Windows or resetting all file associations.