How to Clear Thumbnail Cache on Windows 11
In this article
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
- Press Windows + R to open the Run dialog box.
- Type
cmdand press Ctrl + Shift + Enter to open Command Prompt as administrator. If prompted by User Account Control, click Yes. - In the Command Prompt window, type the following command and press Enter:
ie4uinit.exe -ClearIconCache - Close the Command Prompt window.
- Press Windows + R again, type
%localappdata%\Microsoft\Windows\Explorer, and press Enter. This opens the Explorer folder where thumbnail cache files are stored. - 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. - Press the Delete key. If prompted that the files are in use, skip them—do not force delete. Only delete files that allow deletion.
- 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\Tempor%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_*.dbfiles 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:
- 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.
- Restart Windows Explorer: Press Ctrl + Shift + Esc to open Task Manager. Find "Windows Explorer" under Processes, right-click it, and select "Restart".
- 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. - 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.
- 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. - 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.