Tips and Tricks
Downloads
 
TrishTech » Windows XP

Rebuild icon cache in Windows XP

This page was last updated on July 19, 2010

Sometimes the icon cache in Windows becomes corrupt and you see wrong icons for different file types. One way to solve the issue is to restart the computer, but you can also rebuild the icons cache without restarting the computer. Here is how :

  1. Press the keyboard combination Windows logo key + R to bring up the Run dialog.
  2. Type cmd and press Enter to open the command prompt window.
  3. In the command prompt window, type the following commands pressing Enter after each line :
    taskkill /f /im explorer.exe
    attrib -H "%userprofile%\Local Settings\Application Data\IconCache.db"
    del "%userprofile%\Local Settings\Application Data\IconCache.db"
    explorer.exe
  4. This would restart the Windows Explorer and rebuild the icons cache as required.

You can also put all these commands into a command script, so you can run it by just double clicking on it.


blog comments powered by Disqus