Tutorial: Unable to open .exe files

Many times ppl 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:
1.](http://www.askvg.com/) Open Command Prompt by typing command in RUN dialog box.
2.](http://www.askvg.com/) Now provide following command:

3.](http://www.askvg.com/) It’ll activate Windows folder. Now provide following command to open Registry Editor:

4.](http://www.askvg.com/) Now goto following key:

In right-side pane, change value of Default key to exefile
5.](http://www.askvg.com/) Now goto:

In right-side pane, change value of Default key to:

6.](http://www.askvg.com/) Thats it. Now exit Registry Editor and restart your Windows. Now you should be able to open EXE files without any problem.

Re: Tutorial: Unable to open .exe files

Good one Teggy

Re: Tutorial: Unable to open .exe files

Isn't regedit itself an exe file? If so, how will you run it?

2 nafal perh ke Allah se dua karain ge.
Allah farishta bhaije ga instructions ke sath.

Re: Tutorial: Unable to open .exe files

As part of their routine, many worms and Trojans make changes to the registry. Some of them change one or more of the shell\open\command keys. If these keys are changed, the worm or Trojan will run each time that you run certain files.

For example, if the \exefile\shell\open\command key is changed, the threat will run each time that you run any .exe file. This may also stop you from running the Registry Editor to try to fix this.

They may also change a registry value so that you cannot run the Registry Editor at all.

Symantec Security Response has created a tool to reset these registry values to their default settings.

**WARNING: **
Do not use this tool unless:
A Symantec technician or document directs you to do so.
After reading the removal instructions in the writeup, you are sure that the tool is required.

Follow these steps:

Download the file UnHookExec.inf and save it to your Windows desktop.

(If you cannot connect to the Internet from the infected computer, download to an uninfected computer then save it to a floppy disk. Then take the floppy disk and insert it in the floppy disk drive of the infected computer.)

Note: The tool has a .inf file extension.

Locate the download file, either on the Windows desktop or the floppy disk.

Right-click the UnHookExec.inf file and click install. (This is a small file. It does not display any notice or boxes when you run it.)

http://antivirus.about.com/gi/dynamic/offsite.htm?zi=1/XJ&sdn=antivirus&cdn=compute&tm=17&f=00&su=p284.9.336.ip_p504.1.336.ip_&tt=2&bt=0&bts=0&zu=http%3A//www.symantec.com/security_response/writeup.jsp%3Fdocid%3D2004-050614-0532-99

Re: Tutorial: Unable to open .exe files

Taggy wonderful thread!!
lolzz@ saeen

Re: Tutorial: Unable to open .exe files

PM,

When are you teaching us how to install Suse on a secondary HDD w/out messing up Vista? :D

Thanks in advance.

Re: Tutorial: Unable to open .exe files

fine - just ignore the question... if someone can't run regedit, they can't get the .exe associations back with this tutorial.

Re: Tutorial: Unable to open .exe files

Well i don’t know how to answer that. :bummer:

Here’s the situation:

A person downloads an application which is .exe. They try to run the program, and instead of opening and installing, it asks them 'Choose application…" and so on…as if the file is not associated.

Now, windows doesn’t need manual association for .exe, right?

Registry entries are probably messed up which is why .exe is not being recognized as a program. (Result of personal goof-up, or a viral infection, etc..)

What should be done?

PS: The regedit works fine supposedly. And the person can go into Regedit from the run command line.

Re: Tutorial: Unable to open .exe files

^ teggy... your tutorial works just fine in terms of the steps outlined. The only flaw is that you're asking the user to run a program that is itself based on an exe file. Chances are that if Windows doesn't recognize exe file associations, then it'll also not let the user run regedit.

There's gotta be a way to get to regedit without invoking it through the command line or running it through the Run prompt.

Re: Tutorial: Unable to open .exe files

hmmm… :hmmm:

hmmmm if the .EXE extension is messed up in registery then many applications and services won't run, THAT also includes IE or FIREFOX or any other internet browser.

I think problem is not in the system registery, the file extension for the downloaded file is invalid. what application is that? and where it was downloaded from?

Re: Tutorial: Unable to open .exe files

It's skype, downloaded from their website.

Re: Tutorial: Unable to open .exe files

Sometimes the issue of .exe not opening and asking you to choose application or giving win32 invalid application can be sorted by emptying Temporary folder.

-Type

[quote]
%temp%
[/quote]
in run command. Delete all files/folders possible, some may not delete, it is okay to skip them.

-Erase browsers history, and Cache.

-Empty recycle bin.

-Reboot PC.

-Download the application again (.exe which could not open/install before), but save it in different location.

-When the download completes, double-click and it should run fine now.

These steps helped in resolving a similar issue very recently. I hope they help you as well.

Re: Tutorial: Unable to open .exe files

Teggy, the uber-geek :D

Instead of showing users how to run .EXE files again, I think this forum's focus should be highlighting things that cause these type of issues. Majority of the users visit spammy websites, click on anything they see and download stuff which is ultra infested with malware.

Anyway, you can make a .REG file and run that to RE-enable .exe support in a situation where .exe files like regedit.exe aren't executable. ;)

Double click on the saved REG file and pray if it starts the registry editor and merges. Unfortunately, this rarely works

SO either you can use the Run As command. Or open a Command Prompt window via the Task Manager and try to run Regedit from there.

:hehe:

That too…

Ran AdAware and Spybot S&D.

Reg restore/repair file was imported too, but although it corrected the registry and “restored/repaired” it to enable .exe. The problem still persisted. It was at this point, all the other steps from my last post were done. i.e. Temp folder, change d/l location, and so on…