Windows 8 and 8.1 Forums


W8 keeps deleting thumbnail cache (changed folder permission)

  1. #91


    Posts : 32
    Arch x64 / Windows 8.1 Pro x64


    Responding from my new Windows 10 system after an about 20 minute upgrade. Unfortunately, it took out the Explorer backup on the go (even the one in Windows.old), so gonna have to recreate it.

    Anyway, to clarify, I'm talking about the video and image thumbnail preview sizes in Explorer (the default choices being Extra large icons, Large icons, Medium icons, etc.) - that is, whether it will be the same thumbcache_*.db both are saved into.

    If you have all of them in the same preview sizes, then that's just weird.

      My System SpecsSystem Spec

  2. #92


    Oh okay, I didn't check which file's which, just the total size of explorer folder.
      My System SpecsSystem Spec

  3. #93


    Florida
    Posts : 4
    Windows 8.1 x64


    Det87's scripts have been working for me just fine. However, every once in a while windows would still delete the cache if I left my computer idle for long periods of time, and then during shutdown the backup.bat file would pretty much be pointless.

    I still use the restore.bat file on system startup to replace the explorer thumbnails by copying from "Explorer - Copy" to "Explorer", but for backing up existing thumbnails I have been using FreeFileSync.

    Using FreeFileSync's RealtimeSync, I have it set to copy only updated files, deleting nothing. It does this in real time. Even if Windows, disk cleanup, or any third party utility deletes the cache, the changes are not reflected in the "Explorer - Copy" folder, so a simple system reboot restores all the thumbs!

    I have over 30 GB of images, totaling in well over 40,000. My thumbs for these files might disappear, but a restart always brings them back.

    Hope this helps some people.
      My System SpecsSystem Spec

  4. #94


    Can you tell me how exactly do you set freefilesync up?
      My System SpecsSystem Spec

  5. #95


    Posts : 6
    Windows 8.1


    I was wondering, is there a reason why executing the restoration script as an administrator breaks any shell i'm using? I've tested with both StartIsBack and Classic Shell on Windows 8.1. If I don't use Disk Cleanup to remove my thumbnails before restoring them, then within a day, the ThumbCacheToDelete folder shows up and the restore script stops working. I can make it work by running it as an administrator, but again, it breaks my shell and leaves me stuck with the standard Windows 8.1 experience(no start menu). Is there any way to have my computer automatically delete my thumbnails when I shut down so I don't have my thumbnails disappear while i'm using my computer?

    Quote Originally Posted by LoliHunter View Post
    Det87's scripts have been working for me just fine. However, every once in a while windows would still delete the cache if I left my computer idle for long periods of time, and then during shutdown the backup.bat file would pretty much be pointless.

    I still use the restore.bat file on system startup to replace the explorer thumbnails by copying from "Explorer - Copy" to "Explorer", but for backing up existing thumbnails I have been using FreeFileSync.

    Using FreeFileSync's RealtimeSync, I have it set to copy only updated files, deleting nothing. It does this in real time. Even if Windows, disk cleanup, or any third party utility deletes the cache, the changes are not reflected in the "Explorer - Copy" folder, so a simple system reboot restores all the thumbs!

    I have over 30 GB of images, totaling in well over 40,000. My thumbs for these files might disappear, but a restart always brings them back.

    Hope this helps some people.
    Could you give a quick rundown on how to perform this? Thanks.
    Last edited by Raiden Gekkou; 28 Oct 2014 at 09:05.
      My System SpecsSystem Spec

  6. #96


    Posts : 10
    Windows 8.1 Pro x64 Update 1


    Quote Originally Posted by windows8thumba View Post
    Is MS even aware of the thumbnail problem? This is 2014!
    Quote Originally Posted by Det87 View Post
    I think they are, but the "solution" has virtually never been helpful.
    Perhaps if you guys are trying the windows 10 tech preview, try to mention it via the feedback app. I've looked through the app, but of course the options under "File Explorer" are limited. So there's no good place to put it. But let us know if you make the feedback (and where in the app to look), and hopefully the members in this forum will "me too" it.
      My System SpecsSystem Spec

  7. #97


    Posts : 6
    windows 8.1


    Control panel-Indexing-modify-add folder with pictures to the index folder and wait until indexing is complete, reboot and everything is resolved
      My System SpecsSystem Spec

  8. #98


    Posts : 6
    Windows 8.1


    Quote Originally Posted by soryn11 View Post
    Control panel-Indexing-modify-add folder with pictures to the index folder and wait until indexing is complete, reboot and everything is resolved
    I checked and my picture locations are indexed by default, so nothing's changed.
      My System SpecsSystem Spec

  9. #99


    Quote Originally Posted by Det87 View Post
    I'll try to explain this a bit better. When the specific thumbnail databases exceed the allotted size (I think something like 50MB), they are moved to the ThumbCacheToDelete subfolder as "thmXXXX.tmp", and new empty .db's are created in their place. When the system boots up, the ThumbCacheToDelete ​folder is removed.

    Here's an overview of the location (C:\Users\<name>\AppData\Local\Microsoft\Windows\Explorer or %LocalAppData%\Microsoft\Windows\Explorer):

    Attachment 47416

    My backup script essentially does the same as going to C:\Users\<name>\AppData\Local\Microsoft\Windows and copy+pasting the Explorer folder in the same directory (resulting in Explorer - Copy):

    Code:
    @echo off
    
    :: Go to C:\Users\<Name>\AppData\Local\Microsoft\Windows\
    cd %LocalAppData%\Microsoft\Windows\
    
    :: Remove previous "Explorer - Copy" backup (2>nul: ignore directory doesn't exist)
    rd "Explorer - Copy" /s/q 2>nul
    
    :: Create new one (echo d: copy a directory)
    echo d | xcopy Explorer "Explorer - Copy" /y/s/q
    The restoration script kills explorer.exe to remove the locks from the thumbnails, restores them from Explorer - Copy, and restarts explorer.exe:

    Code:
    @echo off
    
    :: Go to C:\Users\<Name>\AppData\Local\Microsoft\Windows\
    cd %LocalAppData%\Microsoft\Windows\
    
    :: Kill explorer.exe
    taskkill /im explorer.exe /f
    
    :: Copy thumbnails from "Explorer - Copy"
    xcopy "Explorer - Copy\thumbcache_*.*" "Explorer\" /q/y
    
    :: Restart explorer.exe with "start" to auto-close CMD window
    start explorer.exe
    Attachments below:

    Thanks for this wonderful solution. It works.
    Can you modify a little bit?
    I have tons of pics and my explorer folder is little bit bulky and I am using SSD.
    Is this possible to change the backup copy saved to some other drive instead of C?

    Thanks
      My System SpecsSystem Spec

  10. #100


    Posts : 32
    Arch x64 / Windows 8.1 Pro x64


    Btw, to have the scripts run silent (no CMD window popping up), use the following VBScript and save it with the .vbs extension:

    Code:
    Set WshShell = CreateObject("WScript.Shell" )
    WshShell.Run chr(34) & "C:\Path\to\the.bat" & Chr(34), 0
    Set WshShell = Nothing
    Attached:
    W8 keeps deleting thumbnail cache (changed folder permission) Attached Files
    Last edited by Det87; 04 Feb 2015 at 11:36.
      My System SpecsSystem Spec

Page 10 of 12 FirstFirst ... 89101112 LastLast
W8 keeps deleting thumbnail cache (changed folder permission)
Related Threads
http://i.imgur.com/MdOgMNO.png I'm at a complete loss as to why a random image has associated itself to my Windows folder. What is more frustrating is that there seems to be no way to remove it, as the Windows folder's properties menu doesn't have a "Customize" tab that allows you to reset a...
I've recently changed to Windows 8.1 and honestly don't think it's as bad as people make out, clearly not as user friendly as Windows 7, but hey ho. Anyway, I have a number of folders on my hard-drives and I want to put a preview pic on them so I know exactly what they are, however when I Right...
Hi guys, I've had this problem since I got a new laptop with Windows 8.1: The thumbnail cache resets. I've tried the methods outlined here: Prevent Windows 8 File Explorer From Deleting Image Thumbnail Cache Thumbnail Cache Automatic Deletion Problem in Windows - AskVG Basically I disabled...
hey i gat the same proble can you sove this plzzz. 41736 i have create a new user acc. in my pc and use it and then i shut down my pc. next day my old acc. was lost and all data within it was not opening. 41738 here mayur is my old user name account while mayur_000 is anew one.
Dear Brains, On the other Windows PCs I've used, there has always been a small thumbnail at the bottom of the window showing details of the item/photo selected, but with Window 8, this is missing. Some details are there, but they are not easy to take in at a glance and I really miss the...
Every time I turn my laptop on, I lose my thumbnails and it has to reload them. Seriously frustrating. I've tried today to go through a few refreshes/reinstalls, and I'll occasionally be able to keep them, but then I just start losing them again. I've seen a few mentions of this - another thread...
My xp laptop had recently crash, but the my hard drive is still intact. I have a windows 8 computer now and I am trying to transfer the memory, but when I try to access the xp hard drive from windows 8 computer, I cannot access it. I get the "You don't currently have permission to access this...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook