Microsoft KB Archive/923077

= You cannot open files that have extensions such as .exe, .com, and .lnk on a Windows XP-based computer =

Article ID: 923077

Article Last Modified on 8/24/2006

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you try to open files that have extensions such as .exe, .com, and .lnk on a Microsoft Windows XP-based computer, you cannot open the files. Alternatively, the Open With dialog box appears.

This problem occurs even if the following conditions are true:
 * The computer is in safe mode.
 * The extensions have default registry entries.



CAUSE
This problem occurs when one ore more of the following conditions are true:
 * The registry values that are associated with the file name extension are corrupted or the values are missing.
 * The computer is infected with a virus.



RESOLUTION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this problem, follow these steps:  Restart the problem computer in safe mode, and then back up the registry. Click Start, click Run, type command /c copy %Windir%\regedit.exe regedit.com, and then click OK. Click Start, click Run, type regedit, and then click OK. In Registry Editor, compare the following registry subkeys with the registry subkeys of a working computer for the file name extensions that do not open:     </li>  </li></ul>

If you cannot open the .com files, compare the following registry subkeys with the registry subkeys of the working computer: <ul>  </li>  </li>  </li></ul> </li> If you find any difference between the registry entries on the problem computer and on the working computer, restore the default values of the corrupted entries. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Select the registry entry that you want to change.</li> On the Edit menu, click Modify.</li> In the Edit String dialog box, type the value that you find on the working computer in the Value data text box, and then click OK.</li></ol> </li></ol>

If the problem persists, follow these steps:
 * 1) Note the CLSID number that is found in the   registry subkey.

Note The CLSID consists of a long set of numbers that is enclosed in braces ({ }).
 * 1) Compare the CLSIDs with the CLSID that is located in the   registry subkey. If these CLSIDs differ, restore the default values of the corrupted entries.

<div class="moreinformation_section">

MORE INFORMATION
Consider the following scenario. You cannot open files that have a .com extension after you install third-party software. In this scenario, the registry of the computer is updated with the following registry subkeys to resolve this problem:

Keywords: kbtshoot kbprb KB923077

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.