Home › Knowledgebase › KB-410

How to fix and clear the Windows thumbnail cache when File Explorer previews show old or incorrect images

Summary

This guide helps you troubleshoot and resolve: How to fix and clear the Windows thumbnail cache when File Explorer previews show old or incorrect images. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

If File Explorer is showing outdated, broken, or incorrect preview images for your photos, videos, or documents, the issue is almost always a corrupted or stale thumbnail cache. Windows stores these small preview images in a hidden system folder so it can display them quickly. When that cache becomes damaged, the previews stop refreshing properly.

This guide will walk you through clearing and rebuilding the thumbnail cache in Windows 10 and Windows 11 using built-in tools, plus a manual method if the standard approach does not work.

Clear the Thumbnail Cache Using Disk Cleanup

Disk Cleanup is the recommended approach because it safely removes only the thumbnail files without affecting your personal data.

  1. Press Win + S to open search, type Disk Cleanup, and press Enter.
  2. Select the drive where Windows is installed (usually C:) and click OK.
  3. Click Clean up system files. You may be prompted for administrator permission or to select the drive again.
  4. Wait for Disk Cleanup to scan, then scroll through the list and tick Thumbnails.
  5. Click OK, then Delete Files to confirm.
Important: Close all open applications, especially File Explorer, web browsers, and image editing programmes, before clearing the cache. Some programmes may lock thumbnail cache files, preventing them from being deleted.
Tip: The first time you open a folder after clearing the cache, thumbnails may take a few seconds longer to appear while Windows rebuilds them. Folder browsing may feel slower temporarily until the cache regenerates. This is normal.

Manually Delete the Thumbnail Cache Folder

If Disk Cleanup does not resolve the issue, or you want more control over the process, you can delete the cache files manually. This method requires File Explorer to be closed and may need administrative privileges.

  1. Close all open File Explorer windows and any other applications that may be accessing image files.
  2. Press Win + R to open the Run dialog.
  3. Type the following path and press Enter:
    %LocalAppData%\Microsoft\Windows\Explorer
  4. In the folder that opens, look for files named thumbcache_*.db (for example, thumbcache_16.db, thumbcache_32.db, and so on).
  5. Select all thumbcache_*.db files, press Delete, and confirm.
  6. If you receive a permission error, right-click the files, choose Properties, then the Security tab, and verify your account has full control. Alternatively, try the steps from an elevated Command Prompt (see Method 3 below).
Important: Only delete files that begin with thumbcache_. Do not delete other files in the Explorer folder, as some are required for Windows shell features to function correctly.

Clear the Cache Using Command Prompt

For users comfortable with the command line, or when the manual method is blocked by permissions, an elevated Command Prompt provides a reliable alternative.

  1. Click Start, type cmd, then right-click Command Prompt and choose Run as administrator.
  2. Click Yes on the User Account Control prompt.
  3. Type the following commands one at a time, pressing Enter after each:
    taskkill /f /im explorer.exe
    del /a /q "%LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db"
    start explorer.exe
  4. Wait for File Explorer to restart, then open a folder containing images to confirm thumbnails are regenerating correctly.
Tip: The first taskkill command closes File Explorer so the cache files are not locked. The start command relaunches it once the files have been removed.

Alternative Method: Windows 11 Cleanup Recommendations

Windows 11 includes a Storage settings feature called Cleanup recommendations that can also remove temporary files, including thumbnail cache data.

  1. Click Start, then select Settings (the gear icon).
  2. Choose System from the left-hand menu.
  3. Click Storage.
  4. Under Storage management, click Cleanup recommendations.
  5. Review the list of temporary files. If Thumbnail cache or similar temporary files appear, tick them.
  6. Click Clean up to remove the selected files.

Adjusting Thumbnail Display Settings

After clearing the cache, you may want to confirm that File Explorer is set to display thumbnails rather than generic icons. If thumbnails are turned off, Windows will never generate them in the first place.

Windows 11

  1. Open File Explorer from the taskbar.
  2. Click the ... (See more) menu in the command bar at the top of the window.
  3. Choose Show, then select Thumbnails if it is not already ticked.
  4. Switch the layout to Large icons or Extra large icons to confirm thumbnails are rendering correctly.

Windows 10

  1. Open File Explorer from the taskbar.
  2. Click the View tab on the ribbon at the top of the window.
  3. Select Large icons, Medium icons, or Extra large icons from the Layout section.

Folder Options (Windows 10 and Windows 11)

  1. In File Explorer, click the ... menu (Windows 11) or View tab (Windows 10), then choose Options.
  2. In the Folder Options window, open the View tab.
  3. Under Advanced settings, ensure Always show icons, never thumbnails is not ticked.
  4. Optionally, tick Display file icon on thumbnails and Display file size information in folder tips if desired.
  5. Click Apply, then OK.

Troubleshooting

Thumbnails Still Show Old Images After Clearing

If the cache has been cleared but File Explorer is still showing outdated previews, try the following:

Thumbnails Do Not Appear At All

If no thumbnails are generated after rebuilding the cache, the issue may be related to a damaged system file or a third-party shell extension interfering with Explorer.

If you have completed these steps and thumbnails are still not displaying correctly, please Open a Ticket for further assistance from our support team.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket