Open in the explorer

Limit the maximum network bandwidth used for Peercaching

Limiter la bande passante réseau maximale utilisée pour la mise en cache partagé entre systèmes homologues

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_MaxBandwidthServedForPeers

Explanation

This policy setting limits the network bandwidth that BITS uses for peer cache transfers (this setting does not affect transfers from the origin server).
To prevent any negative impact to a computer caused by serving other peers, by default BITS will use up to 30 percent of the bandwidth of the slowest active network interface. For example, if a computer has both a 100 Mbps network card and a 56 Kbps modem, and both are active, BITS will use a maximum of 30 percent of 56 Kbps.
You can change the default behavior of BITS, and specify a fixed maximum bandwidth that BITS will use for peer caching.

If you enable this policy setting, you can enter a value in bits per second (bps) between 1048576 and 4294967200 to use as the maximum network bandwidth used for peer caching.

If you disable this policy setting or do not configure it, the default value of 30 percent of the slowest active network interface will be used.

Note: This 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 limite la bande passante réseau utilisée par le service BITS pour les transferts du cache partagé entre systèmes homologues (sans incidence sur les transferts à partir du serveur d’origine).
Pour éviter tout impact négatif sur un ordinateur provoqué par les services dispensés aux autres homologues, le service BITS utilise, par défaut, jusqu’à 30 pour cent de la bande passante de l’interface réseau active la moins rapide. Par exemple, si un ordinateur dispose d’une carte réseau 100 Mbits/s et d’un modem 56 Kbits/s, tous les deux actifs, le service BITS utilise au maximum 30 pour cent de 56 Kbits/s.
Vous pouvez modifier le comportement par défaut du service BITS et spécifier une bande passante maximale fixe qui sera utilisée pour la mise en cache partagé entre systèmes homologues.

Si vous activez ce paramètre de stratégie, vous pouvez entrer une valeur en bits par seconde (bits/s), comprise entre 1 048 576 et 4 294 967 200, à utiliser comme limite de bande passante réseau pour la mise en cache partagé entre systèmes homologues.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, la valeur par défaut de 30 % de l’interface réseau active la moins rapide s’applique.

Remarque : ce paramètre 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
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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_MaxBandwidthServedForPeers
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Maximum network bandwidth used for Peercaching (bps)
Set-ItemProperty -Path $k -Name 'MaxBandwidthServed' -Value 1048576 -Type DWord  # between 1048576 and 4294967200

Disable

# Disable: Bits/BITS_MaxBandwidthServedForPeers
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Maximum network bandwidth used for Peercaching (bps):Bande passante réseau maximale utilisée pour la mise en cache partagé entre systèmes homologues (en bits/s) :BITS_MaxBandwidthServedForPeersListNumeric boxdecimalMaxBandwidthServedREG_DWORD
Required · Min: 1048576 · Max: 4294967200 · Default (UI): 1048576

Availability