How to Fix File Associations Broken on Windows
Files opening with the wrong program or "How do you want to open this file?" appearing for everything? Fix broken file type associations on Windows.
📖
Main Troubleshooting Guide
How to Fix Windows Update Errors →Complete symptoms, causes, and step-by-step solutions
Symptoms
You might be experiencing this problem if you notice:
- •All files show generic white icons
- •"How do you want to open this file?" for every file type
- •Images open in Paint instead of Photos
- •.txt files open in wrong editor
- •File associations reset after every restart
- •Can't change default program for a file type
Common Causes
- âš UserChoice registry entries corrupted
- âš Windows Update reset file associations
- âš Program uninstalled without cleaning up associations
- âš Malware changed all file associations
- âš System file corruption affecting the association database
- âš Conflicting default program settings
Solutions
Solution 1: Reset File Associations via Settings
- 1Go to Settings > Apps > Default apps
- 2Scroll to the bottom and click "Reset" next to "Reset all default apps"
- 3This resets everything to Microsoft defaults
- 4Then set your preferred apps one by one
- 5Search for the file type (e.g., .pdf) and choose your app
Solution 2: Fix via Right-Click "Open With"
- 1Find a file with the wrong association
- 2Right-click > Open with > Choose another app
- 3Select the correct program
- 4Check "Always use this app to open .[ext] files"
- 5Click OK
- 6Repeat for each broken file type
Solution 3: Fix via Command Prompt
- 1Open Command Prompt as Administrator
- 2To see current association: assoc .pdf
- 3To see which program handles it: ftype acrobat
- 4To reset a file type: assoc .pdf=acrobat
- 5For a full reset of all associations: run DISM /Online /Cleanup-Image /RestoreHealth
- 6Then sfc /scannow to repair system files
FIXES THIS IN 5 MINUTES
Fix File Associations Broken Automatically
RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.
Download Now - Free TrialNo credit card required • Works on Windows 10 & 11