Remove File Association Windows 10: Easy Fix
To remove a file association in Windows 10, you can use the built-in “Open with” dialog and choose “Look for another app on this PC” to clear the default, or use the Settings app to reset the default app for that file type. This article explains both methods, plus how to use Registry Editor for full control, and answers common questions about stubborn associations.
Background: How Windows 10 Handles File Associations
File associations are the rules that tell Windows which program should open a given file extension (like .txt, .jpg, or .pdf). When you install a new app, it often registers itself as the default for certain file types—sometimes without asking. Windows 10 stores these associations in the registry, under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts and HKEY_CLASSES_ROOT.
There are two layers: the default program for a file type (e.g., always open .pdf with Adobe Reader) and the “Open with” list that shows suggested apps. Removing an association can mean either clearing the default (so Windows asks each time) or deleting the association entirely so it reverts to a built-in handler.
Method 1: Remove Association via Settings (Easiest)
This is the safest way and works for most users. It doesn’t delete the association completely, but it resets it to the Windows default or lets you choose a different app.
- Open Settings (Win + I).
- Go to Apps → Default apps.
- Scroll down and click Choose default apps by file type.
- Find the extension you want to change (e.g., .html).
- Click the current app icon next to it, then select Choose an app or Look for another app on this PC.
- If you want to remove the association entirely, choose Look for another app on this PC and then cancel the dialog. Windows will then show “Choose an app” and will ask you each time you open that file type.
This method doesn’t truly “remove” the association—it just clears the default. If you want to delete the association completely, use the Registry Editor method below.
Method 2: Remove Association via Registry Editor (Advanced)
If you want to completely delete the association so that Windows treats the file type as unknown, you can edit the registry. This is more invasive and should be done with caution.
- Press Win + R, type
regedit, and press Enter. - Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts. - Find the subkey for your extension (e.g.,
.pdf). - Right-click that subkey and select Delete. Confirm the warning.
- Also check
HKEY_CLASSES_ROOT\for the same extension. If you see a key like.pdfthere, you can delete it, but be aware this affects all users and may break system functions for some extensions (like .exe or .dll).
After deleting, restart your computer. Windows will rebuild the association with its built-in handler or ask you to choose a new app.
Warning: Do not delete associations for critical system extensions like .exe, .dll, .sys, or .bat—this can make programs fail to launch.
Method 3: Use “Open With” to Change or Clear Association
For a single file, you can quickly change the association without going into Settings.
- Right-click the file and select Open with → Choose another app.
- Select the app you want, or click More apps to see all options.
- Check the box Always use this app to open .xxx files if you want to set it as default; if you want to remove the association, uncheck it and just open once.
This doesn’t remove the association, but it lets you override it for the current file. To truly remove the default, use Settings or Registry.
How to Choose the Right Method
Choose based on your goal:
- Just change the default app: Use Settings (Method 1). It’s safe and simple.
- Make Windows ask every time: Use Settings and choose “Look for another app on this PC” then cancel. Or use the Registry to delete the association.
- Remove all traces of an association: Use Registry Editor (Method 2) to delete the FileExts key.
- Fix a broken association (like a file that won’t open): Often you can just set a new default app in Settings; no need to delete anything.
If you’re not comfortable editing the registry, stick with Settings. The registry method is only necessary when an association is corrupted or when an app keeps re-asserting itself.
Common Problems and Solutions
Sometimes the association doesn’t stick or keeps reverting. Here are typical issues and fixes:
- App keeps taking over the association: Many apps (like media players or PDF readers) re-register themselves on every launch or update. You can disable this in the app’s settings, or use the registry method to delete the association and then set your preferred app.
- “You’ll need a new app to open this” error: This means there is no association at all. Go to Settings → Default apps → Choose default apps by file type and set one.
- File type not listed in Settings: Some obscure extensions aren’t shown. Use the “Choose default apps by file type” search box or use the “Open with” method on a file of that type.
- Registry edit doesn’t work: Make sure you’re editing the correct hive. The FileExts key is per-user; if you want to affect all users, you need to edit HKEY_CLASSES_ROOT (which is a merged view of HKLM and HKCU). Also, you may need to restart Explorer (Task Manager → Restart) or sign out and back in.
Comparison: Settings vs. Registry vs. Third-Party Tools
Settings is the official, safest route. It’s limited but sufficient for most users. Registry gives you full control but carries risk if you delete the wrong key. Third-party tools like “OpenWith” or “File Association Fixer” can automate the process, but they often require downloading software from the internet, which introduces security risks. For most people, the built-in Settings method is the best balance of safety and effectiveness.
What About the “Open With” Submenu?
The “Open with” submenu (right-click → Open with) shows a list of suggested apps. This list is stored in the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\. If you want to remove an app from that list, you can delete its entry there, but it’s easier to just use the “Choose another app” dialog and uncheck “Always use this app”. The list will gradually update as you use different apps.
Frequently Asked Questions
How do I reset all file associations to default in Windows 10?
Go to Settings → Apps → Default apps and click “Reset” at the bottom. This will restore all file associations to the Windows default (e.g., Edge for HTML, Photos for images). It won’t uninstall any apps, but it will clear your custom choices.
Why can’t I remove a file association in Windows 10?
Some apps (like OneDrive or certain media players) force their association on every launch. You can try disabling that in the app’s settings. If that fails, use the registry method to delete the FileExts key for that extension, then set your preferred app.
Is it safe to delete file associations from the registry?
It’s safe if you only delete the specific extension key under FileExts for a non-critical file type. Deleting keys under HKEY_CLASSES_ROOT for system extensions (like .exe, .dll) can break your system. Always back up the registry before making changes.
How do I make a file open with a program that’s not in the list?
Right-click the file → Open with → Choose another app → More apps → Look for another app on this PC. Navigate to the program’s .exe file and select it. If the program is portable (no installer), this is the way to add it.
Will removing an association delete the file?
No. File associations only tell Windows which program to use; they don’t affect the file itself. Removing an association just means Windows won’t know which app to open it with, and it will ask you.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.