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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To work around this problem, use one of the following methods on the client computer.
These methods can restore the image for a remote file. However, these methods may have side effects for the remote storage system that you use. Additionally, these methods may require testing in the corporate environment before you use these methods widely.
Method 1: Apply a hotfix that lets Windows Explorer call the shell icon handlers even when the file is offline
On a computer that is running Windows XP with Service Pack 2 (SP2) or Windows XP with Service Pack 1 (SP1), apply hotfix 895115.
For more information about this hotfix, click the following article number to view the article in the Microsoft Knowledge Base:
895115�
Windows Explorer does not display icons for .htm files, for .html files, or for .msg files after you enable offline files in Windows XP
Then, enable a policy that lets Windows Explorer call the shell icon handlers even when the file is offline. To enable the policy, follow these steps:
- Locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
- Under this registry key, create the PerInstanceIconHandlerForOffline registry entry of the DWORD type.
- Set the value of the PerInstanceIconHandlerForOffline registry entry to 1.
Method 2: Change the registry keys to use static icon images
Change the registry keys that are associated with the HTML file type, with the MHTML file type, and with the XML file type. Make the registry keys use static icon images instead of using the shell icon handlers. To do this, follow these steps:
- Create a new text file, and then paste the following information in the new text file.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE,-32529"
[HKEY_CLASSES_ROOT\mhtmlfile\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE,-32554"
[HKEY_CLASSES_ROOT\xmlfile\DefaultIcon]
@="msxml.dll,-128"
[-HKEY_CLASSES_ROOT\htmlfile\ShellEx\IconHandler]
[-HKEY_CLASSES_ROOT\mhtmlfile\ShellEx\IconHandler]
[-HKEY_CLASSES_ROOT\xmlfile\ShellEx\IconHandler]
- Save the new text file as the RestoreHandlerKeys.reg file. Make sure that you use the .reg extension so that the file is associated as a Windows registry script file.
- Right-click the RestoreHandlerKeys.reg file, and then click Merge. If you receive a message that asks you to allow the merge, click Yes.
Note You may have to log off from the computer and then log on to the computer.