File Explorer caches every thumbnail it has ever rendered in %localappdata%\Microsoft\Windows\Explorer. On a PC with heavy photo and video folders, this cache easily grows past 1 GB, and corruption in it is why Explorer sometimes shows stale or blank thumbnails.

Short answer: open Disk Cleanup (cleanmgr), tick Thumbnails, and click OK. To force Explorer to regenerate from scratch, stop explorer.exe first, delete every thumbcache_*.db file, and restart Explorer.

The gentle path — Disk Cleanup

  1. press Start, type cleanmgr, press Enter
  2. choose drive C:, click OK
  3. wait for the scan
  4. tick Thumbnails (leave Temporary files and Recycle Bin ticked too if you want)
  5. click OK > Delete Files

Disk Cleanup handles the cache files safely without needing to restart Explorer.

The forced path — manually deleting thumbcache_*.db

Use this when Disk Cleanup finishes but thumbnails still misbehave (wrong image, blank icons, crashes).

  1. open Task Manager (Ctrl + Shift + Esc)
  2. find Windows Explorer, right-click > End task
  3. the taskbar disappears — do not panic
  4. press Ctrl + Shift + Esc again to keep Task Manager open
  5. click File > Run new task, type cmd, tick Create this task with administrative privileges, click OK
  6. in the Command Prompt, run:
    • cd /d %localappdata%\Microsoft\Windows\Explorer
    • del /f /q thumbcache_*.db
    • del /f /q iconcache_*.db
  7. in Task Manager, File > Run new task, type explorer.exe, click OK
  8. the taskbar returns

Next time you browse a folder, Windows rebuilds the thumbnail cache fresh.

Preventing cache bloat

  • Settings > System > Storage > Storage Sense, toggle On — Storage Sense clears thumbnails on its schedule
  • avoid setting File Explorer to Extra large icons on folders with thousands of media files — the cache balloons to match

Better next routes

For the broader Windows cleanup, continue with How to Free Up Space on C Drive Windows 11 Natively.

For the cross-platform catch-all, read Storage Space Running Out: How to Check What's Taking Up Space.