How to Rebuild the Icon Cache in Windows 7

Information
If one or more of your icons are not displaying correctly, or that your icon cache is corrupted, then you might consider rebuilding the icon cache to reset and reload the icon images into the icon cache.
This  article is also applicable for Windows Xp and Windows Vista

Note
This will not help with any of the following icon issues:
A shortcut’s icon that is not displayed properly due to the source of the shortcut being moved or deleted. You may need to recreate a new shortcut directly from the source (ex: program’s exe) file to replace it instead.
All icons for a specific file extension display the wrong icon. This may be do to setting the wrong association for what program to open the file extension instead. You can restore the default file extension’s associations to fix this icon instead.
Solution:
Rebuild the Icon Cache using the Command Prompt
1. Close and save anything that you are working on. This command will kill explorer and restart the computer when completed.
2. Open the Start Menu, and type cmd in the search box and press enter.
3. In the command prompt, Copy and Paste each command line below exactly as is and press enter after each command.
taskkill /IM explorer.exe /F
CD /d %userprofile%\AppData\Local
DEL IconCache.db /a
shutdown /r
4. The IconCache.db file has now been rebuilt.

Comments

  1. Email Client Support Avatar

    If I'm using a add on program to change Icons, can I follow same steps to restore icons?

  2. Hardware Texpert Avatar

    Yes, you can follow the same steps to restore the defauls icons.

Leave a Reply

Your email address will not be published. Required fields are marked *