Did you accidentally use Default Programs or the Open With dialog to associate .exe file types with some application, causing every program to open in that chosen application? Windows provides no option to reset the .exe file associations, and you’ll have to do this manually. For example, one of our readers accidentally associated executable files using Notepad, and this caused Notepad to open every time when a program was launched.

When you use the Open With dialog to associate .exe files with another application, the settings are stored in the following registry key:

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

There will be a value named Progid in the right pane. The Progid data will contain the application’s exe file name (Applications\Notepad.exe, Applications\IExplore.exe, or a Programatic Identifier such as txtfile, jpegfile etc).

Note that despite this problem, you should be able to launch applications by double-clicking on the data files. For example, with the above setting, you should be able to launch Microsoft Word application by double-clicking on a .doc file, but not by running Winword.exe directly.)

Resolution

You need to delete the UserChoice key above using a REG file or a script. Download exefix_cu.reg, and save it to Desktop. Right-click on the REG file and choose Merge.

(Hint: To undo the Open With setting for other file types, the registry location is the same. Replace the text .exe in the above registry path with the actual file extension.)

Example:

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

Where .xyz is the file extension for which you want to undo the Open With action.


Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

47 Comments

  1. Chapz
    said this on Thursday, February 2nd 2012 10:13 am

    WOW Thanks a LOT!!!!
    You Saved me…..!!!

  2. K. Sagoyan
    said this on Saturday, January 14th 2012 4:57 pm

    It is a good idea to add one more line in exefix_cu.reg for .lnk extetion also.

  3. Aerie
    said this on Friday, December 2nd 2011 5:17 pm

    OMG! YOU’RE MY SAVIOR! My nephew played with my dekstop and screwed my .exe files and that’s ALL what a computer is all about. Good thing I was able to open an internet browser and had an access with this very useful article! MUCH THANKS!

  4. Glitcher
    said this on Thursday, November 24th 2011 1:29 am

    WOW! This helped so much. You sir have my eternal thanks. I thought I was completely screwed.

  5. Jacque
    said this on Sunday, November 20th 2011 10:55 pm

    Okay. I got up to the step : HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ FileExts \ .exe….. Now I can’t find the UserChoice file, the Progid or the text file… Please moderation users or my friends…. Can you please help me?

  6. Tom
    said this on Saturday, October 29th 2011 1:17 am

    Nevermind.I did a system restore and solved everything.

  7. Peter
    said this on Saturday, October 8th 2011 4:52 am

    Wow that really helped. I thought I was screwed but hey, you saved me :D

Leave a Reply