Can't Delete Thumbs.db

pbusardo

New member
Local time
6:49 PM
Messages
24
When I try to delete a folder, I sometimes get:

"Cannot delete thumbs. It is being used by another person
or program. Close any programs that might be using the
file and try again".

Sometimes, I can click on another folder, go back to it and delete it then.

I've read about some workarounds, but this requires suppressing Windows Features such as:

Always show icons, never thumbnails

Thanks for any help.
 

My Computer

Computer Manufacturer/Model Number
Gateway DX4820-01
OS
Windows 7
CPU
Intel Core 2 Quad Q8300
Motherboard
Intel's G43 Express chipset
Memory
6GB DDR3
Graphics Card(s)
MSI R4550-MD1GH Radeon HD 4550 1GB 64-bit GDDR3 PCI Express
Sound Card
Integrated
Monitor(s) Displays
22" Envision
Hard Drives
500GB SATA, 600GB SATA
Cooling
Added Fan

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone

My Computer

Computer Manufacturer/Model Number
Custom
OS
Win7
CPU
Intel E8400
Motherboard
Gigabyte GA-EP45C-UD3R
Memory
GSKILL 4GB DDR3
Graphics Card(s)
BFG nVidia GeForce 9800 GX2 1GB
Sound Card
Onboard
Monitor(s) Displays
Samsung T-240HD
Hard Drives
Seagate ST3250620NS (x4) in RAID 5
PSU
Antec NeoPower 550
Case
Antec
Cooling
Generic
When I try to delete a folder, I sometimes get:

"Cannot delete thumbs. It is being used by another person
or program. Close any programs that might be using the
file and try again".

Sometimes, I can click on another folder, go back to it and delete it then.

I've read about some workarounds, but this requires suppressing Windows Features such as:

Always show icons, never thumbnails

Thanks for any help.

You can also copy from system32 the "cmd.exe" in C:/ ,then open cmd.exe as elevated prompt and type: del /ash /s thumbs.db

It will scan all thumb.db on your drive and delete them. You can also do that for all your Hdd.

Do not forget to delete cmd.exe (not the one in system32) from drives after finished the cleaning job.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
CPU
Ivy Bridge Core i5 3570K (Delidded)
Motherboard
Asus P8Z77-V LE PLUS
Memory
G.Skill "Ares" DDR3 PC3-12800 - 1600MHz (16Gb)
Graphics Card(s)
Asus Dual-RX480-O4G
Sound Card
Creative Sound Blaster Z w/5.1 sound system
Monitor(s) Displays
Asus IPS 23"
Screen Resolution
16/9
Hard Drives
Internal:
500Go Sata 6Gb/s (x2)
500Go Sata 3Gb/s (x2)
SSD 60Go Sata 6Gb/s
PSU
In Win C 900W Series 80+ Platinum
Case
Thermaltake Chaser A71
Cooling
Custom Water Cooling Loop
Keyboard
Cooler Master QuickFire XTi
Mouse
Razer Imperator 2012 (4G)
Antivirus
MSE
Browser
IE 11.0.xxx Rtm
Other Info
"Raid0" with Intel Smart Response Technology (HDD/SSD)
You can also copy from system32 the "cmd.exe" in C:/ ,then open cmd.exe as elevated prompt and type: del /ash /s thumbs.db

It will scan all thumb.db on your drive and delete them. You can also do that for all your Hdd.

Do not forget to delete cmd.exe (not the one in system32) from drives after finished the cleaning job.

NoN, you don't need to copy cmd.exe to do that. If you just type "cmd" in the search window, cmd.exe pops up, then all you have to do is right-click, "run as administrator," then pin the app to your taskbar if you like.

But let's be clear here, deleting ALL thumbs.db files for your entire disk is a complete waste of time! The PC will just create a new thumbs.db as soon as the folder is opened again. Therefore, this is neither a fix nor a workaround. It's just going to take a ton of time, make your drive grind like crazy and the problem won't even go away. The system will re-create all thumbs.db files as soon as the folders are accessed again.

Just do what I did, the real fix is to remove and reinstall Adobe Reader. Then you don't have to deal with the issue at all.

PS. Thumbnails are a great feature and they are very useful when looking at folders full of pics. All other solutions posted by Microsoft geeks all over the net involve turning off thumbnails completely, but then all of your pictures look like simple icons which is incredibly lame. Of course, music files look like icons anyway and In my case I was constantly running into this problem when sorting my music collection. I realized a long time ago, going to a different folder and then coming back after about a minute would allow me to delete the folder, but only if I didn't view the contents first. Again, because viewing the contents of a folder in Win7 (and Vista) will generate thumbnails which are stored in the hidden "thumbs.db" file, by design.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Win7
CPU
Intel E8400
Motherboard
Gigabyte GA-EP45C-UD3R
Memory
GSKILL 4GB DDR3
Graphics Card(s)
BFG nVidia GeForce 9800 GX2 1GB
Sound Card
Onboard
Monitor(s) Displays
Samsung T-240HD
Hard Drives
Seagate ST3250620NS (x4) in RAID 5
PSU
Antec NeoPower 550
Case
Antec
Cooling
Generic
Again, because viewing the contents of a folder in Win7 (and Vista) will generate thumbnails which are stored in the hidden "thumbs.db" file, by design.

No, Windows Vista and 7 only create "thumbs.db" for network locations (shared files). You are confusing with Windows XP's behavior. Windows Vista and 7 now save thumbnails here: C:\Users\[username]\AppData\Local\Microsoft\Windows\Explorer

If you have group policy I can show you how to turn off network thumbnail caching and local caching.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
You can also copy from system32 the "cmd.exe" in C:/ ,then open cmd.exe as elevated prompt and type: del /ash /s thumbs.db

It will scan all thumb.db on your drive and delete them. You can also do that for all your Hdd.

Do not forget to delete cmd.exe (not the one in system32) from drives after finished the cleaning job.

NoN, you don't need to copy cmd.exe to do that. If you just type "cmd" in the search window, cmd.exe pops up, then all you have to do is right-click, "run as administrator," then pin the app to your taskbar if you like.

But let's be clear here, deleting ALL thumbs.db files for your entire disk is a complete waste of time! The PC will just create a new thumbs.db as soon as the folder is opened again. Therefore, this is neither a fix nor a workaround. It's just going to take a ton of time, make your drive grind like crazy and the problem won't even go away. The system will re-create all thumbs.db files as soon as the folders are accessed again.

Just do what I did, the real fix is to remove and reinstall Adobe Reader. Then you don't have to deal with the issue at all.

PS. Thumbnails are a great feature and they are very useful when looking at folders full of pics. All other solutions posted by Microsoft geeks all over the net involve turning off thumbnails completely, but then all of your pictures look like simple icons which is incredibly lame. Of course, music files look like icons anyway and In my case I was constantly running into this problem when sorting my music collection. I realized a long time ago, going to a different folder and then coming back after about a minute would allow me to delete the folder, but only if I didn't view the contents first. Again, because viewing the contents of a folder in Win7 (and Vista) will generate thumbnails which are stored in the hidden "thumbs.db" file, by design.

Hi,

Well, i'm using this cmd.exe "del /ash /s thumbs.db " only before backing up files from my shared folders, as the backing sofware do not apply/save thumb.db even if it does skip them, so i prefere clear it before backing up!

I do use thumbnails most of the time and it is turned on.

Thank for for having clearing it!
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Professional SP1 - x64 [Non-UEFI Boot]
CPU
Ivy Bridge Core i5 3570K (Delidded)
Motherboard
Asus P8Z77-V LE PLUS
Memory
G.Skill "Ares" DDR3 PC3-12800 - 1600MHz (16Gb)
Graphics Card(s)
Asus Dual-RX480-O4G
Sound Card
Creative Sound Blaster Z w/5.1 sound system
Monitor(s) Displays
Asus IPS 23"
Screen Resolution
16/9
Hard Drives
Internal:
500Go Sata 6Gb/s (x2)
500Go Sata 3Gb/s (x2)
SSD 60Go Sata 6Gb/s
PSU
In Win C 900W Series 80+ Platinum
Case
Thermaltake Chaser A71
Cooling
Custom Water Cooling Loop
Keyboard
Cooler Master QuickFire XTi
Mouse
Razer Imperator 2012 (4G)
Antivirus
MSE
Browser
IE 11.0.xxx Rtm
Other Info
"Raid0" with Intel Smart Response Technology (HDD/SSD)
Again, because viewing the contents of a folder in Win7 (and Vista) will generate thumbnails which are stored in the hidden "thumbs.db" file, by design.

No, Windows Vista and 7 only create "thumbs.db" for network locations (shared files). You are confusing with Windows XP's behavior. Windows Vista and 7 now save thumbnails here: C:\Users\[username]\AppData\Local\Microsoft\Windows\Explorer

If you have group policy I can show you how to turn off network thumbnail caching and local caching.

Network locations are what the entire thread is talking about. We have been referring to that the entire time. I'm not confused, I just didn't think I had to repeat that fact at every point since it's assumed in context.

Group policy modification isn't necessary, it's better to turn it off in folder options. Then you don't have to mess with all the users on the machine. Just the users who have difficulty. But still, it's not a fix just a workaround.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Win7
CPU
Intel E8400
Motherboard
Gigabyte GA-EP45C-UD3R
Memory
GSKILL 4GB DDR3
Graphics Card(s)
BFG nVidia GeForce 9800 GX2 1GB
Sound Card
Onboard
Monitor(s) Displays
Samsung T-240HD
Hard Drives
Seagate ST3250620NS (x4) in RAID 5
PSU
Antec NeoPower 550
Case
Antec
Cooling
Generic
Network locations are what the entire thread is talking about. We have been referring to that the entire time. I'm not confused, I just didn't think I had to repeat that fact at every point since it's assumed in context.

What? There is not a single reference to "network" in this entire thread until I mentioned it. You could just admit you were mistaken...

Group policy modification isn't necessary, it's better to turn it off in folder options.

There is no option to turn off thumbnail caching in Folder Options, you can only turn off thumbnails which is not wanted.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
Last edited by a moderator:

My Computer

Computer Manufacturer/Model Number
Self built
OS
Windows 7
CPU
AMD AM2 64
Motherboard
Asrock N68PV-GS
Memory
4 GB
Graphics Card(s)
MB GEforce 7050
Sound Card
MB Nvidia
Monitor(s) Displays
LG W2252 Phillips 190S
Hard Drives
a lot!
PSU
400 W OCZ (?)
Case
Asus
Cooling
Thermalake
Network locations are what the entire thread is talking about. We have been referring to that the entire time. I'm not confused, I just didn't think I had to repeat that fact at every point since it's assumed in context.

What? There is not a single reference to "network" in this entire thread until I mentioned it. You could just admit you were mistaken...

Group policy modification isn't necessary, it's better to turn it off in folder options.

There is no option to turn off thumbnail caching in Folder Options, you can only turn off thumbnails which is not wanted.

I confused this thread with the thread on technet linked to above. And I also confused your post with disabling thumbnails, I didn't realize the option to turn off caching only was available in GP.
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Win7
CPU
Intel E8400
Motherboard
Gigabyte GA-EP45C-UD3R
Memory
GSKILL 4GB DDR3
Graphics Card(s)
BFG nVidia GeForce 9800 GX2 1GB
Sound Card
Onboard
Monitor(s) Displays
Samsung T-240HD
Hard Drives
Seagate ST3250620NS (x4) in RAID 5
PSU
Antec NeoPower 550
Case
Antec
Cooling
Generic
Adobe reader has nothing to do with it. I don't have it installed - I use Foxit and have the same problem. There is a fix here, but I have not tried it yet.

http://www.sevenforums.com/tutorials/10794-thumbnail-cache-enable-disable.html

Adobe is definitely somehow connected to the issue, or uninstalling and reinstalling wouldn't have any affect. It could be the adobe updater, with is also used for Flash and Shockwave.

Still disabling features is a workaround, just like removing and re-installing Adobe is a workaround. Yet another workaround was posted on technet, if you go to system properties -> advanced -> performance settings -> select best performance + apply -> switch back to best appearance (or whatever you want) + apply. For some reason that also causes the issue to temporarily go away.

As far as I know, this issue seems to be far more prevalent with people who are accessing files on network shares. I personally have only experienced the issue in that situation, it's never happened on my local drive.
 
Last edited by a moderator:

My Computer

Computer Manufacturer/Model Number
Custom
OS
Win7
CPU
Intel E8400
Motherboard
Gigabyte GA-EP45C-UD3R
Memory
GSKILL 4GB DDR3
Graphics Card(s)
BFG nVidia GeForce 9800 GX2 1GB
Sound Card
Onboard
Monitor(s) Displays
Samsung T-240HD
Hard Drives
Seagate ST3250620NS (x4) in RAID 5
PSU
Antec NeoPower 550
Case
Antec
Cooling
Generic
Windows 7 Cannot delete folder with thumb.db

My contribution - move the folder and attempt to delete from the new location. I moved, and did not copy, a recalcitrant folder contains an undelabel thumb.db from a Windows SBS network location to my local C drive where I could just delete it.
The only "extra" on my machine is the registry hack to add "copy to" and "move to" the explorer right click menu.
 

My Computer

Computer Manufacturer/Model Number
Acer
OS
Windows 7 Pro 32 and 64 bit
CPU
Intel Q8300
Memory
4GB
Graphics Card(s)
NA
Sound Card
NA
Monitor(s) Displays
NA
Hard Drives
1
PSU
NA
Case
NA
Cooling
NA
I believe neither of the "solutions" listed in this thread truly work (uninstalling Acrobat & deleting via cmd.exe). They only seem to work because you engaged the computer in some other activity, or because you let enough time to pass to allow Windows to "release" the thumbs.db file, thus, it could be deleted. I tried both, and both seemed to work at first, but when I recreated a new thumbs.db file and then immediately deleted it, it didn't delete (giving the same message).

A few observations (on my computer):
1) I get them when I click on a music file that has a picture in the tag.
2) I have my HDD partitioned into several drives, and I only get them on one particular drive. If I copy the entire album file to another drive, I can then click on the same music file withOUT generating a thumbs.db file.
3) On the first drive, if I delete all the other files in the folder, I can then delete the thumbs.db file (after waiting a few seconds). So, that makes me think that it must be the music files that are keeping the thumbs.db file engaged.

I don't have any explanations for this, I'm just saying that that is my experience. Maybe someone else can come up with more.
 

My Computer

Computer Manufacturer/Model Number
Dell
OS
Windows 7 64 bit
CPU
i7
Memory
16 GB
Quick fix - Restart explorer.exe and try to delete the folder again.

Step-by-step for n00bs (not that You are one):
  1. Summon the Task Manager (Ctrl + Shift + Esc).
  2. Click on the Processes tab.
  3. End explorer.exe (find it in the list, press delete and confirm it).
  4. Start it again (File->New task, write explorer.exe and click OK)
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate 32bit
I had a fix for this old problem that doesn't involve registry, gpedit, killing explorer, wiping out all thumbnails, waiting for hours, or doing anything else drastic. I'm not sure if it works in every situation but it's worked for me so far.

Just copy any random image file, like a jpeg, to the folder with the stubborn thumbs.db file. Change your view setting to, say, large icons (or something else if you're already using large icons). This forces thumbs.db to update, and simultaneously unlocks it. Now you can just click on it and delete it without an error message (delete the random jpeg too). Once it's gone you should have no trouble deleting the folder(s) that housed it.
 

My Computer

OS
Windows 7 Ultimate 64 bit
Back
Top