Incorrect Icons Displayed for .ico Files

Article translations Article translations
Article ID: 171325 - View products that this article applies to.
This article was previously published under Q171325
WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
Expand all | Collapse all

SYMPTOMS

When you view icon (.ico) files, the icons may display the default Windows system icon instead of the actual icon image.

CAUSE

The .ico file association is missing, or is damaged.

RESOLUTION

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

NOTE: For information about how to edit the registry, see the online Help in Registry Editor.

To resolve this issue, follow these steps:
  1. Double-click My Computer, and then click Options on the View menu.
  2. Verify that the Icon file type appears on the File Types tab. If the Icon file type does not appear in the Registered File Types box, skip to step 10.
  3. Click Icon in the Registered File Types box, and then click Edit.
  4. Verify that the following settings exist, and then click OK:

    1. The Description Of Type box contains Icon.
    2. If there is a Confirm Open After Download check box, it should be selected.
  5. If the settings do not appear exactly as listed in step 4, click Remove, click Yes, and then click OK. If the settings do appear as listed in step 4, skip to step 10.
  6. Click New Type.
  7. In the Description Of Type box, type Icon.
  8. In the Associated Extension box, type ICO.
  9. Click OK, and then click Close.
  10. Use Registry Editor to view the
    HKEY_CLASSES_ROOT\.ico
    key, and then verify that the default string contains the following value:
    icofile
    If the .ico key does not exist, create it, and then insert the value listed above. If any other values exist in the .ico key, delete them.
  11. Use Registry Editor to view the
    HKEY_CLASSES_ROOT\icofile
    key, and then verify that the default string contains the following value:
    icon
    If the icofile key does not exist, create it, and then insert the value listed above. If any other values exist, delete them.
  12. Create a new key in the icofile key called DefaultIcon , and type %1 as this key's default value.
  13. Quit Registry Editor, and then restart your computer.

MORE INFORMATION

When this issue occurs, the default system icon may be displayed for all the icons on the desktop.

Properties

Article ID: 171325 - Last Review: November 15, 2006 - Revision: 1.1
APPLIES TO
  • Microsoft Windows 95
  • Microsoft Windows NT Workstation 4.0 Developer Edition
Keywords: 
kbshell KB171325

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com