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:

  1. Press Win + R to open the Run dialog box.
  2. Type regedit and press Enter.
  3. 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

  1. In the Registry Editor window, navigate to the following path: HKEY_CLASSES_ROOT\.exe
  2. In the right-hand pane, locate and double-click the (Default) string value.
  3. In the Value data field, enter exefile and click OK.
  4. In the left-hand pane, check if there is a subkey named PersistentHandler under .exe. Ensure its (Default) value is {098f2470-bae0-11cd-b579-08002b30bfeb}.

Step 3: Verify and Fix the exefile Shell Command

  1. In the Registry Editor, scroll down the left pane and navigate to: HKEY_CLASSES_ROOT\exefile\shell\open\command
  2. In the right-hand pane, double-click the (Default) string value.
  3. Set the Value data to precisely: "%1" %*
  4. 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:

  1. Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe
  2. Look for a subkey named UserChoice.
  3. 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.