Restore File Type Associations in Windows 11
In this article
Yes, you can restore file type associations in Windows 11 by resetting them through Settings or using Command Prompt. This fixes issues where apps no longer open the right file types—like photos opening in a text editor or PDFs not launching at all. Before starting, ensure you know which app should open each file type and that it’s installed.
What You'll Need
- Admin access to your Windows 11 account
- The correct app installed for the file type (e.g., Adobe Reader for PDFs)
- Optional: a system restore point (recommended before major changes)
Step-by-Step
- Press Windows + I to open Settings. Navigate to Apps > Default apps.
- Scroll down and click Set defaults by file type. This opens a full list of file extensions like .pdf, .jpg, .mp4, etc.
- Look for the file type that’s not opening correctly. Click the current app listed beside it (e.g., “Photos” for .jpg).
- A pop-up will show available apps. Choose the correct one. If it’s not listed, click Look for an app in the Microsoft Store or Choose another app on this PC.
- If selecting “Choose another app,” browse to the app’s .exe file. For example, for PDFs, go to
C:\Program Files\Adobe\Acrobat Reader\Reader\AcroRd32.exe. - Repeat for each misassociated file type. After updating, close Settings.
- Alternatively, to reset all file associations at once, go back to Settings > Apps > Default apps. Scroll to the bottom and click Reset under “Reset to Microsoft recommended defaults.”
- To use Command Prompt: Press Windows + S, type cmd, right-click Command Prompt, and select Run as administrator.
- In the Command Prompt window, type
dism /online /cleanup-image /restorehealthand press Enter. This repairs system files that may affect associations. - Next, type
sfc /scannowand press Enter. This scans and repairs corrupted system files that might be causing the issue. - After both commands finish, restart your PC. File associations should now follow default settings or what you manually assigned.
Common Mistakes
Users often skip verifying the correct app is installed before resetting associations. For example, trying to set .ai files to open in Illustrator without having it installed causes the setting to fail. Another mistake is clicking “Always ask” without realizing it disables automatic opening, leading to constant prompts. Some users also reset all defaults without checking individual file types first, which can undo custom preferences. Finally, editing file associations without admin rights may not save changes, especially in work or school accounts with restrictions.
Tips
Before making changes, write down your current preferred apps for common file types. This helps if a reset goes too far. Use the “Choose another app on this PC” option carefully—always select the main .exe, not a shortcut. For apps not listed, ensure they’re registered properly; reinstalling the app can help. If you frequently switch apps, consider using third-party tools like Default Programs Editor, but only from official sources. Regularly run sfc /scannow to prevent corruption-related issues.
Troubleshooting
If file types still won’t open correctly after resetting, first restart your PC—some changes require a reboot. If the problem persists, check for Windows updates: go to Settings > Windows Update and install any pending updates. If a specific app still won’t claim its file type, reinstall that app. For system-wide issues, run the Deployment Image Servicing and Management (DISM) tool again. If associations reset after every reboot, your user profile may be corrupted—create a new local user account and test there. As a last resort, use System Restore: go to Settings > System > Recovery, and select “Go back.” This reverts your system to a point before the issue started, but does not affect personal files.
Frequently Asked Questions
Why did my file associations change suddenly?
Windows updates, app installations, or malware can reset or override file associations. Some apps automatically set themselves as default during install.
Can I restore associations without admin rights?
Basic changes in Settings may work, but full repairs like sfc /scannow require admin access. On managed devices, contact your administrator.
Why doesn’t my preferred app appear in the list?
The app may not be registered with Windows. Try reinstalling it. Some portable apps don’t register file types automatically.
Does resetting defaults delete any files?
No. Resetting file associations only changes which app opens a file type. Your files remain safe.
Can I back up my file associations?
Windows doesn’t offer a built-in backup, but third-party tools like Default Programs Editor can export settings. Use them cautiously.
Will this fix apps not opening at all?
Not always. If an app crashes or won’t launch, the issue may be with the app itself. Reinstall or update it separately.