Unable to Disable Thumbnail Cache

Cyberwolf

New member
Power User
Local time
2:21 PM
Messages
144
Hello,

I have followed the guides online for disabling the Thumbnail cache in Win7 (Specifically, the .db files generated when pictures are loaded in Windows Explorer)

I disabled it via the tutorial on this website, I have also disabled it in Group Policy Editor... I cleared the existing cache, rebooted, and when i load directories with pictures in them, the .db file(s) are still being generated.

I do not wish to disable the display of thumbnails in Windows Explorer...I realize this is the easiest method of ensuring they are not generated in the .db. However there must be a way to prevent windows from doing so. I am unclear as to why mine wont.
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel Core i7-2600
Memory
16Gb DDR3-1600
Graphics Card(s)
ATI Radeon 7950
Sound Card
Creative X-Fi Extreme Gamer
Monitor(s) Displays
(2) 22" LG WideScreens
Screen Resolution
1920 x 1080
Hard Drives
(1) Samsung 840 Pro 256GB
(1) WD RE4 1Tb SATA3 Drive
PSU
Antec TruPower 750W
Internet Speed
50Mbps
I'm curious why you want to do this as it will slow Windows Explorer down when displaying files that require icons.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
I'm curious why you want to do this as it will slow Windows Explorer down when displaying files that require icons.

I am running a Samsung 840 Pro SSD. My average read is 519Mb/sec. Speed isnt an issue.

Security is the concern. Business security. Opening sensitive files that could be recovered or could be downloaded if the system ever became compromised.
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel Core i7-2600
Memory
16Gb DDR3-1600
Graphics Card(s)
ATI Radeon 7950
Sound Card
Creative X-Fi Extreme Gamer
Monitor(s) Displays
(2) 22" LG WideScreens
Screen Resolution
1920 x 1080
Hard Drives
(1) Samsung 840 Pro 256GB
(1) WD RE4 1Tb SATA3 Drive
PSU
Antec TruPower 750W
Internet Speed
50Mbps

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel Core i7-2600
Memory
16Gb DDR3-1600
Graphics Card(s)
ATI Radeon 7950
Sound Card
Creative X-Fi Extreme Gamer
Monitor(s) Displays
(2) 22" LG WideScreens
Screen Resolution
1920 x 1080
Hard Drives
(1) Samsung 840 Pro 256GB
(1) WD RE4 1Tb SATA3 Drive
PSU
Antec TruPower 750W
Internet Speed
50Mbps
Well slap my face and pull my hair! I often read (or not) too fast.

Read my posts in this tut, I had the same problem. I also used CCleaner to delete the thumbs.db.
I use this Thumbnail Database Viewer - IT Samples to see if they indeed are gone.

This can clean them too. Thumbnail Database Cleaner - IT Samples

As Brink states thumbs are generated but the reg change keeps them from being cached, saved.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.
Well they are definitely being generated AND saved. Against registry settings and against Group Policies.

Very confused as to why Windows seems to be ignoring the settings and allowing them to persist...If I reboot, the previous thumbnail cache exists as it did before the reboot. So its not even like Windows is storing them for one session only.
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel Core i7-2600
Memory
16Gb DDR3-1600
Graphics Card(s)
ATI Radeon 7950
Sound Card
Creative X-Fi Extreme Gamer
Monitor(s) Displays
(2) 22" LG WideScreens
Screen Resolution
1920 x 1080
Hard Drives
(1) Samsung 840 Pro 256GB
(1) WD RE4 1Tb SATA3 Drive
PSU
Antec TruPower 750W
Internet Speed
50Mbps
Odd behavior that. I can only suggest the two free programs I listed. I find my system still had the db folders but have notin in them. If you haven't tried it, as I say I use CCleaner too. CCleaner - Update Free version from Piriform site.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.
Is there a method to prevent Windows from writing to a particular directory? Perhaps setting it read-only?
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel Core i7-2600
Memory
16Gb DDR3-1600
Graphics Card(s)
ATI Radeon 7950
Sound Card
Creative X-Fi Extreme Gamer
Monitor(s) Displays
(2) 22" LG WideScreens
Screen Resolution
1920 x 1080
Hard Drives
(1) Samsung 840 Pro 256GB
(1) WD RE4 1Tb SATA3 Drive
PSU
Antec TruPower 750W
Internet Speed
50Mbps
Is there a method to prevent Windows from writing to a particular directory? Perhaps setting it read-only?
I don't know that one. You can try read-only though.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.
Windows must ignore or over ride "Read Only" settings as its still writing to that directory and those .db files. Despite verifying its read only status
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel Core i7-2600
Memory
16Gb DDR3-1600
Graphics Card(s)
ATI Radeon 7950
Sound Card
Creative X-Fi Extreme Gamer
Monitor(s) Displays
(2) 22" LG WideScreens
Screen Resolution
1920 x 1080
Hard Drives
(1) Samsung 840 Pro 256GB
(1) WD RE4 1Tb SATA3 Drive
PSU
Antec TruPower 750W
Internet Speed
50Mbps
Brink may have a solution for you as I'm in the dark. Post you issues in the tutorial thread I linked too.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.
Windows is still generating and saving the .db files after disabling thumbnails via the registry AND Group Policy editor.

Any ideas why or how to finally tell Windows enough is enough, and to enforce its own rules?
 
Last edited by a moderator:

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel Core i7-2600
Memory
16Gb DDR3-1600
Graphics Card(s)
ATI Radeon 7950
Sound Card
Creative X-Fi Extreme Gamer
Monitor(s) Displays
(2) 22" LG WideScreens
Screen Resolution
1920 x 1080
Hard Drives
(1) Samsung 840 Pro 256GB
(1) WD RE4 1Tb SATA3 Drive
PSU
Antec TruPower 750W
Internet Speed
50Mbps

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
You are turning off the wrong thumbnail caching. In group policy where you turned the other thumbnail catching off you want: "Turn off the caching of thumbnails in hidden thumbs.db files"

There are two thumbnail caches in Windows 7, the first one is a central store at "C:\Users\[username]\AppData\Local\Microsoft\Windows\Explorer" this handles all thumbnail caching for the whole computer. Now, thumbs.db files are created for network locations, or in Windows 7 libraries and other interfaces seem to go though a network interface fooling the caching routines as if local files were on a network drive. Thus you get thumbs.db when you should not.

Registry key if you don't have group policy:
Code:
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]
"DisableThumbsDBOnNetworkFolders"=dword:00000001
 

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
Thank you logicearth. I've updated the .reg files in the tutorial to include that as well now. :)
 

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
In GPE both need to be turned off then?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.

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
The only issue with the above given advise, is that I already HAD set ENABLED to the two listed sections in Group Policy. I have also already cleared the cache and rebooted via the Disk Cleanup option. After reboot, the thumbs are still being generated in /User Account Here/App Data/Local/Microsoft/Windows/Explorer.

After browsing a few folders with pictures in them, thumbcache_96.db is sitting at 15 Megs. Using software to view the .db shows the thumbs of the pictures folders I had opened.

Clearly something isnt going on as intended. I dont view disabling them altogether as an option, seeing as there are options to SUPPOSEDLY disable caching.
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel Core i7-2600
Memory
16Gb DDR3-1600
Graphics Card(s)
ATI Radeon 7950
Sound Card
Creative X-Fi Extreme Gamer
Monitor(s) Displays
(2) 22" LG WideScreens
Screen Resolution
1920 x 1080
Hard Drives
(1) Samsung 840 Pro 256GB
(1) WD RE4 1Tb SATA3 Drive
PSU
Antec TruPower 750W
Internet Speed
50Mbps
Cyberwolf, even when you disable Thumbnail caching those files "thumbcache_*.db" are always created. ALWAYS.
 

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
Back
Top