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
3 = Allow
1 Do step 2 (enable) or step 3 (disable) below for what you would like to do.
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
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 You can now delete the downloaded .reg file if you like.
That's it,
Shawn
Related Tutorials
- How to Clear and Reset the Thumbnail Cache in Windows 10
- How to Change Automatic Maintenance Settings in Windows 10
- How to Enable or Disable Automatic Maintenance in Windows 10
- Set Disk Cleanup to Have All Items Checked or Unchecked by Default in Windows 10
- How to Enable or Disable Automatic Maintenance to Wake Up Computer in Windows 10
- How to Specify Automatic Maintenance Time to Run in Windows 10