UPDATE: Microsoft has released an automatic Fixit tool to fix this annoying problem. This Fixit tool is based on the same method given in this tutorial.
Many times people face problems while opening .EXE files.
- The EXE file opens in Notepad.
- EXE file opens in some other installed programs.
- Windows displays "Open With" dialog box to choose the program.
- Windows shows error message, "Windows cannot find .exe file. Make sure you typed the name correctly".
Most of the times it happens when you accidentally change .Exe file type settings from Folder Options. Sometimes it might happen due to virus.
Anyway no need to worry. Here is a solution which will fix this annoying problem:
METHOD A: Using Ready-Made Registry Script
Download following ZIP file, extract it and run the extracted REG file. It'll ask for confirmation, accept it. It should solve the problem.
METHOD B: Manually Editing Windows Registry
1. Open Command Prompt by typing command in RUN dialog box.
2. Now provide following command:
cd\windows
3. It'll activate Windows folder. Now provide following command to open Registry Editor:
regedit

NOTE: If you can't open "regedit", press CTRL+ALT+DEL keys and open "Task Manager". Now click on "File" menu and hold down the "CTRL" key and click on "New Task" menu. It'll open a Command Prompt window. Now provide regedit.exe command and press Enter. It'll open registry editor without any problem.
4. Now go to following key:
HKEY_CLASSES_ROOT\.exe
In right-side pane, change value of Default key to exefile
5. Now go to:
HKEY_CLASSES_ROOT\exefile\shell\open\command
In right-side pane, change value of Default key to:
"%1" %*
6. That's it. Now exit Registry Editor and restart your Windows. Now you should be able to open EXE files without any problem.
Don't forget to check solutions for other common PC problems in following topic:
[Help & Support] Frequently Asked Problems with Solutions
Posted by: Vishal Gupta | Categories: Troubleshooting, Windows 7, Windows Vista, Windows XP
esraa
thanks alot this script works well
Henrique
Thanks, really good.
Eyasin
Hi,
Excellent. A+++++++
vahid
Thanks so much
jonaz
woohhhh..dis one is great,.,thank you
Simon
Tried option A - Rebooted and tested and found all back to normal.
Thanks very much
Sean
Really thanks dude !!!!
Thanks a lot
It worked perfect !!!
angel
THANK YOU SO MUCH! THE FIRST ONE WORKED FOR MY PC! THANKS AGAIN!
Sd.Kalesha vali
Thanks a lot for such a beautifull solution i had solved my problem and it is 100% working software once again thanks for this
ramesh
Thanks bro
a big relief for me
thanks again