The file may starting time a unlike programme when yous run an .exe file in Windows 7

This commodity provides a solution to an issue where the file may start a unlike program when yous run an .exe file in Windows 7.

Applies to: Windows 7 Service Pack 1
Original KB number: 950505

Symptoms

When yous run an .exe file in Windows 7, the file may starting time a different program. Additionally, the icon for the .exe file may non appear every bit expected. You may also receive additional errors from the .exe file or from the plan that starts.

Resolution

Important

This section, method, or task contains steps that tell you how to alter the registry. However, serious problems might occur if you change the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before yous change it. Then, you lot can restore the registry if a problem occurs. For more information almost how to dorsum upwards and restore the registry, see How to back upward 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. To open the Job Managing director, press CTRL + SHIFT + ESC.

  2. Click File, press CTRL and click New Task (Run...) at the same time. A command prompt opens.

    Screenshot of New Task (Run...) option of the File menu in Windows Task Manager.

  3. At the command prompt, type notepad, and then printing ENTER.

    Screenshot shows notepad is typed in command prompt.

  4. Paste the following text into Notepad:

                      Windows Registry Editor Version v.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):                                  
  5. On the File menu, click Relieve as.

    Screenshot of the Save As option under the File menu.

  6. Select All Files in the Save as type list, and then type Exe.reg in the File name box.

  7. Select Unicode in the Encoding list. Save it and remember the file location.

    Screenshot of the Save As dialog box to save the notepad file as Exe.reg file format.

  8. Return to the Command Prompt window, type REG IMPORT <filepath> Exe.reg, so press ENTER.

    Screenshot of the REG IMPROT command in command prompt.

    Note

    <filepath> is a placeholder which is to input your Exe.reg file location (for example, C:\Exe.reg).

  9. Click Aye, and so click OK in response to the registry prompts.

  10. Log off from your account. Then, log dorsum on to your account.

Annotation

  • You may have to restart the estimator to restore the program icons to their original appearance.
  • After the trouble is resolved, delete the Exe.reg file so that it is not mistakenly added back to the registry at a later date.