Sep 30, 2026 DISPATCH // HARDWARE, CODE & PLATFORMS

Windows 11 thumbnail cache exposes deleted photo traces

Windows 11 does not keep thumbnails of every deleted photo but cached previews can survive file deletion and be recovered with free tools. Here is where they live, how to clear them, and what Microsoft recommends.
Windows 11 thumbnail cache exposes deleted photo traces Nerds Magazine © nerdsmagazine.com
Windows 11 thumbnail cache exposes deleted photo traces © nerdsmagazine.com

Delete a photo in Windows 11. Think it is gone? Not always. If File Explorer ever showed a preview, a small copy can stick around in the system's thumbnail cache. It hides in a database, even after you erase the original file.

This is not a glitch. Windows does this on purpose. The system stores previews in thumbcache files inside your user profile to speed up folder browsing. Here is how it works: when File Explorer or any app using its cache shows a preview, Windows makes a smaller image and saves it in a database. The files are named thumbcache_32.db, thumbcache_96.db, thumbcache_256.db, or thumbcache_1024.db, depending on the size. You will find them in %LocalAppData%\Microsoft\Windows\Explorer. They are hidden, but not locked away. BetaNews reports this location and file structure have stayed the same in recent Windows versions. Microsoft's own documentation calls the cache a speed boost, not a privacy risk.

Microsoft allows applications to request thumbnails without saving them to the cache by using the WTS_EXTRACTDONOTCACHE flag, ensuring that not all previews are permanently stored.

Raymond Chen

The story blew up after @Ayzacoder posted on X. The claim: Windows keeps a thumbnail of every photo you ever deleted. Thumbcache_256.db was named as proof. The post said forensic examiners pull these files all the time. It went viral-1.7 million views. But the claim was off. Not every deleted photo leaves a thumbnail. Only images that File Explorer actually previewed are cached. Downloading or copying a photo does nothing unless you view it in a folder with previews turned on. Windows Latest found the cache only fills up when a preview is made. Just having a file or moving it does not add it to the cache.

Windows Latest put this to the test. They downloaded three images, opened and deleted them, then checked the thumbcache files. No new thumbnails showed up. Even after a reboot, nothing changed. BetaNews saw the same thing. Thumbnails only appear when File Explorer shows a preview. They do not last forever. New previews can overwrite old ones. The cache rebuilds as you browse.

Forensic analysts have known about thumbcache files for years. Free tools like Thumbcache Viewer can pull these previews from Windows Vista up to Windows 11. Pen Test Partners have shown how investigators can find traces of files that once passed through a disk, even if the originals are gone. The thumbnails are low-res, but bigger previews can still show enough to identify what was in a photo.

Practical tests by independent publications have shown that after downloading, opening, and deleting images, no new entries appeared in the thumbcache, and the cache did not change after a reboot. This demonstrates that thumbnail presence depends on whether the file was actually previewed.

Windows Latest

Microsoft is open about this. Its documentation for the NoCacheThumbNailPictures policy spells out the risk. Anyone with access to your user profile can read the thumbnail cache. On shared or work computers, Microsoft says to turn off thumbnail caching. This policy is in Pro, Enterprise, and Education editions. It works at the user level with the NoThumbnailCache registry key.

Clearing the cache is easy. The fastest way is Disk Cleanup. Press Windows + R, type cleanmgr, pick your drive, check "Thumbnails," and confirm. Pro, Enterprise, and Education users can set the policy in Group Policy Editor. Home edition users can stop new thumbnails by turning on "Always show icons, never thumbnails" in Folder Options. This does not erase old cache files. For a manual wipe, close File Explorer and delete the thumbcache_*.db files. Windows will make new ones as you browse.

These steps do not touch your real photos. Only folder preview speed changes, and that comes back as new thumbnails are made. The real risk is on shared devices, laptops sent for repair, or disks given away without wiping. On a single-user PC with disk encryption, the risk is low.

The viral post got the process right but the scale wrong. Windows 11 does not keep a secret gallery of every deleted photo. But if you viewed a sensitive image in File Explorer, its thumbnail might stay in the cache until you clear it. If privacy matters-especially on shared or work computers-Disk Cleanup and the right policy settings are a must. Traces left by modern devices go far beyond thumbnails. But this is one digital footprint you can erase.

Topics:
Windows Privacy & Data Security #Operating Systems & Release Families #Windows 11
Ethan Cole Senior Technology Editor and PC troubleshooter Nerds Magazine
Senior Technology Editor

Ethan Cole

Ethan Cole is a Senior Technology Editor at NerdsMagazine covering Windows, PC hardware, troubleshooting, upgrades, gaming PCs, and system performance. His hands-on IT background shapes a diagnostic, reader-first approach that favors safe fixes, measurable improvements, and sensible upgrade decisions over hype or unnecessary replacement.