User Agents

Web browsers and everyday web tech, explained

Clear Thumbnail Cache in Windows 10: Step-by-Step Guide

· 6 min read · Cookies and Cache

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 in Windows 10 forces the operating system to delete the stored preview images of your files and regenerate them from scratch. This process is essential when you encounter "broken" thumbnails—such as generic icons appearing instead of image previews, outdated images showing after a file has been edited, or corrupted visuals that prevent you from identifying files. By wiping the cache, you resolve these visual glitches and ensure that File Explorer displays the most current version of your media assets.

What You'll Need

  • A computer running Windows 10.
  • Administrative privileges (required to access certain system cleanup tools).
  • A few minutes of downtime, as the system will temporarily use more CPU resources to rebuild the cache after it is cleared.

Step-by-Step

  1. Open the Disk Cleanup Utility: Click on the Start menu and type "Disk Cleanup" into the search bar. Right-click the Disk Cleanup app from the search results and select "Run as administrator." This ensures the tool has the necessary permissions to delete protected system files.
  2. Select the System Drive: If prompted to select a drive, choose the drive where Windows is installed (usually the C: drive) and click OK. The utility will then scan the drive for unnecessary files that can be safely removed.
  3. Locate Thumbnails in the List: Once the scan is complete, a list of file categories will appear in the window. Scroll through the list of checkboxes until you find "Thumbnails." Note that other options like "Temporary files" or "Recycle Bin" may be checked by default; you can leave those or uncheck them if you only wish to target the thumbnail cache.
  4. Enable Thumbnails for Deletion: Check the box next to "Thumbnails." This specifically targets the database files where Windows stores the small preview images for your photos, videos, and documents.
  5. Execute the Cleanup: Click the OK button at the bottom of the window. A confirmation dialog will appear asking if you are sure you want to permanently delete these files. Click "Delete Files."
  6. Verify the Result: Open File Explorer and navigate to a folder containing images or videos. You may notice a slight delay as Windows regenerates the thumbnails. If the previous issues (such as blank icons or wrong images) are gone, the process was successful.
  7. Alternative Method via Command Prompt: If Disk Cleanup does not work, you can manually clear the cache. Open the Command Prompt as an administrator. Type taskkill /f /im explorer.exe and press Enter to stop File Explorer. Then, type del /f /s /q %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db and press Enter. Finally, type start explorer.exe to restart the user interface.

Common Mistakes

One of the most frequent errors users make is failing to run Disk Cleanup as an administrator. When run as a standard user, some system-level cache files remain locked and cannot be deleted, meaning the "Thumbnails" option may either be missing or fail to actually clear the corrupted files. Always ensure the administrative prompt is used for a complete wipe.

Another common mistake is confusing the thumbnail cache with the browser cache. Clearing your history or cache in Google Chrome or Microsoft Edge will not fix broken image previews in your local Windows folders. These are two entirely separate storage mechanisms; one is for web assets and the other is for local file system metadata.

Some users attempt to manually delete the thumbcache files in the AppData folder while File Explorer is still running. Because File Explorer actively uses these database files to display your folders, the system will either block the deletion or the files will immediately reappear. You must terminate the explorer.exe process via Task Manager or Command Prompt before attempting manual deletion of the .db files.

Tips

To maintain a healthy system, consider scheduling a monthly Disk Cleanup. While thumbnails aren't the most resource-heavy part of the cache, a build-up of temporary files and shader caches can occasionally slow down the responsiveness of the shell. Using the "Clean up system files" button within the Disk Cleanup tool allows you to target deeper archives, such as old Windows Update installations, which frees up significant disk space.

If you find that thumbnails are consistently failing to load even after a cache clear, check your Folder Options. In File Explorer, go to the View tab, select Options, and click "Change folder and search options." Under the View tab, ensure that the box "Always show icons, never thumbnails" is unchecked. If this box is checked, Windows will never attempt to generate a preview, regardless of how many times you clear the cache.

For those working with very large libraries of high-resolution RAW images or 4K video files, you might notice that regenerating the cache takes a long time. To speed this up, avoid opening multiple large folders simultaneously immediately after clearing the cache. Let the system process one directory at a time to prevent the CPU from spiking and slowing down the entire OS.

Troubleshooting

If the thumbnails are still not appearing after following the steps above, the issue may be related to a third-party codec. Windows 10 relies on specific codecs to generate previews for certain video formats (like .mkv or .hevc). If the thumbnail is a generic icon, try installing a codec pack or a dedicated media player that integrates with the Windows shell to provide these previews.

In cases where the Disk Cleanup tool reports that it cannot delete the files, it is usually because a background process is still accessing the cache. A full system restart is the most effective way to release these locks. After restarting, immediately run the Disk Cleanup tool before opening any folders containing images, as opening a folder will trigger the system to lock the cache files again.

If you experience a "Permission Denied" error when using the Command Prompt method, double-check that you launched the prompt using "Run as administrator." Even if you are logged into an admin account, the Command Prompt requires an explicit elevation of privileges to modify files within the LocalAppData directory of the system profile.

If your thumbnails are corrupted and the cache clear doesn't fix it, the issue might be with the files themselves or the drive's file system. Run the Check Disk utility by typing chkdsk /f in an administrative Command Prompt. This will scan for file system errors that might be preventing the OS from reading the image data necessary to create a thumbnail.

Frequently Asked Questions

Will clearing the thumbnail cache delete my actual photos?

No. The thumbnail cache only stores small, low-resolution copies of your images used for previews. Deleting the cache does not affect your original photos, videos, or documents in any way.

Why do my thumbnails keep disappearing or breaking?

This often happens due to software updates, changes in file extensions, or disk errors. It can also occur if you have a very large number of files in a single folder, causing the database to become bloated or corrupted.

Does clearing the cache slow down my computer?

Initially, yes. Because Windows must recreate every single preview image from the original files, you may notice a temporary increase in CPU and disk usage. Once the cache is rebuilt, performance returns to normal.

Can I disable thumbnails entirely?

Yes. In File Explorer Options under the View tab, you can check "Always show icons, never thumbnails." This is useful for users with very slow hard drives who prefer speed over visual previews.

How often should I clear my thumbnail cache?

There is no set schedule. You should only clear it when you notice visual glitches, incorrect previews, or if you are performing a general system cleanup to reclaim a small amount of disk space.

Does this work for external hard drives?

Yes. While the cache is stored on your primary C: drive, it contains previews for files located on external drives. Clearing the central cache will force Windows to re-scan the external drive and generate new previews.