thumbs.db_阻止Windows创建Thumbs.db缩略图缓存文件
thumbs.db
Windows has an annoying habit of displaying thumbnails for folders that you may not want thumbnails for, like the My Pictures folder. For me, it’s better to have the My Pictures folder viewed in List or Details view and all of the folders underneath My Pictures to be shown as thumbnails.
Windows有一个令人讨厌的习惯,即为不需要缩略图的文件夹显示缩略图,例如“我的图片”文件夹。 对我来说,最好在“列表”或“详细信息”视图中查看“我的图片”文件夹,并将“我的图片”下面的所有文件夹显示为缩略图。
The really annoying thing is that even if you go to Tools, Options, View, and click on “Apply to All Folders”, Windows may still revert back to thumbnail view! This happens because Windows will show a folder in thumbnail view if it finds a THUMBS.DB file in the folder.
真正令人讨厌的是,即使您转到“工具”,“选项”,“视图”,然后单击“应用于所有文件夹”,Windows仍可能会恢复为缩略图视图! 发生这种情况是因为,如果Windows在文件夹中找到THUMBS.DB文件,它将在缩略图视图中显示该文件夹。
THUMBS.DB is a cache file that basically is used by Windows in any folder it finds a picture or video so that the next time you view the folder, the thumbnails will be loaded faster so you don’t have to wait. However, with the current speed of computers, it’s pretty useless and only takes up more space on your computer.
THUMBS.DB是一个缓存文件,基本上Windows会在它找到图片或视频的任何文件夹中使用它,以便下次查看该文件夹时,缩略图将更快地加载,因此您不必等待。 但是,以当前的计算机速度,它几乎没有用,只会占用计算机上更多的空间。
Disabling Thumbnails
禁用缩略图
You can delete the file and the thumbnail view will go away, but only for some time before Windows re-creates it. You can prevent this from happening by disabling the thumbnail cache in Folder Options or via a registry hack.
您可以删除文件,缩略图视图将消失,但仅在Windows重新创建它之前一段时间。 您可以通过在“文件夹选项”中禁用缩略图缓存或通过注册表**来防止这种情况的发生。
In Explorer, go to Tools, then Folder Options and click on the View tab.
在资源管理器中,依次转到“工具”,“文件夹选项”,然后单击“视图”选项卡。
Check the box “Do not cache thumbnails” and click OK. Now Windows will not automatically create a THUMBS.DB file for a folder it deems needs thumbnails, which means you can set a folder view to list or detail and it will remain that way. Make sure to first delete the THUMBS.DB file if one existed already.
选中“不缓存缩略图”框,然后单击“确定”。 现在,Windows不会自动为它认为需要缩略图的文件夹创建THUMBS.DB文件,这意味着您可以将文件夹视图设置为列表或详细信息,并且它将保持这种状态。 如果已经存在,请确保首先删除THUMBS.DB文件。
You can still set the display of a folder manually by right-clicking on the folder and choosing Properties. Click on the Customize tab and choose from the list (Documents, Pictures, Photo Album, Music, etc)
您仍然可以通过右键单击文件夹并选择“属性”来手动设置文件夹的显示。 单击“自定义”选项卡,然后从列表中选择(文档,图片,相册,音乐等)
Disabling Thumbnails with a Registry Hack
使用注册表黑客禁用缩略图
Open the registry (regedit.exe) from the Run command and navigate to the following key:
从“运行”命令中打开注册表(regedit.exe),然后导航至以下项:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Explorer\Advanced
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced
Double click on the DisableThumbnailCache key in the right-hand pane and change the value to 1. If the key is not there, go to Edit, then New and choose DWORD Value to create one with the same name.
双击右侧窗格中的DisableThumbnailCache键,并将其值更改为1。如果该键不存在,请依次转到“编辑”,“新建”并选择“ DWORD值”以创建一个具有相同名称的值。
Close the Registry and reboot your computer for the changes to take effect.
关闭注册表并重新启动计算机,以使更改生效。
If you have a lot of folders with lots of pictures, it would be best to disable the thumbnail cache because each picture in the cache is about 2KB, meaning a 1000 pictures in one folder would result in a cache of 2MBs!
如果您的文件夹中有很多图片,则最好禁用缩略图缓存,因为缓存中的每张图片约为2KB,这意味着在一个文件夹中放置1000张图片将导致2MB的缓存!
This is a guest post by Aseem Kishore from HelpDeskGeek.com, which focuses on providing Help Desk tips to IT Professionals.
这是来自HelpDeskGeek.com的Aseem Kishore的来宾帖子,重点是向IT专业人员提供帮助台提示。
thumbs.db