[How To] Rebuild Icon Cache To Fix Broken Icons

Sometimes when you install some program, and place its shortcut somewhere on the desktop or Start Menu, the icon of the program might appear broken (display incorrect icons) in your Windows 7. As you can see in the following screenshot:

Program icon broken in Windows 7Program icon broken in Windows 7 taskbar

It is very annoying to see such broken icons for any programs. Not only that they confuse you what program is it, particularly when you pin such a program to the taskbar. Follow this step-by-step guide to fix the broken or missing icons and show the original icons of the program, works in Windows 7 and Windows Vista.

Steps:

1. Close all the folder windows that are currently open in the Windows Explorer.

2. Launch the Task Manager either by using CTRL + SHIFT + ESC or by right-clicking on the taskbar and choosing “Start Task Manager”.

start task manager

3. Go to the processes tab, find “explorer.exe” in the list. Right-click on it, choose end process.

End explorer process

4. Go to File >  choose New Task (Run..) from the menu.

Run new task in Windows Task manager

5. In the Create New Task dialogue box, type “cmd” and click OK to open the Command Prompt window.

Create new task in task manager

6. Type the following commands* one by one in the Command Prompt (Press “Enter” after each command).

IconCache rebuild commands

CD /d %userprofile%\AppData\Local
DEL IconCache.db /a
EXIT

IconCache command prompt

7. Again go to the Task Manager, launch “New Task” from the File Menu. Type “Explorer” in the text filed and hit enter.

Explorer from Create New Task in Task Manager

Your icons should appear fine now.

Background:

This method actually rebuilds the icon cache. The first of the three commands is used to go into the directory C:\Users> username> AppData> Local. The second command will delete the hidden IconCache.db file. And then we restart the explorer.exe process to rebuild the deleted IconCahce file.

You can alternatively, set the Folder Options > Views and change the settings to Show Hidden files and then delete the IconCache.db to the Recycle bin and restart the explorer.exe process.

Related Posts with Thumbnails

11 thoughts on “[How To] Rebuild Icon Cache To Fix Broken Icons”

  1. Thanks for the tips.  Works like a charm!
     
    I’m using W7 x64 with a third-party memory optimizer.  The optimizer works great and really helps a lot.  Only thing is it has this little ‘side-effects’ of broken icons occasionally.
     
    Anyway, thanks again!
     
     

  2. Hey you saved my day! Wasted 2 hours with re-installing two small programs who’s icon had gone broken. Thank you so much, funnt how the way to fix it was through DOS! haha.

  3. Awesome! I’m an inveterate ‘tinkerer under the hood’ type but I know when to curb the impulse to dive in headfirst and seek knowledgeable help. This was not only perfect advice but a fun way to fix a niggling problem. Big Mahalo from Hawaii!!

Leave a Comment