Disable Thumbs.db on Network Shares via Regedit
Windows automatically creates hidden thumbs.db files to
store thumbnail previews for images and documents. When working on
remote network shares, these files can lock directories, preventing
users from renaming, moving, or deleting folders. This guide provides a
straightforward method to disable the automatic creation of
thumbs.db files on network shares using the Windows
Registry Editor (Regedit).
Step-by-Step Guide to Disabling Thumbs.db
Modifying the Windows Registry allows you to apply a system-wide policy that blocks thumbnail caching on remote network locations.
1. Open the Registry Editor
- Press
Windows Key + Rto open the Run dialog box. - Type
regeditand pressEnteror click OK. - If prompted by User Account Control (UAC), click Yes to grant administrator privileges.
2. Navigate to the Explorer Policies Key
Use the left sidebar in the Registry Editor to navigate to the following path:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
Note: If the Explorer key does not exist under
Windows, right-click the Windows folder,
select New > Key, and name it
Explorer.
3. Create the Registry Value
- Right-click on an empty area in the right-hand pane of the
Explorerkey. - Select New > DWORD (32-bit) Value.
- Name the new value:
DisableThumbsDBOnNetworkFolders - Double-click the newly created
DisableThumbsDBOnNetworkFoldersentry. - In the Value data field, change the value from
0to1. - Ensure the Base is set to Hexadecimal, then click OK.
4. Apply for All Users (Optional)
To enforce this setting for every user on the local machine rather than just the current user profile, repeat the steps above under this path:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer
5. Restart Windows Explorer
For the changes to take effect immediately without restarting your computer:
- Press
Ctrl + Shift + Escto open the Task Manager. - Under the Processes tab, locate Windows Explorer.
- Right-click Windows Explorer and select Restart.
Alternatively, you can sign out of your Windows account and sign back
in, or restart your computer. Windows will no longer generate
thumbs.db files in shared network directories.