Unable to delete thumbs.db

Anonymous
2023-03-22T08:55:44+00:00

I'm on the newest Win10 and am looking for a way to delete folders which only contain one file, the thumbs.db, and nothing else.

I've read several things in this thread (which is now closed) where some didn't help and others were too painful to be even tried (why should i have to boot in safe mode?).

Is there a easy way to delete those folders?

I'm often succeeding with restarting explorer.exe from the taskmanager's app tab (wondering why explorer.exe is the only process offering "restart" in its context menu) and then being quick enough to delete such folders before explorer grabs em again. But there are always some hard ones which somehow escape this hack.

For such the only working thing i know of is to actually end all explorer.exe processes, delete the folder from a cmd line with rmdir /S/Q "foldername" and restart explorer.exe. But both approaches are a pain because usually i have many explorer.exe windows open an don't like to restore them all manually because that's a waste of time.

Is there a proper way to delete those folders which doesn't involve hacking the registry, changing system wide settings, booting from a linux live cd or killing explorer.exe? After all their empty so i don't understand why there's the need to hold on to a thumbs.db which by then shouldn't contain any thumbs. Maybe there's a purge-unused-thumbs option somewhere?

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

66 answers

Sort by: Oldest
  1. Anonymous
    2024-07-18T13:34:53+00:00

    It kills Explorer, waits 2 seconds, deletes the thumbnail cache files, waits another 2 seconds (probably unnecessary) and then restarts Explorer.

    So, your desktop should have returned after about 4 seconds. If it didn't, it sounds like Explorer failed to restart until you restarted the computer.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-07-18T13:37:43+00:00

    Thanks. I also found your link within the .bat file.

    cheers

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-08-03T06:35:09+00:00

    Thank you Christy! (for being someone who actually posted something that works for this BS Windows bug! I'd tried renaming it but the ".dat" extension worked!

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-08-28T20:56:38+00:00

    This worked on a network folder. All previous answers I still got the message that the file was in use.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-08-30T19:29:48+00:00

    Thank you Christy, this issue has bugged me to no end!

    Was this answer helpful?

    0 comments No comments