Helping people with computers... one answer at a time.

Thumbs.db is created by Windows Explorer as a performance optimization. We can turn it off with a simple setting in Windows 7.

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.

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.

Windows 7 Local Group Policy Editor

Expand on the left the following:

  • User Configuration

  • Administrative Templates

  • Windows Components

You should see something like this:

Windows 7 Local Group Policy Editor expanded to Windows Components

(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:

Windows 7 Local Group Policy Editor expanded to 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:

Windows 7 Local Group Policy Editor showing cached thumbnail option

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:

Windows 7 Local Group Policy Editor change setting dialog

Click on Enabled, then click on OK to make the change we want.

Windows 7 Local Group Policy Editor showing the changed cache setting

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. Smile

Article C4433 - September 3, 2010

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
17 Comments

Hi, Leo. Thanks for the tip. I really needed this and solve my problem.

Hug

Bob

Posted by: Robson, from Brazil at January 29, 2011 12:47 PM

Thanks Leo, good screen shots and helpful advice. Seems to have worked :)

Posted by: Beth at February 4, 2011 2:01 AM

Could you tell me the registry entry that can be edited to do the same thing?

Posted by: human#2385330344 at September 21, 2011 9:10 AM

Hi Leo,

Just wanted to thank you for taking the time you put into posting this information. Your explanations are clear and concise, and I appreciate your level ground, down to earth, tone that makes your instructions comfortable form the user perspective. Thank You!
-B

Posted by: Brendan at November 3, 2011 7:43 AM

This does not work in the Windows 7 Home Premium edition.

Posted by: Norma at January 26, 2012 3:49 AM
Post a comment on "How do I turn off thumbs.db in Windows 7?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...