Since Windows 10 Fall Creators Update the thumbnail cache automatically gets deleted, this can be annoying and it creates unnecessary write cycles on your SSD which decrease the lifespan, it’s not a drama but it’s simply an unwanted behavior because the Explorer is forced to re-create the thumbnails again and again after each reboot.
What is causing the issue?
Windows own SilentCleanup task triggers the Disk Cleanup tool which then deletes the thumbnail cache. The Automatic Maintenance task can delete e.g. %TMP% folder, check your HDD among other things.
The thumbnail cache for each user is stored as separate .db file located under:
You should not delete the entire task because it’s too useful, instead disabling this specific behavior is enough.
;On 64-bit systems only
Create or change the following value:
Windows Registry Editor Version 5.00
Most tools disabling everything, in this case maybe the Automatic Maintenance process, this is not needed and not a good idea, changing this little toggle is simply enough and does the trick.
Why MS implemented this is a little beyond me, in my opinion this should be set by default as opt-in option because I see no reason why someone really want to delete the thumbnail cache each reboot, most people just disable the creation of thumbnails in general when they don’t like them.