Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Can't open .EXE files in Windows 7 or Windows Vista


View products that this article applies to.

Symptoms

You receive errors, or nothing happens when you start an .EXE file in Windows 7 or Windows Vista. Additionally, you may receive messages saying that you have a virus.

↑ Back to the top


Cause

This issue can occur if a virus or other 3rd party application has changed or corrupted some default registry settings.

↑ Back to the top


Resolution

To resolve this issue, you can reset the registry settings to their default settings. To do this, follow these steps.
  1. Click the Startbutton and type regedit in the Search box
  2. Right-click Regedit.exe in the returned list and click Run as administrator
  3. Browse to the following registry key:

    HKEY_CLASSES_ROOT\.exe
  4. With .exe selected, right-click (Default) and click Modify…
  5. Change the Value data: to exefile
  6. Browse to and then click on the following registry key:

    HKEY_CLASSES_ROOT\exefile
  7. With exefileselected, right-click (Default) and click Modify…
  8. Change the Value data: to "%1" %*
  9. Browse to and then click on the following registry key:

    KEY_CLASSES_ROOT\exefile\shell\open
  10. With openselected, right-click (Default) and click Modify…
  11. Change the Value data: to "%1" %*
  12. Close the Registry Editor and restart your PC


↑ Back to the top


More Information

If this does not resolve your issue, or clicking .EXE files starts the incorrect application, see this article:


↑ Back to the top


Keywords: kb, consumertargetwinfy12, consumerwin7track

↑ Back to the top

Article Info
Article ID : 2688326
Revision : 3
Created on : 4/18/2017
Published on : 4/18/2017
Exists online : False
Views : 172