When you run an .exe file on a Windows XP, Windows Vista or Windows 7-based computer, the file may start a different program
When you run an .exe file on a Windows Vista-based computer, the file may start a different program. Additionally, the icon for the .exe file may not appear as expected. You may also receive additional errors from the .exe file or from the program that starts.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in WindowsTo resolve this problem, reset the registry subkey for the file association of the .exe file back to the default setting. To do this, follow these steps:
Windows Vista and Windows 7:
- To open the Task Manager, press CTRL + SHIFT + ESC.
- Click File , press CTRL and click New Task (Run…) at the same time. A command prompt opens.
- At the command prompt, type notepad, and then press ENTER.
- Paste the following text into Notepad:
Windows Registry Editor Version 5.00[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe][HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe][HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithList][HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithProgids]"exefile"=hex(0):
- On the File menu, click Save as.
- Select All Files in the Save as type list, and then type Exe.reg in the File name box.
- Select Unicode in the Encoding list. Save it and remember the file location.
- Return to the Command Prompt window, type REG IMPORT [filepath]Exe.reg, and then press ENTER.
Note[filepath] is a placeholder which is to input your Exe.reg file location (e.g. C:\Exe.reg).
- Click Yes, and then click OK in response to the registry prompts.
- Log off from your account. Then, log back onto your account.
Note After the problem is resolved, delete the Exe.reg file so that it is not mistakenly added back to the registry at a later date.
- Click Start, then click Run.
- In the Open box, type explorer and then click OK.
- Navigate to the Windows directory (e.g. a typical path may be C:\Windows) and locate regedit.exe.
- Right-click on regedit.exe and select Run as. Uncheck "Protect my computer and data from unauthorized program activity" and click OK.
- Using Regedit, locate and then click on the following registry key:
- On the left panel, right-click on the following registry subkey: '.exe'
- Select Delete and then click OK.
- On the left panel, right-click on the following registry subkey:
- Select Delete and then click OK.
- Close Registry Editor.
Article ID: 950505 - Last Review: 08/05/2016 08:47:00 - Revision: 9.0
Windows Vista Business, Windows Vista Enterprise, Windows Vista Home Basic, Windows Vista Home Premium, Windows Vista Starter, Windows Vista Ultimate, Windows Vista Business 64-bit Edition, Windows Vista Enterprise 64-bit Edition, Windows Vista Home Basic 64-bit Edition, Windows Vista Home Premium 64-bit Edition, Windows Vista Ultimate 64-bit Edition, Windows 7 Enterprise, Windows 7 Home Basic, Windows 7 Home Premium, Windows 7 Professional, Windows 7 Starter, Windows 7 Ultimate
- kbsurveynew kbexpertiseinter kbtshoot kbprb kbcip KB950505