Open in the explorer

Do not allow the computer to act as a BITS Peercaching client

Ne pas autoriser l’utilisation de l’ordinateur en tant que client de mise en cache partagé entre systèmes homologues BITS

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
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
Bits.admx
Internal name
Bits/BITS_DisablePeercachingClient

Explanation

This policy setting specifies whether the computer will act as a BITS peer caching client. By default, when BITS peer caching is enabled, the computer acts as both a peer caching server (offering files to its peers) and a peer caching client (downloading files from its peers).

If you enable this policy setting, the computer will no longer use the BITS peer caching feature to download files; files will be downloaded only from the origin server. However, the computer will still make files available to its peers.

If you disable or do not configure this policy setting, the computer attempts to download peer-enabled BITS jobs from peer computers before reverting to the origin server.

Note: This policy setting has no effect if the "Allow BITS peer caching" policy setting is disabled or not configured.

French text from Windows 11 26H2

Ce paramètre de stratégie indique si l’ordinateur sert de client de mise en cache partagé entre systèmes homologues BITS. Par défaut, lorsque la mise en cache partagé entre systèmes homologues BITS est activée, l’ordinateur sert à la fois de serveur de mise en cache partagé entre systèmes homologues (met les fichiers à la disposition de ses homologues) et de client de mise en cache partagé entre systèmes homologues (télécharge les fichiers à partir de ses homologues).

Si vous activez ce paramètre de stratégie, l’ordinateur n’utilise plus la fonctionnalité de mise en cache partagé entre systèmes homologues BITS pour télécharger les fichiers et les fichiers sont téléchargés uniquement à partir du serveur d’origine. Cependant, l’ordinateur met les fichiers à disposition de ses homologues.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, l’ordinateur tente de télécharger les tâches BITS des homologues à partir des ordinateurs homologues avant de revenir au serveur d’origine.

Remarque : ce paramètre de stratégie n’a aucune incidence si le paramètre de stratégie « Autoriser la mise en cache partagé entre systèmes homologues BITS » est désactivé ou n’est pas configuré.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\BITS
Value name
DisablePeerCachingClient
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_DisablePeercachingClient
$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 'DisablePeerCachingClient' -Value 1 -Type DWord

Disable

# Disable: Bits/BITS_DisablePeercachingClient
$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 'DisablePeerCachingClient' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability