Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Thumbnail Cache - Clear and Reset


Thumbnail Cache - Clear and Reset

How to Clear and Reset Thumbnail Cache in Windows
Published by Brink
22 May 2009
Published by

How to Clear and Reset Thumbnail Cache in Windows


information   Information
By default, Windows stores the images for thumbnail previews in cache memory so that it can redisplay the images quickly each time you reopen a folder in Windows Explorer (Vista and Windows 7) or File Explorer (Windows 8).

This tutorial will show you how you to clear and reset the thumbnail cache to force Windows to reload the thumbnail picture views into the cache again as needed as you open folders.

Note   Note
The thumbnail cache .db files are located in the hidden system folder location below:

C:\Users\User-Name\AppData\Local\Microsoft\Windows\Explorer

You may want to clear the thumbnail cache if the Windows Explorer thumbnail pictures have become corrupted and not displaying properly, or the thumbnail cache file has become to large and you want to clear some hard disk space.




CONTENTS:
  • Option One: To Clear and Reset Thumbnail Cache using Disk Cleanup
  • Option Two: To Clear and Reset Thumbnail Cache using a BAT File



OPTION ONE
To Clear and Reset Thumbnail Cache using Disk Cleanup
1. Open Disk Cleanup.

2. Check the Thumbnails box, and click/tap on OK. (see screenshot below)
Name:  Clear1.jpg
Views: 143973
Size:  72.9 KB
3. Click/tap on the Delete Files button. (See screenshot below)
Name:  Clear2.jpg
Views: 142294
Size:  17.7 KB
4. Disk Cleanup will now clear the thumbnail cache and close.



OPTION TWO
To Clear and Reset Thumbnail Cache using a BAT File
1. Click on the Download button below to download the BAT file below.
Clear_and_Reset_Thumbnail_Cache.bat

download
2. Save the .bat file to your desktop.

3. Run the .bat file.

4. If prompted, click on Run.
NOTE: If you like, you can stop getting the Run prompt by unblocking the downloaded .bat file.

5. Follow the instructions in the command prompt to clear and reset your thumbnail cache.
-reset_thumbnail_cache_command.png



That's it,
Shawn



22 May 2009   #1
Captain Zero

Windows 7 Home Premium x64
 
 

Yet another awesome tutorial. Kudos Brink!


My System SpecsSystem Spec
22 May 2009   #2
Brink

64-bit Windows 10 Pro
 
 

You're welcome Captain Zero. Thank you.
My System SpecsSystem Spec
13 Jan 2010   #3
Jeff P

Win 7 Home Premium
 
 

Shawn:

That is nice and simple ... it just doesn't seem to work. I watch the folder where the cache files are stored, they get deleted alright but then they almost immediately reappear (within 5-10 seconds). When I reopen the folder where I was trying to refresh the thumbnails, the old thumbnails (which do not match the actual files that were edited) are still there.

I assume there is some setting that needs to change so that the old thumbnail files do not just get immediately restored and the OS is forced to create new ones as folders get opened. Do you know what change is needed?

Thanks.

Jeff
My System SpecsSystem Spec
.

13 Jan 2010   #4
Brink

64-bit Windows 10 Pro
 
 

Hello Jeff, and welcome to Seven Forums.

You might see if using the free program CCleaner to delete the thumbnail cache in Windows 7 may work better for you instead.

-ccleaner.jpg

Hope this helps,
Shawn


My System SpecsSystem Spec
13 Jan 2010   #5
Jeff P

Win 7 Home Premium
 
 

Shawn:

Thanks for the reply. I downloaded CCleaner and used it just to try to fix the Thumbnail Cache. I don't see any changes to the thumbnails in the folders. They still do not match the picture in the file. Do you have any ideas why these thumbnails will not refresh? Thanks!

Jeff
My System SpecsSystem Spec
14 Jan 2010   #6
Brink

64-bit Windows 10 Pro
 
 

Jeff,

You might also see if rebuilding the icon cache may help, but try running a sfc /scannow command to.
My System SpecsSystem Spec
14 Jan 2010   #7
Jeff P

Win 7 Home Premium
 
 
Thumbnails still messed up

Shawn:

The rebuild of the icon cache followed by a flushing of the thumbnail files using disk clean didn't make a difference. The thumbnails remain as they were.

When I ran the sfc /scannow command I did get some errors that could not be repaired. The log file is attached (if you have time and the inclination to scan it). the errors appear to be related to printing so I don't think they are relevant to the problem at hand (but I'm not a Window systems guy).

Any ideas?

Jeff


Attached Files
File Type: txt sfcdetails.txt (36.6 KB, 1053 views)
My System SpecsSystem Spec
15 Jan 2010   #8
Brink

64-bit Windows 10 Pro
 
 

Jeff,

You might see if toggling thumbnail previews off an on may reset it to show properly afterwards.

No, the tcpmon.ini file wouldn't have anything to do with this. However, here is a clean copy of it below to replace your corrupted one with. You would just need to take ownership of your C:\Windows\System32\tcpmon.ini file and "Allow" "Full Control" of it to your user account, then copy and replace it with the new one.


Attached Files
File Type: zip tcpmon.zip (7.4 KB, 1027 views)
My System SpecsSystem Spec
15 Jan 2010   #9
Jeff P

Win 7 Home Premium
 
 

Shawn:

I believe a co-worker pointed me to the real problem. There is a thumbnail image embedded within the jpeg file that matches the original uncropped image. Flushing the the thumbnail cache will never fix the issue I have because Windows will just reload the original picture from the original, uncropped thumbnail stored within the cropped image. I need to physically go into the jpeg file and figure out how to rewrite the thumbnail to match the current form of the image. So its googling I go ....

I do want to thank you for all of your help. If you do have ideas about where I might find a utility that can automatically rewrite the internal thumbnail file to match the cropped version of the image I'd love to hear them.

Take care.

Jeff
My System SpecsSystem Spec
Comment

 Thumbnail Cache - Clear and Reset




Tutorial Tools




Similar help and support threads
Windows 7 Tutorial Category
Can't clear Opera browser cache
I can't figure out how to empty the cache in this browser , is there a settings area? Thanks
Browsers & Mail
Cleaning Thumbnail Cache
I've always cleaned the Thumbnail Cache using CCleaner but after doing some reading I'm a little unclear as to the benefit. As I understand it if I clean the TC, each time I open a folder it will need to rebuild the thumbnails. I believe this slows things down. Is there a benefit to not...
Performance & Maintenance
Thumbnail Cache Reset And Clear
Hi My Thumbnail Cache In The Windows 7 64Bit SP1 Is Reset automatically And It Driving Me Crazy. What Can I Do ? It Started One Month Ago I Never Had This Problem ! I Open All My Files And Everything Is Ok , After 1 Hour Everything Is Reset And I Need To Load All The Files Again !
General Discussion
Thumbnail cache
I modified some files in OS, like: imageres.dll, explorerframe.dll, pnidui.dll and SndVolSSO.dll When i use Ccleaner, do i have to uncheck the option " Thumbnail Cache " ?! Thanks.
General Discussion
Question about Thumbnail Cache
I have always avoided deleting thumbnail cache when cleaning my PC, both manually and with Ccleaner. Currently, my thumbnail cache is ~ 180MB. My simple question is: if I delete the thumbnail cache, will I lose any embedded album art from my AAC (.m4a) files?
General Discussion
Thumbnail Cache
Ive got some questions about the Thumbnail Cache, excuse me if I'm in the wrong topic I wasn't sure were to put this. ---- Windows Disk clean up and Ccleaner both clear the Thumbnail Cache, why is this? Why would it be good to clear it out? Also what exactly is the Thumbnail Cache? Thanks!...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App