{"id":94925,"date":"2016-12-13T07:00:00","date_gmt":"2016-12-13T22:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/?p=94925"},"modified":"2019-03-13T10:34:48","modified_gmt":"2019-03-13T17:34:48","slug":"20161213-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20161213-00\/?p=94925","title":{"rendered":"Can a server-side Web application trigger the creation of thumbs.db files?"},"content":{"rendered":"<p>A customer had a server-side Web application which creates a large number of image files. The customer was concerned that the system would spend a lot of effort generating thumbnails to be put into the <code>thumbs.db<\/code> file and wanted to disable the <code>thumbs.db<\/code> file in order to improve the performance of their Web application. The customer liaison added, &#8220;From a brief experiment, it seems that the <code>thumbs.db<\/code> file is written when a user displays thumbnails on Explorer. Merely creating and copying image files does not trigger the creation of a <code>thumbs.db<\/code> file. I don&#8217;t think the customer needs to worry about the overhead of the <code>thumbs.db<\/code> file since neither the user account of the Web application nor the SYSTEM account will create a thumbnail cache. Is that correct?&#8221; <\/p>\n<p>Yes, that&#8217;s correct. <\/p>\n<p>The <code>thumbs.db<\/code> file is created by Explorer or any other application that <a HREF=\"https:\/\/msdn.microsoft.com\/en-us\/library\/bb774628(VS.85).aspx\">uses Explorer&#8217;s thumbnail cache<\/a>. It is unlikely that the customer&#8217;s Web server is using the Explorer thumbnail cache, so the file won&#8217;t be created. <\/p>\n<p>To be extra sure, the customer can set the policy <i>User Configuration, Administrative Templates, Windows Components, File Explorer, <a HREF=\"http:\/\/gpsearch.azurewebsites.net\/#4762\">Turn off the caching of thumbnails in hidden thumbs.db files<\/a><\/i>. <\/p>\n<p>The customer liaison thanked us for confirming what their experimentation revealed. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Probably not.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-94925","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>Probably not.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/94925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=94925"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/94925\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=94925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=94925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=94925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}