Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I opened .exe file in internet explorer by mistake after that i am not able to open any exe files, all files are open in internet explorer. The .exe association is corrupted. Please help me to resolve this issue.

Thanks,

share|improve this question

migrated from stackoverflow.com May 25 '10 at 4:36

This question came from our site for professional and enthusiast programmers.

    
this needs to go on SuperUser and, thats kindda funny!! not that you probably think so at the moment. – Keith Nicholas May 25 '10 at 4:33
    
ask this here superuser.com – NLV May 25 '10 at 4:35

try this Restore the .exe file association in Windows Vista, after incorrectly associating it with another application

share|improve this answer
    
Good link but some more explanation about what it does would be good. – Sim May 25 '10 at 4:39
    
@Sim: You noted that 'the .exe association is corrupted' and the title of the linked article is 'Restore the .exe file association in Windows Vista...' - it also applies to win 7 – SnOrfus May 25 '10 at 4:44
    
+1 for a good link -1 for not bothering to tell what the link points to. (I added a link description) – Nifle May 25 '10 at 7:36
    
This does not always work. I'm seeing a case where creating a new user profile does not solve the problem although it should as we are fixing HKEY_CURRENT_USER. I'm going a little crazy right now. Microsoft offers this: support.microsoft.com/kb/950505#LetMeFixItMyselfAlways which is more extensive but also not helping. – simbabque Jun 14 '14 at 15:05

You need to delete this key in the registry (with regedit.exe) in order to make Windows forget the bad file association choice:

HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\.exe\\UserChoice

as you can see in the link of loviji's answer.

In general, you delete the key

HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\.xyz\UserChoice

where you replace .xyz with either .exe, .bat, .cmd, .com, .lnk, or anything else you need.

share|improve this answer

You must log in to answer this question.