TechBuzzPro

How to Clear Thumbnail Cache on Windows 11

· 4 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

Clearing the thumbnail cache on Windows 11 forces the system to regenerate preview images for files, which can fix slow folder loading, distorted previews, or missing icons. This is a safe, non-destructive process that uses no third-party tools and requires no special permissions beyond standard user access. It does not delete your files—only their cached preview images.

What You'll Need

  • A Windows 11 computer with administrator access (standard user accounts can perform this)
  • Time: the process takes under 5 minutes, though regeneration may take longer depending on folder size
  • File Explorer open to a folder with many images, videos, or documents to test results

Step-by-Step

  1. Press Windows + R to open the Run dialog box.
  2. Type cmd and press Ctrl + Shift + Enter to open Command Prompt as administrator. If prompted by User Account Control, click Yes.
  3. In the Command Prompt window, type the following command and press Enter: ie4uinit.exe -ClearIconCache
  4. Close the Command Prompt window.
  5. Press Windows + R again, type %localappdata%\Microsoft\Windows\Explorer, and press Enter. This opens the Explorer folder where thumbnail cache files are stored.
  6. Look for files named thumbcache_*.db (e.g., thumbcache_256.db, thumbcache_32.db, thumbcache_96.db, thumbcache_1024.db). Select all of them by pressing Ctrl + A.
  7. Press the Delete key. If prompted that the files are in use, skip them—do not force delete. Only delete files that allow deletion.
  8. Restart your computer. This ensures Windows rebuilds the cache from scratch with fresh thumbnails.

Common Mistakes

  • Deleting the wrong folder: Some guides suggest deleting files in C:\Windows\Temp or %appdata%. These locations do not store thumbnail cache and may cause unintended issues.
  • Using third-party cleaners: Tools like CCleaner may claim to clear thumbnail cache, but they often miss or misidentify the correct files. Manual deletion is more reliable and safe.
  • Deleting files while File Explorer is open: If you attempt to delete thumbcache_*.db files while browsing folders, Windows may lock them. Always close all File Explorer windows before deletion, or reboot first.
  • Assuming deletion fixes all preview issues: If thumbnails are corrupted due to graphics driver errors or corrupted system files, clearing the cache alone won’t help. You may need to update drivers or run SFC.
  • Expecting instant results: After deletion, thumbnails regenerate on-demand as you open folders. Large photo libraries may take minutes to rebuild fully.

Tips

  • Clear the cache after installing major Windows updates or graphics drivers—new versions often change how thumbnails are rendered.
  • If you frequently work with high-resolution images or videos, consider disabling thumbnail caching entirely: go to Settings > Personalization > Themes > Desktop icon settings > uncheck "Show thumbnail for all files" (this reduces disk I/O but shows generic icons).
  • Use File Explorer’s "Details" view as a fallback if thumbnails are slow to load. It shows file names, sizes, and dates without generating previews.
  • Run Disk Cleanup (type "Disk Cleanup" in Start menu) periodically—it automatically removes old thumbnail caches along with temporary files.
  • After clearing the cache, avoid opening folders with thousands of images at once. Let Windows build thumbnails incrementally to prevent freezing.

Troubleshooting

If thumbnails still do not appear after clearing the cache and restarting:

  1. Check File Explorer settings: Go to View > Options > Change folder and search options > View tab. Ensure "Display file icon on thumbnails" is checked and "Always show icons, never thumbnails" is unchecked.
  2. Restart Windows Explorer: Press Ctrl + Shift + Esc to open Task Manager. Find "Windows Explorer" under Processes, right-click it, and select "Restart".
  3. Run System File Checker: Open Command Prompt as administrator again and type sfc /scannow. Let the scan complete—it repairs corrupted system files that may affect thumbnail rendering.
  4. Update graphics drivers: Go to Device Manager > Display adapters > right-click your GPU > Update driver. Outdated drivers are a common cause of thumbnail rendering failures.
  5. Check for disk errors: Open Command Prompt as admin and run chkdsk C: /f. You’ll be prompted to schedule the scan on next restart. Allow it to run.
  6. Reset File Explorer: If nothing works, go to Settings > Apps > Installed apps > find "File Explorer" > three dots > Advanced options > Reset. This resets UI settings but does not delete personal files.

Frequently Asked Questions

Will clearing the thumbnail cache delete my photos or videos?

No. The cache only stores preview images generated by Windows. Your original files remain untouched and fully intact.

How often should I clear the thumbnail cache?

Only when you notice slow folder loading, missing thumbnails, or distorted icons. For most users, this happens once every few months or after major system updates.

Can I clear the cache without restarting?

Yes, but restarting ensures the cache is fully rebuilt. You can also restart Windows Explorer via Task Manager, but a full reboot is more reliable.

Why do some thumbnails still appear after deletion?

Windows regenerates thumbnails on-demand. If you open a folder immediately after deletion, Windows may temporarily show cached content from memory. Restarting clears memory caches too.

Does this work on external drives or network folders?

Yes. Thumbnail cache is stored locally, but Windows generates previews for external and network content too. Clearing the cache will force those previews to regenerate when you next access those folders.

Is there a way to automate this process?

Not officially. You can create a batch file to delete the files and schedule it with Task Scheduler, but this is not recommended. Manual clearing is safer and avoids unintended file loss.