Fixing Missing Icons in Windows 7
On occasion, you may find that an icon for an application has that white boxy looking icon instead of the correct icon for the application. This happened to me most recently with Firefox, actually. I keep my icon for Firefox in the taskbar on my Windows 7 laptop, and when I noted it wasn’t right, I first though to delete it and ‘re-pin’ the application to the taskbar. That would have worked, except the icon didn’t show up properly in either the Start Menu or the directory where Firefox was installed (C:\Program Files (x86)\Mozilla Firefox). So, it stirred something in my mind that I’ll share here.
Since we know that the actual program executable in the Program Files directory wasn’t showing its icon, we can be fairly certain that something’s gone wrong with the icon cache. This is where Windows 7 stores information about the images used for the icons you see….everywhere. The fix for when the cache becomes corrupt is actually reasonably simple.
1. Press “CTRL+SHIFT+ESC” to bring up the process manager. Ensure that this is in fact on the ‘Processes’ tab. Find ‘explorer.exe’ in the list, select it, and hit ‘End Process’ in the lower right corner. This will close down the start menu/window manager capabilities (well, a majority of them).
2. With the process manager still open, go to ‘File’ and select ‘New Task (Run)’. This will open a dialog box where you must type in ‘cmd.exe’. This will bring up the DOS style command line.
3. Type ‘cd /d %userprofile%\AppData\Local’
4. Type ‘del IconCache.db /a’
5. Type ‘Exit’ or click the ‘X’ to close the window.
6. From the ‘File’ and ‘New Task (Run)’ button you used before in the Process Manager, type “explorer.exe” to re-start that application. You should find all the icons are back in their places!
Many thanks to the WinHelpOnline Blog for their posting on this topic.
http://www.winhelponline.com/blog/how-to-rebuild-the-icon-cache-in-windows-vista/
