🚀 NEW in v2.4.29: 35+ Speed Optimizations added today!Download Now →

Home/Fix/File Associations Broken — Files Open in Wrong Program

How to Fix File Associations Broken — Files Open in Wrong Program on Windows

Double-clicking files opens the wrong program, "How do you want to open this file?" keeps appearing, or file type icons all look the same? Fix broken file associations on Windows 10 and 11.

📖

Main Troubleshooting Guide

How to Fix Microsoft Store Not Working

Complete symptoms, causes, and step-by-step solutions

Symptoms

You might be experiencing this problem if you notice:

  • All file icons changed to blank white icons or generic icons
  • "How do you want to open this file?" prompt for every file
  • Files opening in Notepad, Edge, or the wrong program
  • Setting default program works but resets after reboot
  • .exe files won't run or open in Notepad instead of executing
  • File type associations missing from Settings → Default apps
  • Right-click "Open with" shows no programs or wrong programs

Common Causes

  • Registry UserChoice keys corrupted or missing
  • Malware or unwanted software overwrote file associations
  • Windows Update reset file type mappings
  • Uninstalling a program left orphaned file associations
  • .exe file association corrupted (most critical — programs won't run)
  • Multiple programs competing for the same file type registration
  • User profile corruption affecting HKCU registry hive

Solutions

Solution 1: Fix .exe Files Not Running (Critical)

  1. 1If .exe files won't run or open in Notepad — this is the most urgent fix:
  2. 2Open Command Prompt (if you can): press Win+R → type cmd → Enter
  3. 3Run: assoc .exe=exefile
  4. 4Run: ftype exefile="%1" %*
  5. 5If Command Prompt won't open: create a .reg file from another computer:
  6. 6Content: [HKEY_CLASSES_ROOT\.exe] @="exefile"
  7. 7Copy to the affected PC via USB and double-click to import
  8. 8Restart the computer

Solution 2: Reset File Associations via Settings

  1. 1Open Settings → Apps → Default apps
  2. 2Scroll to the bottom → "Reset all default apps" → click Reset
  3. 3This restores Windows default associations for all file types
  4. 4Then re-set your preferred programs: click each app (Chrome, VLC, etc.)
  5. 5Set it as default for the file types you want
  6. 6Note: This resets everything to Microsoft defaults first

Solution 3: Fix Specific File Type via Registry

  1. 1Press Win+R → type regedit → Enter
  2. 2For a specific file type (e.g., .pdf): navigate to HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf
  3. 3Delete the UserChoice subkey
  4. 4Restart Explorer or the computer
  5. 5Windows will prompt you to choose a program next time you open that file type
  6. 6This clears the corrupted association for that specific extension

Solution 4: Export and Restore Good Associations

  1. 1On a working PC: open Registry Editor
  2. 2Navigate to HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
  3. 3Right-click → Export → save as file-associations.reg
  4. 4Copy the .reg file to the broken PC
  5. 5Double-click to import (note: UserChoice hashes may not transfer between PCs)
  6. 6Better approach: use Microsoft's DISM Default App Association tool for domain environments
  7. 7Run: Dism /Online /Export-DefaultAppAssociations:associations.xml (on working PC)
  8. 8Run: Dism /Online /Import-DefaultAppAssociations:associations.xml (on broken PC)
FIXES THIS IN 5 MINUTES

Fix File Associations Broken — Files Open in Wrong Program Automatically

RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.

Download Now - Free Trial

No credit card required • Works on Windows 10 & 11

Automated Repairs for This Issue

Browse More System & Core Features Guides

Share this:XRedditLinkedInEmail