{"id":5765,"date":"2014-04-11T00:01:46","date_gmt":"2014-04-11T07:01:46","guid":{"rendered":"http:\/\/www.wambooli.com\/blog\/?p=5765"},"modified":"2014-04-05T20:28:22","modified_gmt":"2014-04-06T03:28:22","slug":"the-story-of-thumbs-db","status":"publish","type":"post","link":"https:\/\/www.wambooli.com\/blog\/?p=5765","title":{"rendered":"The Story of Thumbs.db"},"content":{"rendered":"<p>Perhaps you&#8217;ve seen it, perhaps not. I saw it a lot recently, working on a book project that involved using a network location to save my files. It&#8217;s <code>Thumbs.db<\/code>.<br \/>\n<!--more--><br \/>\n<code>Thumbs.db<\/code> is a file. The <code>db<\/code> most likely stands for <em>database<\/em> and the <code>Thumbs<\/code> stands for <em>thumbnails<\/em>. I figured that much out on my own.<\/p>\n<p>Given that the folder in which it was created contained graphics images, my guess was that Windows created <code>Thumbs.db<\/code> as a way to store file thumbnail images. That&#8217;s necessary because in certain folder views, the file icons can be large enough to display a preview image of what the file looks like.<\/p>\n<p>The preview trick doesn&#8217;t work for every file, but some common formats sport the preview. Image files, obviously, have a preview. Some web pages and documents sport the preview. To make that happen, windows scours the folder, scoops up images for each file, then stores that image cache in the <code>Thumbs.db<\/code> file.<\/p>\n<p>That&#8217;s all well and good, but it is necessary? I mean, every time I selected a swath of files, I&#8217;d see <code>Thumbs.db<\/code> pop up. Even on the FTP server at City Hall, I see a <code>Thumbs.db<\/code> file.<\/p>\n<p>If you&#8217;ve never seen the <code>Thumbs.db<\/code> file, good! You must configure Windows to display hidden\/system files in order for it to show up. Even if you don&#8217;t see it, it might still be there, especially if you&#8217;re using Windows Vista, Windows 7, or Windows 8.<\/p>\n<p>The good news is that you can freely delete any <code>Thumbs.db<\/code> file you find &#8212; especially on a network location. Better still, you can configure Windows to not create the thing in the first place. To do so requires a few jumps and twists, as outlined here:<\/p>\n<p><strong>1. Press Win+R to summon the Run dialog box.<br \/>\n2. Type <\/strong>gpedit.msc<strong> into the box and press Enter or click OK.<\/strong><\/p>\n<p>The Group Policy Editor window appears, similar to what you see in Figure 1. It&#8217;s a treasure of hidden Windows controls and switches.<\/p>\n<div id=\"attachment_5985\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5985\" src=\"http:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2014\/04\/0411-figure1.png\" alt=\"Figure 1. The Local Group Policy Editor window.\" width=\"500\" height=\"347\" class=\"size-full wp-image-5985\" srcset=\"https:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2014\/04\/0411-figure1.png 500w, https:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2014\/04\/0411-figure1-300x208.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><p id=\"caption-attachment-5985\" class=\"wp-caption-text\">Figure 1. The Local Group Policy Editor window.<\/p><\/div>\n<p><strong>3. Open the following folders to get to the proper policy:<\/strong><\/p>\n<p>User Configuration<br \/>\n&nbsp;Administrative Templates<br \/>\n&nbsp;&nbsp;Windows Components<br \/>\n&nbsp;&nbsp;&nbsp;Windows Explorer<\/p>\n<p>If you&#8217;re using Windows 8 (and how can you stand it?) choose File Explorer as the final folder to open.<\/p>\n<p><strong>4. On the right side of the window, double-click on the item titled Turn Off The Caching of Thumbnails in Hidden thumbs.db Files.<\/strong><\/p>\n<p>The policy is to turn <em>off<\/em> the <code>Thumbs.db<\/code> file, so you enable it:<\/p>\n<div id=\"attachment_5986\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5986\" src=\"http:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2014\/04\/0411-figure2.png\" alt=\"Figure 2. You must &quot;enable&quot; the disable of the feature. Weird.\" width=\"500\" height=\"459\" class=\"size-full wp-image-5986\" srcset=\"https:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2014\/04\/0411-figure2.png 500w, https:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2014\/04\/0411-figure2-300x275.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><p id=\"caption-attachment-5986\" class=\"wp-caption-text\">Figure 2. You must &#8220;enable&#8221; the disable of the feature. Weird.<\/p><\/div>\n<p><strong>5. Choose Enabled.<br \/>\n6. Click OK.<br \/>\n7. Close the Group Policy Editor window.<\/strong><\/p>\n<p>The policy is set, which means the <code>Thumbs.db<\/code> files are no longer created. You can ruthlessly delete them, if you like. I wrote a script on my unix computer to do that, but moving forward rest assured that the annoying little buggers will no longer spawn like mold in a damp gym locker.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perhaps you&#8217;ve seen this file suddenly appear in a folder window. What the heck is going on?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-5765","post","type-post","status-publish","format-standard","hentry","category-main"],"_links":{"self":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5765"}],"version-history":[{"count":8,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5765\/revisions"}],"predecessor-version":[{"id":5991,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5765\/revisions\/5991"}],"wp:attachment":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}