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.
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.
- Press
Win + Sto open search, type Disk Cleanup, and press Enter. - Select the drive where Windows is installed (usually
C:) and click OK. - Click Clean up system files. You may be prompted for administrator permission or to select the drive again.
- Wait for Disk Cleanup to scan, then scroll through the list and tick Thumbnails.
- Click OK, then Delete Files to confirm.
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.
- Close all open File Explorer windows and any other applications that may be accessing image files.
- Press
Win + Rto open the Run dialog. - Type the following path and press Enter:
%LocalAppData%\Microsoft\Windows\Explorer - In the folder that opens, look for files named
thumbcache_*.db(for example,thumbcache_16.db,thumbcache_32.db, and so on). - Select all
thumbcache_*.dbfiles, press Delete, and confirm. - 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).
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.
- Click Start, type cmd, then right-click Command Prompt and choose Run as administrator.
- Click Yes on the User Account Control prompt.
- Type the following commands one at a time, pressing Enter after each:
taskkill /f /im explorer.exedel /a /q "%LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db"start explorer.exe - Wait for File Explorer to restart, then open a folder containing images to confirm thumbnails are regenerating correctly.
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.
- Click Start, then select Settings (the gear icon).
- Choose System from the left-hand menu.
- Click Storage.
- Under Storage management, click Cleanup recommendations.
- Review the list of temporary files. If Thumbnail cache or similar temporary files appear, tick them.
- 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
- Open File Explorer from the taskbar.
- Click the ... (See more) menu in the command bar at the top of the window.
- Choose Show, then select Thumbnails if it is not already ticked.
- Switch the layout to Large icons or Extra large icons to confirm thumbnails are rendering correctly.
Windows 10
- Open File Explorer from the taskbar.
- Click the View tab on the ribbon at the top of the window.
- Select Large icons, Medium icons, or Extra large icons from the Layout section.
Folder Options (Windows 10 and Windows 11)
- In File Explorer, click the ... menu (Windows 11) or View tab (Windows 10), then choose Options.
- In the Folder Options window, open the View tab.
- Under Advanced settings, ensure Always show icons, never thumbnails is not ticked.
- Optionally, tick Display file icon on thumbnails and Display file size information in folder tips if desired.
- 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:
- Restart the computer again. Some thumbnail files remain locked until a full restart occurs.
- Empty the Recycle Bin if you used the manual deletion method.
- Check that your user account has full control over the Explorer folder. Right-click the folder, choose Properties, then the Security tab.
- Run the System File Checker to repair any underlying Windows component issues. Open an elevated Command Prompt and run
sfc /scannow.
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.
- Confirm Thumbnails is enabled under View > Show in File Explorer.
- Open Control Panel > System and Security > System and click System protection. Run a restore point if one is available from before the issue started.
- Boot into Safe Mode to see if thumbnails appear. If they do, a startup application or shell extension is likely the cause.
- Run the Deployment Image Servicing and Management (DISM) tool. Open an elevated Command Prompt and run
DISM /Online /Cleanup-Image /RestoreHealth, then restart your computer.
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?
💻 Open a Ticket