Windows

How to Clear Windows Thumbnail Cache in Windows 11

Richard
Written by
Richard
Jun 22, 2022 Updated Apr 29, 2026 2 min read

Windows creates small preview images to help you see file contents without opening them. If these files get corrupted, Windows stops showing the preview and displays a generic icon instead. Clearing the cache forces Windows to generate new, healthy preview files.

Is it safe to clear the thumbnail cache?

Yes, it is completely safe. Clearing the thumbnail cache does not delete your actual photos, videos, or documents. It only removes the temporary preview database files. Windows will automatically rebuild these previews the next time you open a folder containing those files.

How often should I clear the thumbnail cache?

You do not need to clear it regularly. Only perform this task if you notice your folder icons are blurry, missing, or showing incorrect previews. If you find yourself doing this often, it may indicate a deeper issue with your hard drive or system files.

Why this happens: Understanding Cache Corruption

Windows stores these previews in a database file named thumbcache_*.db. Over time, as you add, move, or delete files, these database entries can become mismatched or corrupted. When the system tries to read a broken entry, the thumbnail fails to load, resulting in a generic icon or a blank space.

Method 1: Using Disk Cleanup (Easiest Way)

The Disk Cleanup tool is the safest way to remove temporary files. Note: This step requires administrative privileges.

  1. Open File Explorer and click This PC.
  2. Right-click your Local Disk (C:) and select Properties.
  3. Click the Disk Cleanup button.
  4. In the window that appears, check the box for Thumbnails.
    Disk Cleanup button in Windows 11 interface
  5. Click OK to delete the files.
    Clearing thumbnails database in Windows 11

Method 2: Automated Cleanup via Command Prompt

If you prefer a faster method, you can use the Command Prompt. Note: This step requires administrative privileges.

You must stop the Windows Explorer process first to unlock the files.

Command Prompt
del /f /s /q %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db

After running these commands, your desktop will disappear briefly. This is normal. Your icons will reappear once the cache is rebuilt.

Troubleshooting: Thumbnails Still Not Working?

If clearing the cache does not fix the issue, check your Folder Options:

  • Open File Explorer.
  • Click the three dots (…) at the top and select Options.
  • Go to the View tab.
  • Ensure the box Always show icons, never thumbnails is unchecked.
  • Click Apply and OK.

Summary

The thumbnail cache is a collection of temporary files that help your computer display previews quickly. When these files become corrupted, you may see broken icons. You can fix this by using the Disk Cleanup utility or the Command Prompt to delete the old database. Windows will then build a fresh, working cache automatically. This process is safe and will not harm your personal files.

Will clearing the cache delete my actual image files?

No, clearing the thumbnail cache will not delete your actual image files. It only removes the small, temporary preview images that Windows generates to speed up folder browsing. Your original photos, videos, and documents remain completely untouched and safe on your hard drive.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version