Open in the explorer

Limit the maximum network bandwidth for BITS background transfers

Limiter la bande passante réseau maximale pour les transferts BITS en arrière-plan

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 XP SP2 or Windows Server 2003 SP1, or computers with BITS 2.0 installed. FR: Windows XP SP2, Windows Server 2003 SP1 ou les ordinateurs sur lesquels BITS 2.0 est installé.
ADMX file
Bits.admx
Internal name
Bits/BITS_MaxBandwidth

Explanation

This policy setting limits the network bandwidth that Background Intelligent Transfer Service (BITS) uses for background transfers. (This policy setting does not affect foreground transfers.)

You can specify a limit to use during a specific time interval and at all other times. For example, limit the use of network bandwidth to 10 Kbps from 8:00 A.M. to 5:00 P.M., and use all available unused bandwidth the rest of the day's hours.

If you enable this policy setting, BITS will limit its bandwidth usage to the specified values. You can specify the limit in kilobits per second (Kbps). If you specify a value less than 2 kilobits, BITS will continue to use approximately 2 kilobits. To prevent BITS transfers from occurring, specify a limit of 0.

If you disable or do not configure this policy setting, BITS uses all available unused bandwidth.

Note: You should base the limit on the speed of the network link, not the computer's network interface card (NIC). This policy setting does not affect Peercaching transfers between peer computers (it does affect transfers from the origin server); the "Limit the maximum network bandwidth used for Peercaching" policy setting should be used for that purpose.

Consider using this setting to prevent BITS transfers from competing for network bandwidth when the client computer has a fast network card (10Mbs), but is connected to the network via a slow link (56Kbs).

French text from Windows 11 26H2

Ce paramètre de stratégie limite la bande passante réseau utilisée par le service BITS pendant les transferts en arrière-plan. (Ce paramètre de stratégie n’affecte pas les transferts au premier plan.)

Vous pouvez spécifier une limite à utiliser pendant un intervalle de temps spécifique et une autre à utiliser à tout autre moment. Par exemple, vous pouvez limiter l’utilisation de la bande passante réseau à 10 Kbits/s entre 8 h 00 et 17 h 00 et utiliser toute la bande passante disponible le reste du temps.

Si vous activez ce paramètre, le service BITS limite l’utilisation de la bande passante aux valeurs spécifiées. Vous pouvez spécifier la limite en kilobits par seconde (Kbits/s). Si vous spécifiez une valeur inférieure à 2 kilobits, le service BITS continue à utiliser approximativement 2 kilobits. Pour empêcher tout transfert BITS, spécifiez une limite égale à 0.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le service BITS utilisera toute la bande passante disponible.

Remarque : basez la limite sur la vitesse de la liaison réseau et non sur la carte d’interface réseau de l’ordinateur (NIC). Ce paramètre n’affecte pas les transferts de mise en cache partagé entre systèmes homologues (mais il affecte les transferts à partir du serveur d’origine). Le paramètre « Limiter la bande passante réseau maximale utilisée pour la mise en cache partagé entre systèmes homologues » doit être utilisé à cet effet.

Envisagez l’utilisation de ce paramètre pour empêcher les transferts BITS de solliciter en priorité la bande passante réseau lorsque l’ordinateur client dispose d’une carte réseau rapide (10 Mbits/s), mais qu’il est connecté au réseau via une liaison lente (56 Kbits/s).

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\BITS
Value name
EnableBITSMaxBandwidth
StateValue written
Enablednot defined in the ADMX (see the options below)
Disablednot 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.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

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_MaxBandwidth
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'EnableBITSMaxBandwidth' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)
# Limit background transfer rate (Kbps) to
Set-ItemProperty -Path $k -Name 'MaxTransferRateOnSchedule' -Value 10 -Type DWord  # maximum 4294967200
# From
# Possible options:
#   12 AM = 0; 1 AM = 1; 2 AM = 2; 3 AM = 3; 4 AM = 4; 5 AM = 5; 6 AM = 6; 7 AM = 7; 8 AM = 8
#   9 AM = 9; 10 AM = 10; 11 AM = 11; 12 PM = 12; 1 PM = 13; 2 PM = 14; 3 PM = 15; 4 PM = 16
#   5 PM = 17; 6 PM = 18; 7 PM = 19; 8 PM = 20; 9 PM = 21; 10 PM = 22; 11 PM = 23
Set-ItemProperty -Path $k -Name 'MaxBandwidthValidFrom' -Value 8 -Type DWord
# to
# Possible options:
#   12 AM = 0; 1 AM = 1; 2 AM = 2; 3 AM = 3; 4 AM = 4; 5 AM = 5; 6 AM = 6; 7 AM = 7; 8 AM = 8
#   9 AM = 9; 10 AM = 10; 11 AM = 11; 12 PM = 12; 1 PM = 13; 2 PM = 14; 3 PM = 15; 4 PM = 16
#   5 PM = 17; 6 PM = 18; 7 PM = 19; 8 PM = 20; 9 PM = 21; 10 PM = 22; 11 PM = 23
Set-ItemProperty -Path $k -Name 'MaxBandwidthValidTo' -Value 17 -Type DWord
# Use all available unused bandwidth
# value not defined in the ADMX (the GPO editor usually writes 1/0)
# 1 = checked, 0 = unchecked; default state taken from the ADML
Set-ItemProperty -Path $k -Name 'UseSystemMaximum' -Value 1 -Type DWord
# Limit background transfer rate (Kbps) to
Set-ItemProperty -Path $k -Name 'MaxTransferRateOffSchedule' -Value 20 -Type DWord  # maximum 4294967200

Disable

# Disable: Bits/BITS_MaxBandwidth
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'EnableBITSMaxBandwidth' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Bits/BITS_MaxBandwidth
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
Remove-ItemProperty -Path $k -Name 'EnableBITSMaxBandwidth' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'MaxTransferRateOnSchedule' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'MaxBandwidthValidFrom' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'MaxBandwidthValidTo' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UseSystemMaximum' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'MaxTransferRateOffSchedule' -ErrorAction SilentlyContinue

Options (5)

LabelControlRegistry valueREG typeConstraints / details
Limit background transfer rate (Kbps) to:Limiter le taux de transfert en arrière-plan (en Kbits/s) à :BITS_MaxTransferRateTextNumeric boxdecimalMaxTransferRateOnScheduleREG_DWORD
Max: 4294967200 · Default (UI): 10
FromDeBITS_BandwidthLimitSchedFromDrop-down listenumMaxBandwidthValidFromREG_DWORD
Required · Default choice (UI): #8
LabelValue
12 AMREG_DWORD = 0
1 AMREG_DWORD = 1
2 AMREG_DWORD = 2
3 AMREG_DWORD = 3
4 AMREG_DWORD = 4
5 AMREG_DWORD = 5
6 AMREG_DWORD = 6
7 AMREG_DWORD = 7
8 AMREG_DWORD = 8
9 AMREG_DWORD = 9
10 AMREG_DWORD = 10
11 AMREG_DWORD = 11
12 PMREG_DWORD = 12
1 PMREG_DWORD = 13
2 PMREG_DWORD = 14
3 PMREG_DWORD = 15
4 PMREG_DWORD = 16
5 PMREG_DWORD = 17
6 PMREG_DWORD = 18
7 PMREG_DWORD = 19
8 PMREG_DWORD = 20
9 PMREG_DWORD = 21
10 PMREG_DWORD = 22
11 PMREG_DWORD = 23
toàBITS_BandwidthLimitSchedToDrop-down listenumMaxBandwidthValidToREG_DWORD
Required · Default choice (UI): #17
LabelValue
12 AMREG_DWORD = 0
1 AMREG_DWORD = 1
2 AMREG_DWORD = 2
3 AMREG_DWORD = 3
4 AMREG_DWORD = 4
5 AMREG_DWORD = 5
6 AMREG_DWORD = 6
7 AMREG_DWORD = 7
8 AMREG_DWORD = 8
9 AMREG_DWORD = 9
10 AMREG_DWORD = 10
11 AMREG_DWORD = 11
12 PMREG_DWORD = 12
1 PMREG_DWORD = 13
2 PMREG_DWORD = 14
3 PMREG_DWORD = 15
4 PMREG_DWORD = 16
5 PMREG_DWORD = 17
6 PMREG_DWORD = 18
7 PMREG_DWORD = 19
8 PMREG_DWORD = 20
9 PMREG_DWORD = 21
10 PMREG_DWORD = 22
11 PMREG_DWORD = 23
Use all available unused bandwidthUtiliser toute la bande passante inutilisée disponibleBITS_UseSystemMaximumCheck boxbooleanUseSystemMaximumREG_DWORD
Default (UI): true
Checked: implicit: 1
Unchecked: implicit: 0
Limit background transfer rate (Kbps) to:Limiter le taux de transfert en arrière-plan (en Kbits/s) à :BITS_MaxTransferRateText_1Numeric boxdecimalMaxTransferRateOffScheduleREG_DWORD
Max: 4294967200 · Default (UI): 20

Availability