Turn off cache of Thumdbs.db to prevent the move blocking from it in automation

来源:互联网 发布:网络段子写手招聘 编辑:程序博客网 时间:2024/05/16 06:56

Sometimes, we try to delete folder on server, but we will be blocked by a file "Thumdbs.db".

What is it?

It is a cache for picture file in windows explorer.

How to block it coming back?

We can enable "Turn off the caching of thumbnails in hidden thumbs.db files”  to turn off it by

 gpedit.msc -> User Comfiguration ->Administrative Templates ->Windows Component ->Windows Explorer


Or we can change registry here:

HKEY_USERS\S-1-5-21-1220945662-1284227242-725345543-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\

To create a "DWord Value" name is "DisableThumbnailCache". Set it to 1.