Prevent Windows 10 From Deleting Thumbnail Cache

Windows 10 File Explorer Icon

In Windows 10, File Explorer is able to show small previews for image and video files you have stored on your disk drive. To speed up this process, it uses a cache file hidden in the user profile directory. When a file is cached, File Explorer reuses the thumbnail from the cache to show it instantly. Some users have noticed that Windows 10 deletes the thumbnail cache automatically.

When this happens, File Explorer becomes terribly slow because it takes time again to re-generate the thumbnail for every file and cache it, so the process takes a lot of time and creates a notable CPU load for no reason. This is very unfortunate when you are browsing a folder which contains lots of images.

By default, Windows 10 stores the thumbnail cache in *.db files under the following folder:

C:\Users\you user name\AppData\Local\Microsoft\Windows\Explorer

Why Windows 10 is deleting the thumbnail cache

Starting with Windows 10 Fall Creators Update, the operating system keeps deleting the thumbnail cache after a restart or a shutdown, so File Explorer has to recreate the thumbnails again for your folders with images.

This happens because of the updated Automatic Maintenance feature. As you may already know, Windows 10 runs a number of maintenance tasks automatically. When enabled, it performs various actions like app updates, Windows updates, security scans and many other things. By default, Automatic Maintenance is set to wake up your PC and run maintenance tasks at 2 AM.

One of the tasks removes 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.

Luckily, it is easy to exclude the thumbnail cache from the cleanup process. This can be done with a simple Registry tweak.

Prevent Windows 10 from deleting the thumbnail cache

To prevent Windows 10 from deleting the thumbnail cache, do the following.

  1. Open the Registry Editor app.
  2. Go to the following Registry key.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache

    See how to go to a Registry key with one click.

  3. On the right, modify or create a new 32-Bit DWORD value Autorun.
    Note: Even if you are running 64-bit Windows you must still create a 32-bit DWORD value.
    Set its value data to 0.
  4. If you are running a 64-bit Windows version, you must again set the Autorun value to 0 under another Registry key
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache
  5. Restart Windows 10.

Tip: This way, you can exclude other caches and files from being removed by Automatic Maintenance.

To save your time, you can download the following Registry files.

Download Registry Files

Use them to stop Windows 10 from deleting the thumbnail cache or any other locations that you don't want Windows to clean up automatically. The undo tweak is included.

Finally, you can use Winaero Tweaker. To prevent Windows 10 from deleting the thumbnail cache, enable this option:


You can download the app here: Download Winaero Tweaker.

Articles of interest:

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

8 thoughts on “Prevent Windows 10 From Deleting Thumbnail Cache”

  1. A great advise! I’ve been thinking for a long time now that it’s time to reinstall Windows ’cause everything’s loading so slow.

  2. Thanks, Sergey, for the registry files.
    Any chance you include this tweak in a future update of Winaero Tweaker ?

  3. Awesome! This should work for Windows 7 and Windows 8.1 as well. Hoping to see this in Winaero Tweaker :)

  4. This is included in Winaero Tweaker 0.14.0.0 and works fine on x86 systems. However, on x64 systems it does not change the Autorun value at
    “HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache”

    Perhaps you can either add an architecture detection routine the app so it can load proper tweaks when needed or maybe even just another check box or change them both to buttons one for 32-bit and one for 64-bit.

  5. Thanks for a great tool! It would be helpful if you kept the online naming in accordance to what it is called in Windows Tweaker.
    “Prevent Windows 10 From Deleting Thumbnail Cache” online refers to “KEEP THUMBNAIL CACHE” in Windows Tweaker. Most people won’t have any problem understanding that, but it seems that you have been consistent in naming the other references. It is small change, but might be important?

Leave a Reply

Your email address will not be published.

Exit mobile version
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.