Published by


Brink's Avatar
Administrator

Posts: 30,693

Show Printable Version 


How to Prevent Windows 10 from Deleting Thumbnail Cache


Windows keeps a copy of all your folder, picture, video, and document thumbnails in a cache so they can be reused to quickly display when you open a folder instead of having to manually scan and slowly load them each time.

Starting with Windows 10 Fall Creators Update, Windows keeps automatically deleting the thumbnail cache after a restart or a shutdown, so File Explorer has to recreate the thumbnails again.

The Automatic Maintenance feature is responsible for this when enabled. One of many tasks Automatic Maintenance performs is to remove temporary files in your %TEMP% directory, temporary Internet files, old driver versions, and the thumbnail cache. It is called "SilentCleanup" and launches the Disk Cleanup tool with a special command line argument, /autoclean. This makes the cleamgr.exe tool read the cleanup presets in the Registry. For every enabled preset, the app performs cleanup on the system drive.

If wanted, you can disable the thumbnail cache preset to stop the thumbnail cache from automatically being deleted by Automatic Maintenance whenever it performs a "SilentCleanup".

This tutorial will show you how to allow or prevent Windows 10 from automatically deleting the thumbnail cache after a restart or shutdown as part of Automatic Maintenance.

You must be signed in as an administrator to allow or prevent Windows 10 from automatically deleting the thumbnail cache.

The thumbnail cache for each user is stored as .db files located in the hidden folder below.

%LocalAppData%\Microsoft\Windows\Explorer
(C:\Users\{user-name}\AppData\Local\Microsoft\Windows\Explorer)



Here's How:

The downloadable .reg files below will modify the DWORD in the registry keys below.

(32-bit and 64-bit)
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache

(64-bit only)
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache

Autorun DWORD

0 = Prevent
1 = Allow


1. Do step 2 (enable) or step 3 (disable) below for what you would like to do.


 2. To Allow Windows 10 to Delete Thumbnail Cache as part of Automatic Maintenance

This is the default setting.

A) Click/tap on the Download button below for your 32-bit or 64-bit Windows 10, and go to step 4 below.

32bit-Allow_Windows_10_to_delete_thumbnail_cache-DEFAULT.reg

download

OR

64bit-Allow_Windows_10_to_delete_thumbnail_cache-DEFAULT.reg

download


 3. To Prevent Windows 10 from Deleting Thumbnail Cache as part of Automatic Maintenance

A) Click/tap on the Download button below for your 32-bit or 64-bit Windows 10, and go to step 4 below.

32bit-Prevent_Windows_10_from_deleting_thumbnail_cache.reg

download

OR

64bit-Prevent_Windows_10_from_deleting_thumbnail_cache.reg

download

4. Save the .reg file to your desktop.

5. Double click/tap on the downloaded .reg file to merge it.

6. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7. Restart the computer to apply.

8. If you like, you can delete the downloaded .reg file if you like.


That's it,
Shawn