February 23, 2010

Force rebuild icons cache in Windows Vista

In the elevated command prompt, type the following commands and press Enter after each command :

cd %systemdrive%\Users\%username%\AppDataLocal
attrib -h iconcache.db
taskkill /f /im explorer.exe
del iconcache.db
start explorer.exe

This would close the Windows Explorer, delete the icon cache and again restart the Windows explorer. When Windows Explorer restarts, icon cache would be rebuilt.

No comments: