Open in the explorer

Do not allow the BITS client to use Windows Branch Cache

Ne pas autoriser le client BITS à utiliser le cache de filiale Windows

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › Background Intelligent Transfer Service (BITS) FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Service de transfert intelligent en arrière-plan (BITS)
Supported on
Windows 7 or computers with BITS 3.5 installed. FR: Windows 7 ou les ordinateurs sur lesquels BITS 3.5 est installé.
ADMX file
Bits.admx
Internal name
Bits/BITS_DisableBranchCache

Explanation

This setting affects whether the BITS client is allowed to use Windows Branch Cache. If the Windows Branch Cache component is installed and enabled on a computer, BITS jobs on that computer can use Windows Branch Cache by default.

If you enable this policy setting, the BITS client does not use Windows Branch Cache.

If you disable or do not configure this policy setting, the BITS client uses Windows Branch Cache.

Note: This policy setting does not affect the use of Windows Branch Cache by applications other than BITS. This policy setting does not apply to BITS transfers over SMB. This setting has no effect if the computer's administrative settings for Windows Branch Cache disable its use entirely.

French text from Windows 11 26H2

Ce paramètre détermine si le client BITS est autorisé à utiliser le cache de filiale Windows. Si le composant Cache de filiale Windows est installé et activé sur un ordinateur, les tâches BITS sur cet ordinateur peuvent l’utiliser par défaut.

Si vous activez ce paramètre de stratégie, le client BITS n’utilise pas le cache de filiale Windows.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le client BITS utilise le cache de filiale Windows.

Remarque : ce paramètre de stratégie n’affecte pas l’utilisation du cache de filiale Windows par des applications autres que le service BITS. Ce paramètre de stratégie ne s’applique pas aux transferts BITS sur SMB. Ce paramètre reste sans effet si les paramètres d’administration de l’ordinateur pour le cache de filiale Windows en désactivent entièrement l’utilisation.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\BITS
Value name
DisableBranchCache
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: Bits/BITS_DisableBranchCache
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableBranchCache' -Value 1 -Type DWord

Disable

# Disable: Bits/BITS_DisableBranchCache
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableBranchCache' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Bits/BITS_DisableBranchCache
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
Remove-ItemProperty -Path $k -Name 'DisableBranchCache' -ErrorAction SilentlyContinue

Availability