Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a program pinned to the taskbar. After I upgraded the program (I think) the icon broke. What I get now is what you see below; that ugly default application icon thing.

Broken icon

If I unpin it, I get the correct icon. If I then right-click on it, the icon breaks again. If I pin it again, still the broken icon. Unpin again and back to good icon. Very annoying. How can I fix this?

share|improve this question
This was my first question I asked on here actually. Check out 62508. –  MrStatic Aug 8 '10 at 14:44
Hm, didn't seem to fix it. –  Svish Aug 8 '10 at 15:22

8 Answers 8

Based on @dash17291's answer, here is a slightly faster procedure (no reboot) that worked for me:

  1. Open Windows Explorer, go to %userprofile%\AppData\Local, delete IconCache.db.

  2. Open Task Manager, go to Processes tab, highlight explorer.exe, and click End Process. Your desktop will "disappear."

  3. Still in Task Manger, select File > New Task (Run...), type explorer.exe, and click OK. Your desktop should reappear, with the previously missing icons.

share|improve this answer –  Aerovistae Feb 17 '14 at 16:16
An anonymous user edited my answer to add "This works for Win 8.1 as well, just checked." Doesn't that kind of update belong in a comment? I have not checked it so I don't feel comfortable signing my name to it. –  Mark Berry Jun 12 '14 at 16:01
IconCache.db was invisible on my system. I used DEL %userprofile%\AppData\Local\IconCache.db /a in the command prompt –  onewhaleid Feb 18 at 1:28

You could have unpinned the link in the taskbar and again pinned the application to the taskbar. The icon would have updated itself.

The reason why this happened was icons for applications installed by Windows MSI installers are present with the installer itself. Because of this, when you upgrade the program, the link to the icon breaks. The only way to fix this is either recreate the shortcut/pinned link or update the icon for the shortcut itself by Right Click → Properties → Change Icon...

e.g.: This is a link to the icon for Nokia PC Suite: %SystemRoot%\Installer\{92D1CEBC-7C72-4ECF-BFC6-C131EF3FE6A7}\ARPPRODUCTICON.exe. Note that the icon resides with the installer and not linked to the icon embedded inside the executable.

share|improve this answer
None of the above answers worked but this did! –  DrCord Jul 31 at 15:26

The answer from dash17291 works but rebooting is not necessary.
Just enter & run


from command prompt to restart explorer & reload taskbar.

For numerous reasons (like not having memorize this stuff) I prefer to create a batch file.

@echo off
title Fix Broken Taskbar Icons.
color 0E                            ::yellow text/black background
echo This will kill all explore windows and rebuild icon cache
echo (Note: sometimes Explorer takes a few moments to reload)
echo Hit Ctrl-C to abort or 

taskkill /IM explorer.exe /F        ::/IM = imagename 
                                    ::/F =  forcefully terminate the process(es)    
CD /d %userprofile%\AppData\Local   ::/d  = change drives if necessary
DEL IconCache.db 
start explorer.exe                  ::start = don't wait for completion
share|improve this answer
This worked for me, but I had to add the parameters /f /ah to the DEL command, otherwise it would be reported as not found. –  Axel Magagnini May 5 at 0:52

Rebuild the Icon Cache:


To Manually Rebuild the Icon Cache using the Command Prompt:

1. Close and save anything that you are working on. This command will kill explorer and restart the computer when completed.

2. Open the Start Menu, and type cmd in the search box and press enter.

3. In the command prompt, Copy and Paste each command line below exactly as is and press enter after each command.

WARNING: The last command will restart the computer, so be sure to close and save anything that you are working on first.

    taskkill /IM explorer.exe /F
    CD /d %userprofile%\AppData\Local
    DEL IconCache.db /a
    shutdown /r /f /t 00

4. The IconCache.db file has now been rebuilt.
share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Daniel Beck Aug 12 '12 at 18:01
Most likely this will not solve the issue since it's, as answered above, probably embedded in the installer and not pointing towards the actual exe –  Simon Aronsson Aug 16 '12 at 12:53
Worked for me, thanks. I lost several icons after a network disconnect killed the icons coming from the server. I already knew from the shortcuts' properties that the icons were available in the .exe's. Couldn't figure out why it wasn't displaying them, but forcing a recreation of iconcache.db fixed it. –  Mark Berry Nov 7 '12 at 3:02

I made some progress on the issue (though I don't necessarily like the answer). I found that this occured with such things as my steam.exe, and my lunascape.exe, etc... I tried this, weird, fix.

Go to the program's location (i.e. C:\program files\Steam\) and find the suspect program (the one that the icon isn't working for).

Right-click on it and select 'create shortcut' [I know it sounds stupid] then pin THAT to your taskbar INSTEAD of the actual exe.

For some reason, this fixed the problem for me, and I hope this fixes the problem for anyone else as well.

share|improve this answer

I had this issue, and found the root cause, immediate work-around, and long term fix:

Root Cause: if your combined PATH environment variables are more than 2048 characters, then it (and WINDIR) stop being visible in many contexts. This may cause start menu items/programs to be "not found", even though they are in fact there, and work if run manually from windows explorer or command prompt.

Interim Fix (maybe): I've had mixed results with this, but if you open Task Manager (Ctrl-Alt-Del Task Manager) and quit Explorer (note desktop will go blank and start menu goes away), and then run Explorer again, all the problems temporarily disappear and things work properly. However, this is only a temporary solution.

FIX/Solution: Reduce the PATH variable to be under 2048 characters in total. Using Windows Explorer or via command prompt, run


Click the Environment Variables button at the bottom and review the entries. Deleting unused or not needed entries so the total is under 2048 characters in total (from the PATH variable) should fix the issue. You can then retry the interim fox and all should be well, and once you safely reboot, the solution should stick.

This applies to Windows 7, Vista, XP. Not sure about 8 or 10 yet.

share|improve this answer

I tried most of the other answers and had some success one of my icons changed back. In the end I went to the actual game icon folder and copied it to a different folder on the desktop and then pointed the icon there by right clicking choosing properties and then pointing to the icon you have copied elsewhere. Worked for me!

share|improve this answer

Found that this article was helpful where it states:

Instead, let’s create new, customized icons for our taskbar. To do this easily, open the folder that contains all of your pinned icons by entering the following in the Explorer address bar:

%appdata%/Microsoft/Internet Explorer/Quick Launch/User Pinned/Taskbar

You may just want to goto the Quick Launch with this address:

%appdata%/Microsoft/Internet Explorer/Quick Launch/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.