TechBuzzPro

Rebuild the Icon Cache in Windows: Quick Fix Guide

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can rebuild a corrupted icon cache in Windows, and it usually takes under five minutes. The fix is simple: stop File Explorer, delete the iconcache database files that Windows uses to store icon thumbnails, then restart Explorer so Windows regenerates them from scratch. This resolves the classic symptoms of a broken cache: icons showing as blank white squares, generic default icons, wrong icons on shortcuts, or icons that do not update after uninstalling a program. Nothing is lost in the process, because the cache is a temporary file that Windows recreates automatically the moment it is deleted.

The steps below work on Windows 10 and Windows 11. Menu labels and dialog wording can differ slightly depending on your Windows version, but the process is essentially identical on both.

What You'll Need

  • A Windows 10 or Windows 11 PC
  • An account with administrator rights (recommended, though a standard account often works)
  • Five minutes; no downloads or third-party tools are required

Step-by-Step

  1. Close all open File Explorer windows. Save any work first, since the desktop and taskbar will briefly disappear later.
  2. Open Task Manager. Press Ctrl + Shift + Esc, or right-click the taskbar and choose Task Manager.
  3. Find Windows Explorer in the list. On Windows 10 it appears under the Processes tab; on Windows 11 it appears under Processes. If you do not see it, click More details first.
  4. Right-click Windows Explorer and choose Restart. The taskbar and desktop will vanish for a couple of seconds, then reappear. This ensures the icon cache files are not locked. Note: on some systems the cache files remain locked until Explorer is fully stopped, so if a file cannot be deleted later, come back to this step and choose End task instead of Restart.
  5. Open Command Prompt as administrator. Press the Windows key, type cmd, right-click Command Prompt in the results, and choose Run as administrator. Click Yes if the User Account Control prompt appears.
  6. Navigate to the cache folder. Type the following command and press Enter: cd /d %localappdata%
  7. Delete the icon cache files. Type this command and press Enter: del iconcache* Windows 10 and 11 also keep additional thumbnail cache files, so run this as well: del thumbcache*
  8. Restart the computer. This is the most reliable way to make Windows rebuild the cache cleanly. Go to Start > Power > Restart. When you sign back in, Windows generates fresh iconcache files automatically, and your icons should display correctly again.

That is the whole procedure. If the icons were corrupted by a bad cache file, they should now be back to normal.

Common Mistakes

  • Running Command Prompt without administrator rights. Some cache files sit in locations that require elevated access. Always choose Run as administrator.
  • Skip the restart. Deleting the files while Explorer is still running can leave a partially rebuilt cache. A restart forces Windows to regenerate everything cleanly.
  • Deleting the wrong files. Only delete files whose names begin with iconcache or thumbcache. Do not delete entire folders inside AppData, as other programs store settings there.
  • Typing the delete command in the wrong folder. If you skip the cd /d %localappdata% step, the del command finds nothing and appears to succeed while doing nothing.

Tips

  • If only one shortcut icon looks wrong, try the simple fix first: right-click the shortcut, choose Properties, then Shortcut > Change Icon and reselect the icon. That repairs a single shortcut without touching the cache.
  • If icons on the desktop specifically are broken, right-click the desktop, choose View, and toggle Show desktop icons off and on again. This forces a redraw without a restart.
  • Keeping Windows updated helps prevent cache corruption from recurring. Check Settings > Windows Update and install anything pending.
  • If you change an app's icon frequently, or you are a developer testing icons, remember that Windows may keep showing the cached version until the cache is rebuilt.

Troubleshooting

If the icons are still broken after rebuilding the cache, work through these in order:

  1. Run the System File Checker. Open Command Prompt as administrator, type sfc /scannow and press Enter. This scans for and repairs damaged Windows system files, including icon resources. It can take 10 to 20 minutes; let it finish, then restart.
  2. Check display scaling. Sometimes blank icons are a rendering quirk rather than corruption. Go to Settings > System > Display and temporarily change the scaling percentage, then change it back.
  3. Update or reinstall your graphics driver. Outdated display drivers can cause icon and thumbnail rendering problems. Check Windows Update or your graphics card manufacturer's official website for the latest driver.
  4. Check the shortcut target. If a specific shortcut still shows a generic icon, the program it points to may have been moved or uninstalled. In that case the icon is not corrupted at all; delete the shortcut or recreate it.
  5. Rebuild the thumbnail database separately. If photo thumbnails (not icons) are broken, open File Explorer's Folder Options, go to the View tab, check Delete thumbnails from Disk, then uncheck it and reopen your picture folders.

As a last resort, creating a new Windows user account can confirm whether the problem is tied to your profile rather than the system. If icons look correct in a fresh account, the issue lives in your original profile's cache or settings.

Frequently Asked Questions

Will rebuilding the icon cache delete any of my files or programs?

No. The icon cache contains only small copies of icons, not your personal data, installed programs, or shortcuts. Everything is regenerated automatically when you restart.

Why does the icon cache get corrupted in the first place?

Common causes include an improper shutdown, a Windows or driver update interrupting a write, disk errors, or an app uninstall that left broken icon references behind.

Do I need third-party cleaning tools for this?

No. The built-in method above is the same thing most cleanup utilities do, and it avoids installing extra software you do not need.

The icons come back broken after a few days. What now?

Recurring corruption usually points to an underlying cause: a failing disk, a bad graphics driver, or a program with a broken icon reference. Run sfc /scannow, update your drivers, and check your disk's health with a tool like the built-in error-checking option on the drive's Properties > Tools tab.

Does this work for taskbar and Start menu icons too?

Yes. The taskbar, Start menu, and desktop all draw from the same icon cache, so rebuilding it fixes icons in all of those places at once.