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.)


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.)


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.

Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner


  1. Jawed
    said this on Sunday, February 1st 2015 4:32 pm

    my computer regedit open with default program it not let to open the regedit progeam

  2. sue
    said this on Thursday, January 8th 2015 2:06 am

    Thank you this worked for me, you’re a star… Happy new year… many thanks

  3. Bob Howard
    said this on Monday, December 15th 2014 9:09 am

    Hi Barry,
    Thanks for your response to my windows media problem.
    Unfortunately it all came to nothing.
    I went through the steps as suggested, but all my computer desktop items still remain as previously stated “when opened the only offering is to play music from the library”!!!
    Does anybody else have any suggestions, as to how I might solve the problem??
    Any assistance would be greatly appreciated.
    Thanks, regards.

  4. len
    said this on Wednesday, December 10th 2014 11:58 am

    Restarted pc just now, so far so good, all software logo/icon had returned to how it was. No(as I checked so far) data lost, all fine. Thank you again!

  5. BB
    said this on Thursday, November 6th 2014 6:45 am

    I was able to open regedit.exe from a DOS window & followed your steps. Worked like a champ, thank you, thank you, thank you so very, very much. It’s BS Windows 7 “Open With, Browse” has the box (always use this program…) greyed out, thus setting you up for these kind of problems. Thank you very much Windows, NOT!!!

Leave a Reply