In your article What is thumbs.db, and can I delete it? your fix did not work for me. I am on Windows 7. ‘Do Not Cache Thumbnails’ is not in my View Tab under Folder Options of Windows Explorer. Do you have a fix for Windows 7 for this issue?
Indeed, I do.
How you control thumbs.db has changed in Windows 7.
We’ll take a look at how to turn it off and review what it’s used for.
Become a Patron of Ask Leo! and go ad-free!
Thumbs.db
Thumbs.db is a cache file created by Windows Explorer when you view a folder in any of it’s “icons” view. It’s often a hidden file so you may not always see it unless you have the “view hidden files” option enabled.
The idea is that when the icons are created for you to view they’re saved, so that the next time you view the same folder Windows Explorer no longer has to actually create thumbnails – it can just pick them up from the cache. It’s a classic space/speed trade-off. For the cost of a little disk space, Windows Explorer can display things a little quicker.
Personally, I never use icon view in Windows Explorer. On those occasions where it accidentally happens, I don’t really want Windows Explorer to create the thumbs.db files. I don’t really care if Windows Explorer is going to be a little slower; I care more that my hard disk is not littered with these files.
Fortunately, it’s easy to turn off.
Turning Off Thumbs.db Creation
Type into the Windows 7 start menu’s search box (or into the Run dialog after pressing Windows Key + R), “gpedit.msc” and press Enter. This runs the “Local Group Policy Editor”, a tool which can be used to control many of Windows features and options.
Expand on the left the following:
- User Configuration
- Administrative Templates
- Windows Components
You should see something like this:
(I’ve made the left pane a little bigger and scrolled it up to show where we are.)
Scroll down in that left pane, and click on Windows Explorer:
If you look closely you can already see where we’re headed.
I’ll make that right pane a little bigger and you’ll see the setting we want:
You can see that here it’s set to “not configured”, which means that it’ll take on the default setting, which is to cache thumbnails.
Double click on the item and you’ll get a (large) dialog in which to change the setting:
Click on Enabled, then click on OK to make the change we want.
Enabled?
Yes, enabled.
This is one of those weird double-negative-like things:
- The option is to turn off thumbnails.
- We want that option enabled.
It’s tempting to go spelunking here in the policy editor, and in all honesty that’s a fine thing to do – as long as you look but don’t touch. There are settings here that can have unintended consequences. If you elect to make additional changes here just make sure you know what you’re doing first.
And of course have that system backup ready, just in case.
If I remember correctly, gpedit.msc is only available in 7 Pro, Ultimate, and Enterprise. Is there a work-around for those using Starter, Basic, or Home Premium?
Run this command (exactly):
C:Windowsexplorer.exe shell:::{ED7BA470-8E54-465E-825C-99712043E01C}
Scroll down and within “Administrative tools” I see a “Edit Group Policy”.
(For those coming later, sadly it appears that this does NOT work.)
04-Sep-2010
Did some more research and found that in lieu of gpedit.msc it seems the only other alternative is to edit the registry. Microsoft has prepared an Excel spreadsheet that lists the policy settings for computer and user configurations included in the Administrative template file (admx/adml) delivered with Windows 7. The following link has several spreadsheet downloads. Select the one for Windows Server 2008 and Windows 7. Spreadsheet.
You’ll need MS Office or an equivalent like Open Office to view the spreadsheet. Or, you can download a free Excel viewer from Microsoft: Viewer
Go to Line 2803 for information re: Turn off the caching of thumbnails in hidden thumbs.db files. Hope this helps folks using Home Premium. As Leo always says, back up your computer before messing with the registry or your computer could wind up as an expensive paperweight.
07-Sep-2010
The explorer invocation with the UUID does NOT offer a selection for editing group policy settings on Win 7 Home Premium. Too bad.
-Al
Leo, sorry to say your fix (C:\Windows\explorer.exe shell:::{ED7BA470-8E54-465E-825C-99712043E01C}) didn’t come up with anything on my Win7 Home Premium 64-bit.
To think that Microsoft would put out a workaround as an Excel spreadsheet (Quote from above: “Microsoft has prepared an Excel spreadsheet that lists the policy settings for computer and user configurations included in the Administrative template file (admx/adml) delivered with Windows 7.” and require that I download it and open it in Excel (what if I don’t have Excel — which I don’t) and play around like Macgiver just to disable a junky little feature like a thumbs database!!!!! If I didn’t have to use Windows I wouldn’t.
My search for gpedit.msc says “not found”. I’m running Win7-64 Home Premium. I ran an ‘Everything’ search which found four copies, in two different versions, in two different and wildly obscure Windows subdirectories. ???
Tried running one of these and got a window saying “MMC could not create the snapin”. ??
Not a big deal, but FYI.
For folks using Win 7 Home Premium (no group policy editor available) see the following post from Win 7 forum.
http://www.sevenforums.com/tutorials/10794-thumbnail-cache-enable-disable.html
Dear Leo,
I have Win 7 Professional, 64 bit and gpedit.msc came up instantly when I followed your directions. I had no trouble enabling the command. Will the thumbs.db already created disappear and if not can I delete them without harm?
Also, how can I eliminate all the index.dat files on my computer, even the hidden ones?
Thank you,
Francis
10-Sep-2010
Hi Leo; Reading the your reply to “How do I turn off thumbs.db in Windows 7?” I have a question. In Windows 7 has the name “Explorer” morphed into the name “Libraries?” Just wondering if Microsoft is trying to keep us on our toes
10-Sep-2010
At the risk of pointing out the obvious it may not be realised that accumulated thumbs.db can be deleted from the drive by selecting “disk properties ” then “disk clean up” and select “thumbs.db” in the options offered .
10-Sep-2010
I’m using Windows 7. Are there any ways to save the cached thumbnail data in the folder where the photos are located as it was in Windows XP? Vista and Windows7 now save the thumbnail cached data in the User>Local>Explorer> etc… instead of storing the cached data in the folder where the photos are located as in XP. This would help because I have large-sized 700MB+ tiff files on my external hard drive that take a long time for the computer to process and cache. Every time I plug it into a new computer, the computer builds a new cache every time.
So I want to know if there are any ways I could save the thumbnail database of my pictures in the folders where my pictures are located on external hard drive so they do not need to be recached for thumbnails every time I plug the external hard drive onto a new computer.
Hi Leo. i followed your instructions & even though it says “turn off the caching of thumbnails in hidden thumbs.db is enabled, my pc is still creating thumb.db files. I am running Win7 64 bit Ultimate.
I tried opening the Group Policy Editor by both methods [search box and with Win Key + R and neither would give me the Policy Editor. Running Win7 Home edition on Dell Laptop Studio 1558. Is this edition not capable of shoing the GP Editor? Suggestions please!
02-Dec-2010
Hi, Leo. Thanks for the tip. I really needed this and solve my problem.
Hug
Bob
Thanks Leo, good screen shots and helpful advice. Seems to have worked :)
Could you tell me the registry entry that can be edited to do the same thing?
This does not work in the Windows 7 Home Premium edition.
you did see that the GPO setting mentions it only applies to Windows Vista SP1?
i followed all the above steps a week ago…
now , none of the thumbnails (neither image nor video) are LOADING !! … how can i get the thumbnails to show up again ? i tried disabling the turn off thumbnails cache IN HIDDEN THUMBS.DB ….. but ITS STILL NOT WORKING !!
WHAT SHOULD I DO TO GET THE THUMBNAILS LOADING BACK AGAIN ???
Hello Leo,
Re: webpage
http://ask-leo.com/how_do_i_turn_off_thumbsdb_in_windows_7.html
I am trying to turn off thumbs in Windows 7, but have failed at first hurdle.
I type in “gpedit.msc”, and it replies,
“Windows cannot find gpedit.msc”
I used Windows+R and it says,”gpedit is not recognised as an internal or external command, operable program, or batch file”
Please could you advise?
Many thanks.
18-Nov-2012
I have Windows 7 Homw Premium 64 bit and none of the above is in my Window 7 exists.
“gpedit.msc” is Not found On Search.
Can’t find any thing on “local group policy editor”
@Patrick
Unfortunately, the Home Premium version of Windows 7 doesn’t have gpedit.msc.
We have windows 7 professional, I have been able to follow all steps to “turn off caching thumbnails”, once I am in windows explorer, that option is not there. We are running windows 7 professional and because we have data in our network from windows xp, we have thumnails show up and we have not been able to delete them. There are whole files in the system that are empty excepts for the thumbs file and we would like to get rid of them, but cannot. What can I do?
Ah, but I use Windows 7 Home
Premium, Leo. Policy Editor is not available.
Is there an equivalent Registry entry to achieve this?