如果您曾经在多个计算机用户相互连接并访问相同文件夹的网络文件夹中找到(Network)thumb.db文件,您就会知道很难删除它们,因为它们被作为(thumb.db )系统(System)文件读取。在这种情况下,它可能会给系统管理员和用户带来问题。
(Remove)Windows 11/10网络(Network)文件夹中删除thumbs.db 文件
Thumbs.db 文件不是您在系统中创建的文件,而是在您访问包含图片的文件夹时自动构建的,以便可以缓存缩略图并更快地显示文件夹中的内容。除非您将文件资源管理器(File Explorer)配置为显示这些文件,否则这些文件是不可见的。
因此,默认情况下,Windows 操作系统将在(Windows OS)网络(Network)驱动器上的文件夹中创建 thumbs.db 文件,并%LOCALAPPDATA%MicrosoftWindowsExplorer
在本地驱动器上的文件中创建一个集中的缩略图缓存。
有时,它们可以阻止Windows删除或移除文件夹,尤其是在多台计算机访问相同文件夹的网络上。如果您想删除Network文件夹中的 thumbs.db 文件,您可以这样做:
- 启动文件资源管理器。
- 转到您要删除的文件夹。
- 选择查看选项卡。
- 检查隐藏的项目框。
- 从布局(Layout)部分选择详细信息(Details)窗格。
- 选择要删除的 thumbs.db 文件。
- 删除它。
首先,启动Explorer。您可以使用快捷键Win+E直接启动文件资源管理器(File Explorer)。
找到要删除的文件夹。找到后,单击“查看”(View )选项卡并选中“Show/Hide”部分下的“隐藏项目(Hidden Items)”框。
此后,切换到Layout部分下的(Layout)Details窗格并选择要删除的 thumbs.db 文件。
当出现消息提示时,单击“是”(Yes )进行确认。
如果你可以删除它,很好,否则你可能需要先禁用 thumbs.db 创建(first disable thumbs.db creation)然后尝试。
读取(Read):操作无法完成,因为文件已在另一个程序中打开。
使用组策略编辑器(Group Policy Editor)禁用 thumbs.db
如果您愿意,您也可以使用组策略编辑器(Group Policy Editor)禁用 thumbs.db 。
Press Win+R打开“运行(Run )命令”对话框。
在框的空白字段中,键入gpedit.msc并点击OK按钮。
当本地组策略编辑器(Local Group Policy Editor)窗口打开时,导航到以下路径地址 -
User Configuration > Administrative Templates > Windows Components > File Explorer。
在策略编辑器(Policy Editor)窗口的右侧,找到关闭隐藏 thumbs.db 文件中缩略图的缓存策略(Turn off the caching of thumbnails in hidden thumbs.db files policy)选项。
双击(Double-click)该选项,然后在计算机屏幕上显示的另一个窗口中,选中“启用(Enabled )”选项以禁用该功能。
单击应用(Apply)和确定(OK)。
最后,重新启动您的 PC 以使更改生效。
相关(Related):如何禁止创建 Windows Thumbs.db 文件
(Turn)通过注册表编辑器(Registry Editor)关闭缩略图数据库(Thumbnail DB)创建
在Windows(Windows)中禁用 thumbs.db 文件的另一种方法是通过注册表(Registry)更改。这是怎么做的!
请(Please)注意,错误地更改注册表编辑器(Registry Editor)可能会产生严重后果。可能会出现系统范围的问题,可能需要您重新安装Windows才能更正这些问题。请自行承担风险并首先创建系统还原点。
Press Win+R打开“运行(Run)命令”对话框。
在框的空白字段中,键入Regedit并点击 OK 按钮。
当注册表编辑器(Registry Editor)窗口打开时,导航到以下路径地址 -
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows.
在这里,右键单击Windows文件夹,选择New,然后选择Key选项。
将该键命名为Explorer并按Enter键。
现在,右键单击新创建的Explorer键并选择New。
然后,单击DWORD(32 位)值(Value)选项。
将 DWORD 命名为DisableThumbsDBOnNetworkFolders并按Enter。
双击(Double-click)新创建的DWORD以编辑其值。
在出现的Edit String框中,将默认值从 0 更改为1。
完成后单击确定按钮。
重启你的电脑。
现在,当您尝试在Windows中删除(Windows)Thumbs.db文件时,您应该能够轻松删除这些文件。
这里的所有都是它的!
How to delete Thumbs.db Files in Network folder in Windows 11/10
If you have ever found thumb.db files in a Network folder where several computer users are connected to each other and access the same folders, you know it’s hard to delete them as they are read as System files. It may create problems for system administrators and users in such cases.
Remove thumbs.db files in a Network folder in Windows 11/10
Thumbs.db files aren’t the files you create in your system but built automatically when you access a folder that contains pictures so that the thumbnails can be cached and the contents in a folder can be displayed faster. The files aren’t visible unless you configure the File Explorer to show them.
So, by default, Windows OS will create thumbs.db files within folders on Network drives and a centralized thumbnail cache in %LOCALAPPDATA%\Microsoft\Windows\Explorer
for files on local drives.
At times, they can stop Windows from deleting or removing a folder, especially on a network, where multiple computers are accessing the same folders. If you wish to delete thumbs.db files in a Network folder, there’s how you can do it:
- Launch File Explorer.
- Go to the folder you want to delete.
- Select the View tab.
- Check the Hidden items box.
- Choose the Details pane from the Layout section.
- Select the thumbs.db file to delete.
- Delete it.
Firstly, launch the Explorer. You can use the shortcut Win+E to launch the File Explorer directly.
Find the folder you want to delete. When found, click the View tab and check the Hidden Items box under the Show/Hide section.
Thereafter, switch to the Details pane under the Layout section and choose the thumbs.db files to delete.
When prompted with a message, click Yes to confirm.
If you can delete it, good, else you may need to first disable thumbs.db creation and then try.
Read: The action can’t be completed because the file is open in another program.
Disable thumbs.db using Group Policy Editor
If you wish, you may also Disable thumbs.db with Group Policy Editor.
Press Win+R in combination to open the Run command dialog box.
In the empty field of the box, type gpedit.msc and hit the OK button.
When the Local Group Policy Editor window opens, navigate to the following path address –
User Configuration > Administrative Templates > Windows Components > File Explorer.
On the right side of the Policy Editor window, locate Turn off the caching of thumbnails in hidden thumbs.db files policy option.
Double-click the option and in the other window that appears on your computer screen, check the Enabled option to disable the feature.
Click Apply and OK.
Finally, restart your PC to allow the changes to take effect.
Related: How to disable Windows Thumbs.db files from being created
Turn off Thumbnail DB creation via Registry Editor
An alternative way to disable the thumbs.db files in Windows is via Registry change. Here’s how to do it!
Please note that making changes to the Registry Editor incorrectly can have serious consequences. System-wide problems can occur that may require you to reinstall Windows to correct them. Kindly proceed at your own risk and create a System Restore point first.
Press Win+R in combination to open the Run command dialog box.
In the empty field of the box, type Regedit and hit the OK button.
When the Registry Editor window opens, navigate to the following path address –
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows.
Here, right-click the Windows folder, select New, and choose the Key option.
Name the key as Explorer and hit the Enter key.
Now, right-click the newly created Explorer key and select New.
Then, click on the DWORD (32-bit) Value option.
Name the DWORD DisableThumbsDBOnNetworkFolders and press Enter.
Double-click the newly created DWORD to edit its value.
In the Edit String box that appears, change the default value from 0 to 1.
Click the OK button, when done.
Restart your computer.
Now, when you try to delete the Thumbs.db files in Windows you should be able to remove the files without hassles.
That’s all there is to it!