How to Fix Broken EXE File Associations with Regedit
When executable (.exe) file associations become corrupted in Windows,
double-clicking any program or setup file fails to run or opens an
incorrect application. This article provides a straightforward guide on
using the Windows Registry Editor (Regedit) to repair corrupted
.exe file associations, safely restore default registry
values, and regain the ability to launch programs normally.
Step 1: Open the Windows Registry Editor
If .exe files are not opening normally, launching
Regedit through standard shortcuts may also fail. Use one of the
following methods to access the Registry Editor:
- Press Win + R to open the Run dialog box.
- Type
regeditand press Enter. - Alternative Method: If the Run command fails, open Task
Manager by pressing Ctrl + Shift + Esc, click
File > Run new task, type
regedit.exe, check the box for Create this task with administrative privileges, and press OK.
Step 2: Verify and
Fix the .exe Registry Key
- In the Registry Editor window, navigate to the following path:
HKEY_CLASSES_ROOT\.exe - In the right-hand pane, locate and double-click the (Default) string value.
- In the Value data field, enter
exefileand click OK. - In the left-hand pane, check if there is a subkey named
PersistentHandlerunder.exe. Ensure its (Default) value is{098f2470-bae0-11cd-b579-08002b30bfeb}.
Step 3: Verify
and Fix the exefile Shell Command
- In the Registry Editor, scroll down the left pane and navigate to:
HKEY_CLASSES_ROOT\exefile\shell\open\command - In the right-hand pane, double-click the (Default) string value.
- Set the Value data to precisely:
"%1" %* - Click OK to save the changes. This parameter ensures Windows passes all command-line arguments directly to the target executable.
Step 4: Remove Corrupted User Choice Overrides
Windows sometimes saves user-specific overrides that supersede default system associations. To clear potential conflicts:
- Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe - Look for a subkey named UserChoice.
- If UserChoice exists, right-click it and select Delete. Confirm the prompt to remove the key.
Step 5: Restart the System
Close the Registry Editor and restart your computer. Once the system
reboots, the default .exe file associations will be
re-applied, allowing programs and installers to launch as expected.