How to Reset Thumbnail Cache in Windows 10
In this article
Resetting the thumbnail cache in Windows 10 helps fix issues where file previews aren’t loading correctly, images appear corrupted, or folders show blank icons instead of thumbnails. This process clears out cached image data that may be outdated or damaged. You’ll need to restart your computer afterward for the changes to take effect.
What You'll Need
- A Windows 10 PC or laptop
- Administrator privileges or access to an admin account
- File Explorer open (optional but helpful)
Step-by-Step
- Press the Windows key + R to open the Run dialog box.
- Type cmd into the field and press Enter or click OK.
- In the Command Prompt window, type the following command exactly as shown:
taskkill /f /im explorer.exe
Press Enter to execute it. - After the command finishes executing, type this next command:
cd /d %localappdata%\Microsoft\Windows\Explorer
Again, press Enter. - Now delete the thumbnail cache files by typing this line:
del thumbcache_* /a /q
Press Enter after typing it. - Once deleted, restart File Explorer by typing:
start explorer.exe
and pressing Enter. - Finally, reboot your PC to ensure all changes are applied properly.
This entire sequence removes the thumbnail database and forces Windows to recreate it fresh, fixing most display-related issues in file explorers or image previews.
Common Mistakes
One common mistake users make is skipping the step of killing the explorer process. Without doing so, some files might not get cleared properly. Another mistake is typing incorrect commands—always double-check spelling and capitalization in the command prompt. Some people also forget to restart File Explorer after deleting the cache, which means thumbnails won’t regenerate until the next reboot.
Another frequent error involves attempting this procedure without administrator rights. While it’s sometimes possible to run these commands as a standard user, it’s best to log in as an admin to avoid permission errors. Also, not restarting the machine afterward can leave the system in a partially reset state, leading to recurring problems.
Tips
To avoid future corruption of thumbnails, keep your Windows OS updated regularly. Updates often include fixes for known bugs related to caches and displays. Additionally, consider disabling automatic thumbnail generation for larger media files if your system is slow or frequently crashes while browsing large folders.
If you use external drives or network locations heavily, those files may also cause thumbnail issues. In such cases, try clearing the cache for those specific paths too. You can find additional troubleshooting tips in Windows System Settings under "Storage" or through PowerShell scripts that automate the process more efficiently.
Troubleshooting
If resetting the cache didn’t fix your issue, first verify that you're using the correct command syntax. The commands must match exactly what’s listed above. If you receive an error like 'Access Denied', then you likely missed running the command prompt as an administrator.
Try running Command Prompt with elevated privileges by right-clicking the Start button and selecting "Command Prompt (Admin)" instead of just "Command Prompt." Then re-enter the commands step-by-step. If problems persist, try manually browsing to the folder mentioned in Step 4 and deleting the files yourself before restarting Explorer. Sometimes, especially on older systems, the cache may still exist even after deletion via command line tools. In rare cases, a full system restore or reinstall might be necessary, though this is rarely required.
Frequently Asked Questions
Why do I need to reset the thumbnail cache?
Thumbnail cache stores preview images of files like photos, videos, and documents. When they become corrupted or outdated, they can show missing or distorted previews. Resetting clears bad entries so Windows regenerates new ones based on actual file content.
Will resetting the thumbnail cache delete my files?
No, the process only removes temporary preview images stored in the cache directory. Your original files remain untouched during this operation.
Can I automate thumbnail cache reset with a script?
Yes, you can create a batch (.bat) file containing the same commands. Simply save the text below into a .bat file and run it whenever needed:
@echo off
taskkill /f /im explorer.exe
cd /d %localappdata%\Microsoft\Windows\Explorer
del thumbcache_* /a /q
start explorer.exe
How often should I reset the thumbnail cache?
Only reset when experiencing visual glitches with file previews. There’s no harm in doing it occasionally if you notice persistent issues, but it’s unnecessary for normal usage.
Is there a way to prevent thumbnail corruption?
Keeping Windows updated reduces chances of cache corruption. Avoid abruptly shutting down or restarting your PC while large files are being processed. Also, disable thumbnail generation for media-heavy directories if performance suffers.
Does this work on Windows 11 too?
Yes, the method works similarly on Windows 11. However, always confirm the folder structure matches (e.g., %localappdata%\Microsoft\Windows\Explorer), as paths may vary slightly across versions.