Windows 10: How do I solve the 'Thumbs.db in use' when trying to delete folders?

Page 2 of 2 FirstFirst 12
  1.    04 Dec 2016 #11

    bro67 said: View Post
    Windows locks it, because it holds the folder settings and file settings in that file.
    Thumbs.db does NOT hold folder settings. It's an image database, containing thumbnails of any image files in the folder.

    Reading the OPs request ... it seems he wants to delete the folder. In that case, skipping the delete of Thumbs.db doesn't meet his needs. The file must be unlocked.

    If the picture files get deleted, then the lock will (eventually) be released. You can wait for it, and then delete Thumbs.db (and the folder).

    Not sure you can release the lock. Lock Hunter shows that it's being locked by System! So you're stuck with the lock, I think. Just wait a while and the lock will go away.
      My ComputerSystem Spec

  2.    04 Dec 2016 #12

    there is an option to attempt to delete it after a computer restart. that should do the trick
      My ComputerSystem Spec


  3. Posts : 18
    Windows 10 Home Edition
    Thread Starter
       04 Dec 2016 #13

    margrave55 said: View Post
    Reading the OPs request ... it seems he wants to delete the folder.
    This is all I want to do. I just want to delete my folders without experiencing this annoying Thumbs.db issue.

    Thanks for all the replies. I have tried and I still have this problem. In the meantime, I have found a few other suggestions which I will try.
    (Fix Deletion Errors On Network Drives by Disabling Windows Thumbnail Generation)
    (Cant delete a folder because of the Thumbs.db, use Disk Cleanup)
      My ComputerSystem Spec

  4.    04 Dec 2016 #14

    My suggestion will fix your problem. But it is your choice if you want to do it this easy way.
      My ComputerSystem Spec


  5. Posts : 18
    Windows 10 Home Edition
    Thread Starter
       04 Dec 2016 #15

    pepanee said: View Post
    My suggestion will fix your problem. But it is your choice if you want to do it this easy way.
    I tried LockHunter and even Unlocker, but it doesn't work. There is an option so delete the item, but it doesn't delete the folder(s).
      My ComputerSystem Spec


  6. Posts : 99
    Windows 10 (2), Win 8.1 (1), Win 7 (1)
       04 Dec 2016 #16

    Did you look at my suggestion? Use an administrator level CMD prompt to delete them. They are flagged as system files and cannot be deleted unless you use the system attribute as part of the "del" command. I have used this a number of times and it works. Once you delete the Thumbs.db files, you will be able to delete the folders.

    JohnD
      My ComputerSystem Spec


  7. Posts : 18
    Windows 10 Home Edition
    Thread Starter
       04 Dec 2016 #17

    johnpd said: View Post
    Did you look at my suggestion? Use an administrator level CMD prompt to delete them. They are flagged as system files and cannot be deleted unless you use the system attribute as part of the "del" command. I have used this a number of times and it works. Once you delete the Thumbs.db files, you will be able to delete the folders.

    JohnD
    Yup, but I encountered this: Could Not Find C:\WINDOWS\system32\thumbs.db
      My ComputerSystem Spec

  8.    04 Dec 2016 #18

    pepanee said: View Post
    there is an option to attempt to delete it after a computer restart. that should do the trick
    I have had this problem many times and restarting and then immediately deleting the file has always worked for me.
      My ComputerSystem Spec


  9. Posts : 99
    Windows 10 (2), Win 8.1 (1), Win 7 (1)
       04 Dec 2016 #19

    Diwedd said: View Post
    Yup, but I encountered this: Could Not Find C:\WINDOWS\system32\thumbs.db
    You need to go to the folder that you want to remove and issue the command there. When you open a CMD prompt with "Run as admin", you are defaulted to the \Windows\System32 folder. Issue a "cd foldername" command where foldername is the name of the folder you wish to delete. For instance, I you want to remove a folder named "C:\My_Temp_Pictures" and any subfolders under it, do this:

    1. Start the CMD prompt with "Run as administrator". This defaults you to the C:\Windows\System32 folder.
    2. Issue a change directory (CD) command to get to the folder you want to remove: cd C:\My_Temp_Pictures
    [NOTE: (a) If the folder is on another drive (lets say "E:") instead of "C:", issue the command as cd /d E:\My_Temp_Pictures
    (b) If the folder name contains spaces ("My Temp Pictures"), it is best to surround the folder name with quotes. "C:\My Temp Pictures".
    3. Now if you are in the correct folder, issue the "del /s /a:s thumbs.db" command. This will remove all thumbs.db files from the current folder or any of its subfolders.
    4. Close the CMD prompt window. You can then remove the folder.

    JohnD
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Okay this is a hard question because I have been trying to do this for a while. I have two old Windows folders - 40 gig of wasted space. Here's what I have done: 1. renamed them 2. tried many times to delete them (or some of them). 3. removed...
Cannot delete tmp folders in General Support
Hi, small annoying problem, when I go to 'My PC' somehow I have a lot of temporary folders on my C: drive, and cannot get rid of them. Says that 'You require permission from the administrator to make these changes. I have tried using the command...
Which User Account Folders can I Delete? in User Accounts and Family Safety
I want to clean my laptop. I go into the "User" folder, and see all these user account folders. Because I am the only user on this laptop (admin), which folders can I delete? I am using the user "Chris" right now. Administrator Chris (I use this...
I recently deleted some mp3 files and folders, then when I emptied the Recycle Bin I inadvertently answered "no" to the "are you sure you want to delete these files" question. Now they are sitting on my recent files / frequent folders page and will...
Can i Delete this Folders? in General Support
Can i Delete Folder $Windows.~BT and $Windows.~WS on C: Drive?
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:31.
Find Us