In Windows, .exe files are executable programs that should run through Windows Explorer.

However, sometimes due to incorrect "Open With" associations or misconfigurations, .exe files may open with another application such as Notepad, WinRAR, or another incompatible program.

When this happens, you won’t be able to run applications normally until the file association is restored.

  • Sometimes, due to a misconfiguration or changes in the “Open with” program settings, Windows may incorrectly associate .exe files with the wrong application.
  • For example, instead of running normally, double-clicking an .exe file might open Notepad, WinRAR, or another unrelated application.

This issue prevents you from launching programs normally and can make your system difficult to use.

This problem is usually caused by a change in the default file association for .exe files and can be resolved by resetting it to the default Windows Executable File association.

Step 1: Open Command Prompt as Administrator

Press Windows + S and type cmd. Right-click Command Prompt and select Run as administrator.

Step 2: Reset the EXE File Association

In the Command Prompt window, type the following command and press Enter:

# assoc .exe=exefile

This command restores the default program association for .exe files to the Windows Executable File handler.

Step 3: Close Command Prompt

Once the command runs successfully, close the Command Prompt window.

Step 4: Test by Opening an EXE File

Double-click any .exe file (such as Chrome’s installer or another application) to confirm it now launches normally instead of opening in the wrong program.

Conclusion:

By resetting the .exe file association to exefile, you restore Windows’ ability to properly recognize and run executable programs.

Was this answer helpful? 4 Users Found This Useful (75 Votes)