Interesting issue with thumbs.db

I’m surprised I just ran into this today – seems easy enough to run into a long time ago.  I was working in ConfigMgr 2012 Beta 2, and was receiving failures when sending content to a distribution point. Looking at distmgr.log, I saw the following errors:

CreateFileW failed for \\servername\sharename\thumbs.db

Failed to add the file. Please check if this file exists. Error 0×80070020

 

Thumbs.db is a hidden file that contains a thumbnail cache for the current directory. I tried to delete the file, and received an error that the file was in use by Windows Explorer. I decided to test this same process in ConfigMgr 2007, and encountered the same issue (which is why I’m surprised I haven’t experienced this issue before). Finally, I terminated and restarted my Windows Explorer process (explorer.exe), and then could successfully delete the evil thumbs.db, and could then update my distribution points successfully.

To prevent this in the future, you need to disable the creation of the thumbnail cache. You can read more for how to disable this using either folder options or group policy. Both links refer to Windows 7, but the same applies to Server 2008R2. You would need to disable this feature on any system you use to browse to the package source. This issue obviously doesn’t occur all the time, but is something to be aware of moving forward.

*Note: this can also affect you if a user who has admin rights browses to a ConfigMgr DP share and thumbs.db is created. Now the hash of this folder if different than ConfigMgr expects, causing a hash mismatch error when running the program.

 

Greg

Filed under: ConfigMgr 2007, ConfigMgr 2012, Troubleshooting

email

Written by , Posted .
  • http://myITforum.com/myitforumwp/community/members/rodtrent/ Rod Trent

    Folks need to also make sure that they are not accidentally packaging “thumbs.db” into their package source. When the package is decompressed, it shows up on the DP.