Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I right-clicked into an .exe file then chose Open with... and I select choose a program then I selected the wrong program. I checked the checkBox that has the label Always use the selected program to open this kind of file.

Now all of the .exe files have changed into the wrong program after I did this, so all .exe file opened with this program.

How do I revert the .exe file associations to do my regular work?

share|improve this question

2 Answers 2

Paste the following into notepad

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithList]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithProgids]
"exefile"=hex(0):

In notepad On the File menu, click Save as

Select All Files in the Save as type list, and then type Exe.reg in the File name box. Select Unicode in the Encoding list. Save it and remember the file location.

Go to the file location and right click on the EXE.reg file and select "merge"

Restart the PC.

Or run the Fixit utility on this page

share|improve this answer

Back up the registry http://windows.microsoft.com/en-us/windows7/Back-up-the-registry

  1. Go to Start, type regedit and press Enter.
  2. Navigate to the following key: HKEY_CLASSES_ROOT\.exe
  3. In right-side pane, change the value of the Default key to exefile.
  4. Now go to HKEY_CLASSES_ROOT\exefile\shell\open\command
  5. In right-side pane, change the value of the Default key to: "%1" %*.
  6. Now exit Registry Editor and restart your Windows.

See if this helps in opening applications with their respective program. (answer found here: http://answers.microsoft.com/en-us/windows/forum/windows_7-files/wrong-file-association-every-application-tries-to/c72d3210-b4a4-4d09-b5e9-85d793ff18a5)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.