Knowledge Base →5 min readUpdated: 2026-09-21

How to Clear and Rebuild the Thumbnail Cache in Windows 11

If pictures and videos show blank, generic or plainly wrong previews, the thumbnail cache has corrupted — the fix is to delete it and let Explorer rebuild it fresh. The quick route: Settings → System → Storage → Temporary files → Thumbnails → Remove files. The cache lives in %LOCALAPPDATA%\Microsoft\Windows\Explorer and regenerates automatically as you browse folders, so nothing is lost.

How the thumbnail cache works — and how it breaks

Explorer generates a small preview for every media file and stores it in a set of databases — thumbcache_*.db, one per icon size — plus iconcache_*.db for program icons. Old folder formats can also drop a thumbs.db next to the pictures themselves. The point is speed: a folder with 500 photos opens instantly because the previews are read from the cache instead of decoding 500 originals.

The cache is pure derived data. Corruption comes from the usual suspects: a power cut while Explorer is writing previews, a crashed app holding files open, an abrupt icon-size change. The symptoms are unmistakable and always belong to the same family.

  • Blank or generic icons where previews used to be
  • Wrong previews — an old image shown on a renamed or replaced file
  • Folders with many photos opening slowly, previews appearing row by row
  • White or black squares instead of pictures and videos
  • The same wrong preview surviving a manual refresh (F5)

Clearing the cache the safe way

Method one is the built-in cleanup: Settings → System → Storage → Temporary files, wait for the scan, check only “Thumbnails” and click Remove files. The same item exists in Disk Cleanup (Win+R → cleanmgr) — “Thumbnails” there. Both delete the thumbcache databases, and Explorer rebuilds them in the background as you open folders.

Method two, for stubborn cases, works from the command line: close all Explorer windows, then run taskkill /f /im explorer.exe — the desktop and taskbar disappear, which is expected. In the same console run del /f /q /a "%LOCALAPPDATA%\Microsoft\Windows\Explorer\thumbcache_*.db" and, if program icons are broken too, the same command with iconcache_*.db. Then type explorer.exe, press Enter, and the desktop returns with an empty cache. The databases are locked while Explorer runs — that is why it has to be stopped first, and why nothing else in that folder should be touched.

Rebuilding and keeping previews healthy

Nothing needs to be done to “rebuild” — it happens on its own the moment you open a folder. The first pass over a big photo library takes noticeably longer and works the disk harder, because every original gets decoded once; after that, previews snap in as before. If the trouble stays anchored to one specific folder, its own thumbs.db is usually the culprit: enable View → Show → Hidden items, delete that file, and the folder regenerates it.

On a slow machine where folders lag anyway, you can trade previews for speed permanently: Folder Options → View → “Always show icons, never thumbnails”. Otherwise the cache needs nothing more than an occasional cleanup. A scheduled run of Kleaner PRO covers it along with other caches, and the corrupted-preview mystery stops being a yearly ritual.

Questions and Answers

Is it safe to delete thumbcache files in Windows 11?

Yes. They are derived preview data — Explorer regenerates them automatically the next time you open a folder.

Where is the thumbnail cache located in Windows 11?

In %LOCALAPPDATA%\Microsoft\Windows\Explorer — the thumbcache_*.db files, plus iconcache_*.db for program icons. Old folders may also contain a per-folder thumbs.db.

Why do thumbnails show blank or wrong images?

The cache got corrupted or stale — a crash or power loss during preview writing is the usual cause. Clearing it forces Explorer to regenerate every preview.

Know what is included before you buy.

The one-time 30-minute trial covers core tools. PRO-labelled features stay locked until a paid license is activated.

Read next

All articles · FAQ

Write to us: [email protected]