I keep running across users with a problem where an icon–usually, the one for Microsoft Outlook–changes to a blank, default icon and cannot be restored via Change Icon. This problem is caused by a broken icon cache. While this may sound bad, rebuilding it is pretty easy.
First, save all your work and close all open programs: what we’re going to do will restart your computer. Next, open up a command prompt and enter the following commands:
ie4uint.exe -ClearIconCache taskkill /IM explorer.exe /F DEL "%localappdata%\IconCache.db" /A shutdown /r /f /t 00
After executing the last command, your computer will restart and the icon will be restored.
What This Does
The first command actually clears the cache. Then, with “taskkill” we close Windows Explorer, so that we can delete the Icon Cache and Windows won’t complain about it being in use. The third command actually deletes the icon cache. Finally, we restart the computer immediately, which will recreate a new cache as it starts.
Special thanks to sevenforums.com for helping diagnose this issue.