Solution: .EXE Files Always Open with Notepad or Other Applications



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. 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 regedit without any problem.

4. Now goto following key:

HKEY_CLASSES_ROOT\.exe

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

5. Now goto:

HKEY_CLASSES_ROOT\exefile\shell\open\command

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

"%1" %*

6. Thats it. Now exit Registry Editor and restart your Windows. Now you should be able to open EXE files without any problem.

Complete list of AskVG articles



This article was posted in Troubleshooting, Windows 7, Windows Vista, Windows XP.


Share |


Related Articles

Popular Articles



60 Comments

  • i think you need to re-think the statment that says: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 regedit without any problem.<<< BECAUSE I CANT

  • cant open regedit with command, so open with taskmanager.
    but,
    cant open task manager oso, so how can i open regedit?

  • cant open regedit with command, so open with taskmanager.
    but,
    cant open task manager oso, so how can i open regedit?

  • cant open regedit with command, so open with taskmanager.
    but,
    cant open task manager oso, so how can i open regedit?

  • VG

    ^^ Try following topic to enable Registry Editor:

    http://www.askvg.com/how-to-enable-tools-folder-options-and-registry-editor-in-windows/

  • Hi
    What about windows server 2003?

  • THANK YOU very much !!! It worked! I'm happy to see that people really help each other. Best wishes from a pharmacist !!!!!

  • This really works......
    Thanks a lot for your kind help....

  • when i go to run then open up command prompt i search cd/windows and it says invalid switch - /windows plz help1

  • Works awesome THX

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.