Forum Discussion
Windows 11 24H2 breaks the .exe and .com file associations
1. Repair the file association:
Open Settings > Applications > Default Applications.
In “Specify default apps by file type”, find the .exe and .com file types.
Click on the currently associated application and select the correct application (Windows Explorer).
2. Use the command prompt to repair:
Open a command prompt (with administrator privileges) and enter the following command:
assoc .exe=exefile
ftype exefile=“%1” %*
assoc .com=comfile
ftype comfile=“%1” %*
3. Modify the registry:
Press Win + R, type regedit, and enter.
Navigate to the following path:
HKEY_CLASSES_ROOT\.exe
Make sure the default value is exefile.
Navigate to the following path:
HKEY_CLASSES_ROOT\exefile\shell\open\command
Make sure the default value is “%1” %*.
Repeat the above steps to check the .com file association.
4. Create a new user profile:
Open Settings > Accounts > Family and Other Users.
Click “Add Account” to create a new user account.
Log in to the new account and check if the issue is resolved.
5. Use System Restore:
Open Control Panel > Recovery > Open System Restore.
Select a restore point and restore to the state before the upgrade.
6. Repair the installation:
Boot your computer using the Windows 11 installation media.
Select Repair Computer > Troubleshooting > Advanced Options > Start Repair.
7. Contact Microsoft Support:
If the issue remains unresolved, submit the issue through Microsoft Support.
Provide detailed error messages and screenshots to quickly diagnose the issue.