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?