Microsoft KB Archive/171325

{|
 * width="100%"|

Incorrect Icons Displayed for .ico Files

 * }

Q171325

-

The information in this article applies to:


 * Microsoft Windows 95
 * Microsoft Windows NT Workstation version 4.0

-

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.

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:

 Double-click My Computer, and then click Options on the View menu. 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. Click Icon in the Registered File Types box, and then click Edit. Verify that the following settings exist, and then click OK:

 The Description Of Type box contains Icon. If there is a Confirm Open After Download check box, it should be selected.  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.</li> Click New Type.</li> In the Description Of Type box, type Icon.</li> In the Associated Extension box, type ICO.</li> Click OK, and then click Close.</li>  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. </li>  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. </li> Create a new key in the icofile key called DefaultIcon, and type %1 as this key's default value.</li> Quit Registry Editor, and then restart your computer.</li></ol>

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

Keywords : win95 kbshell

Issue type :

Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW400 kbWinNTW400search kbWinNT400xsearch kbWin95search kbZNotKeyword3