- Home
- Windows Vista
- Restore the .exe file association in Windows Vista, after incorrectly associating it with another application
Restore the .exe file association in Windows Vista, after incorrectly associating it with another application
- Copyright © 2008 Ramesh Srinivasan
- Windows Vista
Question
I was opening up an .exe from a download manager and it asked the standard Open With question. I chose Internet Explorer by accident, and from that time onwards, i cannot open up any .exe files as it opens Internet Explorer.
Answer
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.)
Registry fix
To fix the problem, you need to delete the UserChoice key above using a REG file or a script. Download exefix_cu.reg attached at the end of this article, and save it to Desktop. Right-click on the REG file and choose Merge.
For other file types
To undo the Open With setting for other file types, the registry location is the same. (Replace the text .exe in the above registry key 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.
Attachments
Related Articles
Related Links
If you enjoyed this post, make sure you
subscribe to our RSS feed!
We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?
63 Responses to "Restore the .exe file association in Windows Vista, after incorrectly associating it with another application" 
|
said this on 10 Apr 2007 5:15:17 PM PST
The fix worked great thanks
|
|
said this on 19 Apr 2007 6:43:26 AM PST
Great, that did the trick.
Now i dont have to reinstall Vista again, thanks
|
|
said this on 04 Jul 2007 9:47:48 AM PST
Thanks a lot....this FIX worket like "MAGIC".... :)
Please help me a little further :
Now the File Associations are fine... BUT all my Shortcuts are STill showing me Small ADOBE READER ICONS (i had selected 'open with adobe' accidently before using the fix')
Please help!!!
Keep up the Good Work...!!
|
|
said this on 06 Feb 2008 7:07:08 PM PST
same here, the icons are still the same as when the problem appeared, although the main problem is fixed, the icons still display notepad on them... what should i do here? big thanks abou the exe fix though, that worked like magic
|
|
said this on 10 Apr 2008 1:49:59 PM PST
You just have to copy and paste each icon back to the desktop and they will pop up with the right picture.
|
|
said this on 14 Jul 2007 5:24:12 AM PST
Great, have spent a good few hours looking for solution, this did it in seconds!! Thank you so much.
|
|
said this on 30 Jul 2007 11:13:08 AM PST
gotta love windows, this problem made me VERY mad
|
|
said this on 08 Nov 2007 3:17:46 PM PST
I can't say THANK YOU enough! This is the EXACT problem my friend had. I was able to show her how to fix it. It worked beautifully. She was very frustrated at first when the probelm happened. Now she's happy. Thank yoU!
|
|
said this on 28 Nov 2007 7:59:15 AM PST
Thats great! worked a treat... you just saved me lots of time!!! Thanks.
|
|
said this on 29 Nov 2007 10:12:37 PM PST
thank you soo much for this, it fixed my problem instantly. I spent hours looking for something to fix my problem and this fixed in a few seconds lol...thanks
|
|
said this on 04 Jan 2008 5:52:34 PM PST
This was EXACTLY what I was looking for, it worked immediately. It took me several hours of searching (mainly via google) to find the right answer (your answer) to this issue. Thanks
|
|
said this on 17 Jan 2008 8:24:02 PM PST
i fucking love you, i havent been able to edit videos for a couple weeks now cause that problem. ive spent hours trying to fix it but nothing seemed to work till this, thank yyou :)
|
|
said this on 29 Jan 2008 7:18:00 PM PST
you are a gentleman and a scholar!
I thought that I was the only person on the globe stupid enough to accidentally change my .exe file association, and that I was doomed.
Windows help and support was as useless as always.
Even system restore was an .exe file!
I can swear with majesty and pasion, but I was teaching myself new words and concepts.
THANK YOU.
Youare a LEGEND
|
|
said this on 06 Feb 2008 6:45:52 PM PST
hey... THIS WORKS!! thanks so much! this takes a lot of stress away, and luckily i hadn't exited firefox since then, or else i would have been doomed... thanks again
|
|
said this on 08 Feb 2008 6:41:52 PM PST
Registry fragment works great. Exe files now work as they should.
Extra tip-
If the icons are still wrong:
Rightclick on your desktop, Personalize, change desktop icons, Restore defaults
|
|
said this on 15 Feb 2008 3:51:20 PM PST
Thanks very very much, you are an absolute legend and a lifesaver
thank you thank you thank you
|
|
said this on 22 Feb 2008 2:22:18 PM PST
great work...the fix worked immediately exactly what i was looking for
|
|
said this on 24 Mar 2008 2:48:22 PM PST
Thanks a bunch - i downloaded a number of registry fixes and none of them worked, i was really concerned for a while!
Only thing that still bugs me - this happened where every file showed as a quicktime file, i deleted quicktime, it went back to normal overnight - then this happened. i certainly haven't edited the file associations, and my girlfriend assures me she hasnt done this - are there any viruses etc that make use of this?
|
|
said this on 01 Apr 2008 3:41:48 AM PST
it helped a lot for getting the informaton fro fixing
|
|
said this on 02 Apr 2008 3:43:49 PM PST
Infinite thanks, I see this is an old soloution but it still fixes this ridiculous problem with the worst OS ever. I miss Xp and the Microsoft website was so useless for this problem.
|
|
said this on 05 Apr 2008 2:35:50 AM PST
OMG, thank you so much, good karma coming your way from Melbourne, Australia.
|
|
said this on 10 Apr 2008 1:47:42 PM PST
I owe you so much. Who ever decided to post this info is a genuis cuz i thought i was the only one who would accidently make his app. open with notepad. If it wasn't for this post my dad would be strangling me right now. Thank you so very much!
|
|
said this on 11 Apr 2008 9:49:11 AM PST
Many thanks, nice to know there's people out there who know what to do with stuff!
|
|
said this on 12 Apr 2008 2:02:40 AM PST
Thank you a lot from Jamal Faiye
|
|
said this on 14 Apr 2008 7:07:23 AM PST
Hail from the Netherlands.
Have been looking for this for over 4 hours.
Thanks man.
|
|
said this on 25 Apr 2008 1:34:18 PM PST
jesus what i did was dumb. thank god for this fix + the icon fix
|
|
said this on 26 May 2008 7:23:19 PM PST
this is the only fix I could find that would work.
|
|
said this on 05 Jun 2008 8:05:14 PM PST
Wow, I cannot tell you how much I appreciate this. It was so easy, and worked. Thank you SOOOOO much.
|
|
said this on 26 Jun 2008 11:10:56 AM PST
worked for me too, thanks :) As for the wrong icons, right-click on them, click propertiesa and change icon - you'll find them there for each aplication
|
|
said this on 17 Jul 2008 2:46:12 PM PST
can't thank you enough, my life just got easier.
Jay
|
|
said this on 18 Jul 2008 8:44:48 PM PST
Whew...I thought it was going to be a long, sweaty night of trial and error and emergency learning to get this fixed. The reg file worked instantly. May the Great Spirit smile on you and light your path.
|
|
said this on 18 Jul 2008 11:20:20 PM PST
wowwwwwwwwwwwwww thanks alot!!
|
|
said this on 24 Jul 2008 4:04:32 PM PST
NICE!!!! You saved the day! great one click save for my one click screw up. I was sure I would have to reinstall. I put it on the desktop and double clicked! Can't say thanks enough!
|
|
said this on 25 Jul 2008 6:59:46 AM PST
I LOVE YOU SO MUCH!!!! i though i was boned, i bought a 4 thousand dollar computer and screwed up the file asscociations by accident....i run the attachment and it works like magic!
|
|
said this on 03 Aug 2008 4:47:37 PM PST
I can't explain how happy I am that after hours of searcing for a fix, I found this article. This saved me lots of time, and (more importantly) probably saved me some cash. Thanks a bunch to the author of this article and also to the creators of the program.
|
|
said this on 05 Aug 2008 12:17:51 AM PST
THANKS I was starting to freak out...life savior
|
|
said this on 06 Aug 2008 2:45:46 AM PST
it worked but i still cant manage to change the icons back to original i.e. internet explorer still appears as a pdf image
Editor note: See:
Fix Incorrect icon shown for a file type in Windows Vista:
http://www.winhelponline.com/blog/incorrect-icon-shown-for-a-file-type-in-vista/
|
|
said this on 12 Aug 2008 10:32:38 AM PST
Thank you very much. I was really worried that I had to re-boot my computer, and at one point I atempted to, but then realised that the system re-boot thing was an exe. Thank you very much. You are a wonder ful person ^___^ I wish you much luck!!!!
|
|
said this on 15 Aug 2008 3:59:07 AM PST
Tack , thank you soo much for this, it fixed my problem instantly. I spent hours looking for something to fix my problem and this fixed in a few seconds lol...thanks
|
|
said this on 15 Aug 2008 4:09:07 AM PST
Thank you sooooooo much. I didn't know what had happened, and had tried a load of other tips and tricks to try and get it to work. This was the simplest, easiest, and the only one htat worked. You are amazing. THANK YOU!!!!
|
|
said this on 18 Aug 2008 2:05:39 AM PST
wow...........i was just searchin here and there..........and finally i had made my mind to re-install vista........but thank you.....this thing really works ..........
|
|
said this on 23 Aug 2008 3:50:53 AM PST
DUDE I LOVE U THANK U U LITTERALY(ALMOST) SAVED MY LIFE MY DDEPEST THANKS
|
|
said this on 12 Sep 2008 2:54:53 PM PST
hi im having abit of trouble, all my files say exe.bc and cannot open exe. files how do i overcome this thanks. i checked my exe files there is no userchoice file there?
|
|
said this on 21 Sep 2008 12:35:32 PM PST
man i really truly deeply love u for that text!!!!! u helped me a lot i thought i will explode because of anger.... thank u really much
|
|
said this on 22 Sep 2008 7:49:03 AM PST
this realy is superb.Thanks a lot!!!
|
|
said this on 25 Sep 2008 12:05:26 AM PST
I LOVE UUUUUUUU THANKS SOOOO MUCH!!!
|
|
said this on 02 Oct 2008 8:43:37 PM PST
thank you very much !!!
you make may day wonderful !!
|
|
said this on 13 Oct 2008 8:37:40 PM PST
Hallelujuah! It actually worked. Follow the instructions, reboot your computer, and you should be good to go.
Thanks for the easier fix! :)
|
|
said this on 28 Oct 2008 4:22:33 PM PST
Thankyou SO much - I was sure I had screwed my computer completely but now everything works again - you are a total star!
|
|
said this on 06 Nov 2008 12:56:02 PM PST
That worked! Thankyou sooo much =]
|
|
said this on 27 Dec 2008 2:46:10 PM PST
Thank you great. you are a legend, genius and a great blessing to humanity. I tried to get a solution for a week, serched and serched, uninstalled office but to no avail. microsoft is dump as usual, no help. your solution worked like magic when i was almost reinstalling vista. I love you so so much. Thanks alot
|
|
said this on 04 Feb 2009 4:57:42 PM PST
You are absolutely brilliant. I spent hours on the chat to Norton last night thinking I'd got a virus, couldn't open anything because it was all attached to .exe, couldn't get into registry etc. Downloaded your fix and it's all back as was. Heroes!
By the way, I don't fiddle with my system (too scared!) and didn't do anything mad to set this problem all off: I just opened a MICROSOFT (!) download and it asked me what to associate it with, offering my MICROSOFT (!) browser as the first option. I clicked on that (as you do) and complete breakdown ensued. This is such a stupid and obvious problem, yet I can't find anything decent on the m'soft support site. You are wonderful and I salute you.
|
|
said this on 15 Mar 2009 5:24:48 AM PST
YOU ARE MY SAVIOR
All praise the mighty Ramesh
HUUUUUUUUUUUUMMMMMM
|
|
said this on 18 Mar 2009 4:20:57 PM PST
Thanks a lot. All my icons showed Acrobat after I installed Reader 8 and 9. The registry download resolved my association problem and the right click on desktop fixed my icons.
I did not make any mistakes regarding the associations. Just wondering if this is a bug in Windows Vista.
Thnx a lot.
Kourosh_au
|
|
said this on 20 Mar 2009 1:11:03 AM PST
OMG You're are a lifesaver!!! I only wish i had found you earlier, it would have saved me a lot of worry!! Actual love and kisses!! You guys should get a medal!!
|
|
said this on 24 Mar 2009 4:23:39 PM PST
A simple mistake of changing the open with for exe caused hours of headache. Your reg key fixed it, you are king among men.
|
|
said this on 06 Apr 2009 4:42:59 PM PST
absolutely brilliant - thanks guys & girls! Worked 1st time...
|

Author)