Repairing a corrupted icon cache

by Mitch Tulloch [Published on 4 July 2012 / Last Updated on 4 July 2012]

How to repair the icon cache in Windows 7 if icons are not being properly displayed.

If the icon cache in Windows 7 becomes corrupted, you may see the generic balnk icon in certain places on your desktop instead of the usual icons.  If this happens, you can try to repair the icon cache by opening a command prompt and typing the following commands (close all applications first and save your data):

kill explorer

attrib -h -i %userprofile%\ appdata\local\iconcache.db

ren %userprofile%\ appdata\local\iconcache.db icon.db

explorer

Reboot your computer to finish the process.

Mitch Tulloch is a seven-time recipient of the Microsoft Most Valuable Professional (MVP) award and widely recognized expert on Windows administration, deployment and virtualization. For more tips by Mitch you can follow him on Twitter or friend him on Facebook.

The Author — Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see www.mtit.com .

Latest Contributions

Featured Links