Open in the explorer

Turn off the caching of thumbnails in hidden thumbs.db files

Désactiver la mise en cache des miniatures dans les fichiers masqués thumbs.db

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › File Explorer FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Explorateur de fichiers
Supported on
MicrosoftWindowsVista_SP1
ADMX file
Thumbnails.admx
Internal name
Thumbnails/DisableThumbsDBOnNetworkFolders

Explanation

Turns off the caching of thumbnails in hidden thumbs.db files.

This policy setting allows you to configure File Explorer to cache thumbnails of items residing in network folders in hidden thumbs.db files.

If you enable this policy setting, File Explorer does not create, read from, or write to thumbs.db files.

If you disable or do not configure this policy setting, File Explorer creates, reads from, and writes to thumbs.db files.

French text from Windows 11 26H2

Désactive la mise en cache des miniatures dans les fichiers masqués thumbs.db.

Ce paramètre de stratégie permet de configurer l’Explorateur de fichiers pour qu’il mette en cache les miniatures des éléments situés dans des dossiers réseau dans des fichiers masqués thumbs.db.

Si vous activez ce paramètre de stratégie, l’Explorateur de fichiers ne peut ni créer, ni lire, ni écrire de fichiers thumbs.db.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’Explorateur de fichiers crée des fichiers thumbs.db, les lit et écrit dedans.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
Value name
DisableThumbsDBOnNetworkFolders
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: Thumbnails/DisableThumbsDBOnNetworkFolders
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableThumbsDBOnNetworkFolders' -Value 1 -Type DWord

Disable

# Disable: Thumbnails/DisableThumbsDBOnNetworkFolders
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableThumbsDBOnNetworkFolders' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Thumbnails/DisableThumbsDBOnNetworkFolders
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'DisableThumbsDBOnNetworkFolders' -ErrorAction SilentlyContinue

Availability