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: 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.
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 – 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!