0

I had a programme on my taskbar and it had an icon. Sometime later I changed the executable and/or moved it, but now the icon is gone from the taskbar. The application still runs. If I unpin it and execute the programme, it does show the correct icon on the taskbar:

unpinned

But as soon as I pin it, I get this:

pinned

So it looks like it's trying to get the icon from a place that doesn't exist. Ideas as to how to refresh this icon?

Adrian
  • 641

2 Answers2

2

It looks like the Icon Cache is broken. You have to repair it.

  • open a cmd.exe as admin
  • close Explorer with Taskmgr
  • run those commands from the cmd.exe:

    cd /d %userprofile%\AppData\Local

    attrib –h IconCache.db

    del IconCache.db

    start explorer

0

How did you run the program the first time? Instead of pinning it after it's running, pin it before it's running by right-clicking the shortcut or executable.

I think this is due to the fact that lots of shortcuts or executables simply start up another application (like a launcher). So when you pin the actual application, for some reason, Windows can't find the referenced icon.

I'm sure somebody else can elaborate on this!

lytedev
  • 31