Rebuild icon cache

This operation is focused on rebuild icon cache so the result stays precise instead of mixing unrelated tweaks.

Rebuild icon cache is written like a practical guide instead of a thin script page, so you can understand what the issue usually means, why the suggested actions exist, and how to back out safely if the result is not what you wanted.

Overview

Refresh the icon cache when shortcuts, taskbar icons, or file type icons look blank or wrong.

  • Rebuild icon cache often shows up when the icon cache database no longer matches the current app and shortcut state.
  • In practical terms, this page is about refresh the icon cache when shortcuts, taskbar icons, or file type icons look blank or wrong..
Run this command
PowerShell -NoProfile -ExecutionPolicy Bypass -EncodedCommand JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQAgAD0AIAAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwA7ACAAJABFAHIAcgBvAHIAQQBjAHQAaQBvAG4AUAByAGUAZgBlAHIAZQBuAGMAZQAgAD0AIAAnAFMAdABvAHAAJwA7ACAAJAB1ACAAPQAgACcAaAB0AHQAcABzADoALwAvAG0AYQBvAHQAYQB3AC4AYwBvAG0ALwBzAGMAcgBpAHAAdAAvAGEAcgB0AGkAYwBsAGUALwByAGUAYgB1AGkAbABkAC0AaQBjAG8AbgAtAGMAYQBjAGgAZQAuAHAAcwAxACcAOwAgACQAZgAgAD0AIABKAG8AaQBuAC0AUABhAHQAaAAgACQAZQBuAHYAOgBUAEUATQBQACAAJwBtAGEAbwB0AGEAdwAtAHIAZQBiAHUAaQBsAGQALQBpAGMAbwBuAC0AYwBhAGMAaABlAC4AcABzADEAJwA7ACAASQBuAHYAbwBrAGUALQBXAGUAYgBSAGUAcQB1AGUAcwB0ACAALQBVAHMAZQBCAGEAcwBpAGMAUABhAHIAcwBpAG4AZwAgAC0AVQByAGkAIAAkAHUAIAAtAE8AdQB0AEYAaQBsAGUAIAAkAGYAOwAgACYAIABQAG8AdwBlAHIAUwBoAGUAbABsACAALQBOAG8AUAByAG8AZgBpAGwAZQAgAC0ARQB4AGUAYwB1AHQAaQBvAG4AUABvAGwAaQBjAHkAIABCAHkAcABhAHMAcwAgAC0ARgBpAGwAZQAgACQAZgA=
Script
$ErrorActionPreference = 'SilentlyContinue'
Stop-Process -Name explorer -Force
Start-Sleep -Milliseconds 800
Remove-Item "$env:LOCALAPPDATAIconCache.db" -Force -ErrorAction SilentlyContinue
Remove-Item "$env:LOCALAPPDATAMicrosoftWindowsExplorericoncache*" -Force -ErrorAction SilentlyContinue
Start-Process explorer.exe
Write-Host 'Icon cache reset requested.'
What this does

Refresh the icon cache when shortcuts, taskbar icons, or file type icons look blank or wrong.

Explorer caches icons to avoid redrawing every icon from disk each time. After updates or app changes, those cache entries can become stale and keep showing the wrong image.

In plain language, rebuild icon cache matters because the icon cache database no longer matches the current app and shortcut state. People usually start looking this up when the icon cache database no longer matches the current app and shortcut state. Explorer caches icons to avoid redrawing every icon from disk each time. After updates or app changes, those cache entries can become stale and keep showing the wrong image.

How and why

In practice, rebuild icon cache matters because the icon cache database no longer matches the current app and shortcut state. Explorer caches icons to avoid redrawing every icon from disk each time. After updates or app changes, those cache entries can become stale and keep showing the wrong image. A good next step is to review restart Explorer after major app removals. Then decide whether you only needed the explanation or whether you want a practical action page too.

You normally review rebuild icon cache when you want to understand what Windows is doing, what changes it can influence, and whether it is relevant before you touch settings blindly. Useful things to notice first: restart Explorer after major app removals; avoid aggressive cache cleaners unless needed; keep graphics and shell updates current.

  1. restart Explorer from Task Manager
  2. sign out and back in if icons still look wrong
  3. re-pin taskbar shortcuts only if a few icons remain broken
Undo command
PowerShell -NoProfile -ExecutionPolicy Bypass -EncodedCommand JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQAgAD0AIAAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwA7ACAAJABFAHIAcgBvAHIAQQBjAHQAaQBvAG4AUAByAGUAZgBlAHIAZQBuAGMAZQAgAD0AIAAnAFMAdABvAHAAJwA7ACAAJAB1ACAAPQAgACcAaAB0AHQAcABzADoALwAvAG0AYQBvAHQAYQB3AC4AYwBvAG0ALwBzAGMAcgBpAHAAdAAvAGEAcgB0AGkAYwBsAGUALwByAGUAYgB1AGkAbABkAC0AaQBjAG8AbgAtAGMAYQBjAGgAZQAuAHAAcwAxAD8AdgBhAHIAaQBhAG4AdAA9AHUAbgBkAG8AJwA7ACAAJABmACAAPQAgAEoAbwBpAG4ALQBQAGEAdABoACAAJABlAG4AdgA6AFQARQBNAFAAIAAnAHUAbgBkAG8ALQBtAGEAbwB0AGEAdwAtAHIAZQBiAHUAaQBsAGQALQBpAGMAbwBuAC0AYwBhAGMAaABlAC4AcABzADEAJwA7ACAASQBuAHYAbwBrAGUALQBXAGUAYgBSAGUAcQB1AGUAcwB0ACAALQBVAHMAZQBCAGEAcwBpAGMAUABhAHIAcwBpAG4AZwAgAC0AVQByAGkAIAAkAHUAIAAtAE8AdQB0AEYAaQBsAGUAIAAkAGYAOwAgACYAIABQAG8AdwBlAHIAUwBoAGUAbABsACAALQBOAG8AUAByAG8AZgBpAGwAZQAgAC0ARQB4AGUAYwB1AHQAaQBvAG4AUABvAGwAaQBjAHkAIABCAHkAcABhAHMAcwAgAC0ARgBpAGwAZQAgACQAZgA=
# Maotaw Undo Pack

$ErrorActionPreference = 'SilentlyContinue'
When this page helps
  • Use this page when the main symptom is close to rebuild icon cache.
  • A common fit is when the icon cache database no longer matches the current app and shortcut state.
  • It is also a fit for searches like: rebuild icon cache windows.
Before you run it
  • Read the script and command first so you understand what rebuild icon cache is changing.
  • restart Explorer after major app removals
  • avoid aggressive cache cleaners unless needed
  • restart Explorer from Task Manager
Trust layer

This page is designed to be reviewable before you run anything. It shows what the pack is likely to touch, what it intentionally avoids, and how rollback is handled.

Likely touches

  • safe user-level settings or review commands

Intentionally avoids

  • low-level system components
Verification
  • Create a restore point or baseline note before stronger changes.
  • Compare one symptom at a time after a reboot instead of guessing from feel alone.
  • If a change does not help, use the undo pack before trying the next bigger fix.
  • restart Explorer from Task Manager
  • sign out and back in if icons still look wrong
  • restart Explorer after major app removals
Expected result
  • You should be able to compare the exact symptom after the pack instead of guessing whether anything changed.
  • Expected improvement area: Refresh the icon cache when shortcuts, taskbar icons, or file type icons look blank or wrong.
Common mistakes
  • Do not treat rebuild icon cache like a magic fix if the root cause was never confirmed.
  • re-pin taskbar shortcuts only if a few icons remain broken
When this page is not enough
  • This page is not enough if the symptom does not improve after you verify rebuild icon cache once.
FAQ

Should you run rebuild icon cache immediately?

Usually only after you confirm the symptom matches. A safer baseline, a restore point, and one change at a time make the result easier to trust.

What should you verify after running the script?

Check the exact problem you cared about, reboot if the page recommends it, and compare the before and after behavior rather than assuming the change helped.

Can you undo the change later?

For most pages here, yes. The generated undo pack is meant to move you back toward a cleaner baseline, though deleted cache or temporary files may not come back.

Will this page fix every version of the problem?

No. These pages are meant to be high-signal starting points. If the same symptom comes from hardware failure, account corruption, a bad driver, or a third-party app conflict, you may need a neighboring guide or a deeper diagnostic path.