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
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert to "Not configured"
# Revert to "Not configured": Thumbnails/DisableThumbsDBOnNetworkFolders
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'DisableThumbsDBOnNetworkFolders' -ErrorAction SilentlyContinue