You cannot open files that have extensions such as .exe, .com, and .lnk on a Windows XP-based computer (923077)
The information in this article 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 SYMPTOMSWhen 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.
CAUSEThis 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.
RESOLUTIONWarning 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:
- HKEY_CLASSES_ROOT\.<file_name_extension>
- HKEY_CLASSES_ROOT\<file_name_extension>file
- HKEY_CLASSES_ROOT\.<file_name_extension>\<Sub_Folder>
If you cannot open the .com files, compare the following registry subkeys with the registry subkeys of the working computer:- HKEY_CLASSES_ROOT\.com
- HKEY_CLASSES_ROOT\comfile
- HKEY_CLASSES_ROOT\.com\PersistantHandler
- 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:
- Select the registry entry that you want to change.
- On the Edit menu, click Modify.
- 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.
If the problem persists, follow these steps: - Note the CLSID number that is found in the HKEY_CLASSES_ROOT\.com\PersistantHandler registry subkey.
Note The CLSID consists of a long set of numbers that is enclosed in braces ({ }). - Compare the CLSIDs with the CLSID that is located in the HKEY_CLASSES_ROOT\CLSID\<CLSID_number> registry subkey. If these CLSIDs differ, restore the default values of the corrupted entries.
Modification Type: | Major | Last Reviewed: | 8/24/2006 |
---|
Keywords: | kbtshoot kbprb KB923077 kbAudEndUser |
---|
|