My earlier post Incorrect icon shown for a file type in Vista (March 31, 2008) tells you how to refresh the shell icons in Vista. In case the solution posted in that link does not help, you may want to clear the icon cache database. The icon cache can be cleared by deleting the hidden file named IconCache.db in the following location:
Note: %userprofile% represents the path to user profile folder.
Rebuilding the Icon Cache Database
1. Close all folder windows that are currently open.
2. Launch Task Manager using the CTRL+SHIFT+ESC key sequence, or by running taskmgr.exe.
3. In the Process tab, right-click on the Explorer.exe process and select End Process.
4. Click the End process button when asked for confirmation.
5. From the File menu of Task Manager, select New Task (Run…)
6. Type CMD.EXE, and click OK
7. In the Command Prompt window, type the commands one by one and press ENTER after each command:
CD /d %userprofile%\AppData\Local
DEL IconCache.db /a
EXIT
8. In Task Manager, click File, select New Task (Run…)
9. Type EXPLORER.EXE, and click OK.
Related Posts
- How to Clear the Thumbnail Cache in Windows 7 and Windows Vista
- How to Clear IE Temporary Internet Files Cache for a Particular Domain
- Deleted Files Are Shown When Performing a Search in Windows Vista
- Quickly Clear the Google Chrome Cache Using Script
- Thumbnail Preview Not Shown for Pictures in Vista?
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?





It works.
I fixed it. In my case, it was a security update I installed (the LNK-issue from a few weeks ago). The fix killed all LNKs of course, I just had to remove the fix.
Kevin & Grendel,
It didn’t work for me, either. You can find my comments on how I fixed it here:
http://www.winhelponline.com/blog/how-to-rebuild-the-icon-cache-in-windows-vista/comment-page-4/#comments
and here:
http://www.winhelponline.com/blog/how-to-rebuild-the-icon-cache-in-windows-vista/comment-page-6/#comments
Creative Element Power Tools was a big help.
Robert