When you run an .exe file on a Windows Vista-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
Article ID : 950505
Last Review : April 4, 2008
Revision : 1.0

SYMPTOMS

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.

Back to the top

CAUSE

This problem occurs if one or more of the following conditions are true:
• The file association of the .exe file has been changed to another default program.
• The registry subkey setting for the file association is corrupted.

Back to the top

RESOLUTION

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 (/Feedback.aspx?kbNumber=322756/) How to back up and restore the registry in Windows

To 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:

1. Click Startthe, type notepad in the Start Search box, and then press ENTER.
2. Paste the following text into Notepad:
Windows Registry Editor Version 6.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):
3. On the File menu, click Save as.
4. Select All Files in the Save as type list, and then type Exe.reg in the File name box.
5. Click Save, and then close Notepad.
6. Double-click the Exe.reg file.
If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
7. Click Yes, and then click OK in response to the registry prompts.
8. Log off from your account. Then, log back onto your account.

Note You may have to restart the computer to restore the program icons to their original appearance.

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.

Back to the top



APPLIES TO
• 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

Back to the top

Keywords: 
kbexpertiseinter kbtshoot kbprb KB950505

Back to the top

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image