Ouvrir dans l'explorateur

Configurer une planification des tâches pour limiter la bande passante réseau maximale utilisée pour les transferts BITS en arrière-plan

Set up a work schedule to limit the maximum network bandwidth used for BITS background transfers

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Service de transfert intelligent en arrière-plan (BITS) EN : Computer Configuration › Policies › Administrative Templates › Network › Background Intelligent Transfer Service (BITS)
Pris en charge sur
Windows 7 ou les ordinateurs sur lesquels BITS 3.5 est installé. EN : Windows 7 or computers with BITS 3.5 installed.
Fichier ADMX
Bits.admx
Nom interne
Bits/BITS_MaxBandwidthV2_Work

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie limite la bande passante réseau maximale utilisée par le service BITS durant les jours et les heures travaillés et non travaillés. La planification des tâches est définie à l’aide d’un calendrier hebdomadaire constitué des jours de la semaine et des heures de la journée. Les heures et les jours non définis dans une planification des tâches sont considérés comme des heures non travaillées.

Si vous activez ce paramètre de stratégie, vous pouvez définir une planification permettant de limiter la bande passante réseau durant les heures travaillées et non travaillées. Une fois la planification des tâches définie, vous pouvez configurer les limites d’utilisation de la bande passante pour chacun des trois niveaux de priorité BITS en arrière-plan : haut, normal et bas.

Vous pouvez spécifier une limite pour les travaux en arrière-plan lors de la planification d’une tâche. Par exemple, vous pouvez limiter la bande passante réseau des tâches de priorité basse à 128 Kbits/s de 8 h 00 à 17 h 00 du lundi au vendredi, puis définir la limite à 512 Kbits/s pour les heures non travaillées.

Si vous désactivez ou ne configurez pas ce paramètre, le service BITS utilise toute la bande passante disponible pour le transfert de tâches en arrière-plan.

This policy setting limits the network bandwidth that Background Intelligent Transfer Service (BITS) uses for background transfers during the work and nonwork days and hours. The work schedule is defined using a weekly calendar, which consists of days of the week and hours of the day. All hours and days that are not defined in a work schedule are considered non-work hours.

If you enable this policy setting, you can set up a schedule for limiting network bandwidth during both work and nonwork hours. After the work schedule is defined, you can set the bandwidth usage limits for each of the three BITS background priority levels: high, normal, and low.

You can specify a limit to use for background jobs during a work schedule. For example, you can limit the network bandwidth of low priority jobs to 128 Kbps from 8:00 A.M. to 5:00 P.M. on Monday through Friday, and then set the limit to 512 Kbps for nonwork hours.

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

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\BITS\Throttling
Nom de la valeur
EnableBandwidthLimits
ÉtatValeur écrite
Activénon défini dans l'ADMX (voir les options ci-dessous)
Désactivénon défini dans l'ADMX (voir les options ci-dessous)

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

L'ADMX ne précise pas la valeur écrite à l'activation ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé). Les commandes ci-dessous utilisent 1/0 par hypothèse.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : Bits/BITS_MaxBandwidthV2_Work
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'EnableBandwidthLimits' -Value 1 -Type DWord  # valeur supposée (non définie dans l'ADMX)
# Ignorer les limites de bande passante si la source et la destination se trouvent sur le même sous-réseau.
# valeur non définie dans l'ADMX (l'éditeur GPO écrit en général 1/0)
# 1 = coché, 0 = décoché ; état par défaut de la case repris de l’ADML
Set-ItemProperty -Path $k -Name 'IgnoreBandwidthLimitsOnLan' -Value 0 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling\WorkSchedule'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# De
# Options possibles :
#   Sunday = 0
#   Monday = 1
#   Tuesday = 2
#   Wednesday = 3
#   Thursday = 4
#   Friday = 5
#   Saturday = 6
Set-ItemProperty -Path $k -Name 'StartDay' -Value 1 -Type DWord
# À
# Options possibles :
#   Sunday = 0
#   Monday = 1
#   Tuesday = 2
#   Wednesday = 3
#   Thursday = 4
#   Friday = 5
#   Saturday = 6
Set-ItemProperty -Path $k -Name 'EndDay' -Value 5 -Type DWord
# De
# Options possibles :
#   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 'StartHour' -Value 8 -Type DWord
# À
# Options possibles :
#   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 'EndHour' -Value 17 -Type DWord
# Limite de priorité haute
Set-ItemProperty -Path $k -Name 'HighBandwidthLimit' -Value 0 -Type DWord  # maximum 4294967200
# Unité de priorité haute
# Options possibles :
#   Kbps = 1
#   Mbps = 2
#   Unlimited = 3
Set-ItemProperty -Path $k -Name 'HighBandwidthType' -Value 3 -Type DWord
# Limite de priorité normale
Set-ItemProperty -Path $k -Name 'NormalBandwidthLimit' -Value 0 -Type DWord  # maximum 4294967200
# Unité de priorité normale
# Options possibles :
#   Kbps = 1
#   Mbps = 2
#   Unlimited = 3
Set-ItemProperty -Path $k -Name 'NormalBandwidthType' -Value 3 -Type DWord
# Limite de priorité basse
Set-ItemProperty -Path $k -Name 'LowBandwidthLimit' -Value 0 -Type DWord  # maximum 4294967200
# Unité de priorité basse
# Options possibles :
#   Kbps = 1
#   Mbps = 2
#   Unlimited = 3
Set-ItemProperty -Path $k -Name 'LowBandwidthType' -Value 3 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling\NonWorkSchedule'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Limite de priorité haute
Set-ItemProperty -Path $k -Name 'HighBandwidthLimit' -Value 0 -Type DWord  # maximum 4294967200
# Unité de priorité haute
# Options possibles :
#   Kbps = 1
#   Mbps = 2
#   Unlimited = 3
Set-ItemProperty -Path $k -Name 'HighBandwidthType' -Value 3 -Type DWord
# Limite de priorité normale
Set-ItemProperty -Path $k -Name 'NormalBandwidthLimit' -Value 0 -Type DWord  # maximum 4294967200
# Unité de priorité normale
# Options possibles :
#   Kbps = 1
#   Mbps = 2
#   Unlimited = 3
Set-ItemProperty -Path $k -Name 'NormalBandwidthType' -Value 3 -Type DWord
# Limite de priorité basse
Set-ItemProperty -Path $k -Name 'LowBandwidthLimit' -Value 0 -Type DWord  # maximum 4294967200
# Unité de priorité basse
# Options possibles :
#   Kbps = 1
#   Mbps = 2
#   Unlimited = 3
Set-ItemProperty -Path $k -Name 'LowBandwidthType' -Value 3 -Type DWord

Désactiver

# Désactiver : Bits/BITS_MaxBandwidthV2_Work
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'EnableBandwidthLimits' -Value 0 -Type DWord  # valeur supposée (non définie dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : Bits/BITS_MaxBandwidthV2_Work
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling'
Remove-ItemProperty -Path $k -Name 'EnableBandwidthLimits' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'IgnoreBandwidthLimitsOnLan' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling\WorkSchedule'
Remove-ItemProperty -Path $k -Name 'StartDay' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EndDay' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'StartHour' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EndHour' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'HighBandwidthLimit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'HighBandwidthType' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NormalBandwidthLimit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NormalBandwidthType' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'LowBandwidthLimit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'LowBandwidthType' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling\NonWorkSchedule'
Remove-ItemProperty -Path $k -Name 'HighBandwidthLimit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'HighBandwidthType' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NormalBandwidthLimit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NormalBandwidthType' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'LowBandwidthLimit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'LowBandwidthType' -ErrorAction SilentlyContinue

Options (17)

LibelléContrôleValeur de registreType REGContraintes / détails
Ignorer les limites de bande passante si la source et la destination se trouvent sur le même sous-réseau.Ignore bandwidth limits if the source and the destination are on the same subnet.BITS_IgnoreLimitsOnLanCase à cocherbooleanIgnoreBandwidthLimitsOnLanREG_DWORD
Défaut (interface) : false
Coché : implicite : 1
Décoché : implicite : 0
DeFromBITS_WorkDaysFromListe déroulanteenumStartDaydans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 1
LibelléValeur
SundayREG_DWORD = 0
MondayREG_DWORD = 1
TuesdayREG_DWORD = 2
WednesdayREG_DWORD = 3
ThursdayREG_DWORD = 4
FridayREG_DWORD = 5
SaturdayREG_DWORD = 6
ÀToBITS_WorkDaysToListe déroulanteenumEndDaydans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 5
LibelléValeur
SundayREG_DWORD = 0
MondayREG_DWORD = 1
TuesdayREG_DWORD = 2
WednesdayREG_DWORD = 3
ThursdayREG_DWORD = 4
FridayREG_DWORD = 5
SaturdayREG_DWORD = 6
DeFromBITS_WorkHoursFromListe déroulanteenumStartHourdans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 8
LibelléValeur
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
ÀToBITS_WorkHoursToListe déroulanteenumEndHourdans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 17
LibelléValeur
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
Limite de priorité haute :High Priority Limit:BITS_WorkHighPriorityLimitZone numériquedecimalHighBandwidthLimitdans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Max : 4294967200 · Défaut (interface) : 0
Unité de priorité haute :High Priority Unit:BITS_WorkHighPriorityUnitListe déroulanteenumHighBandwidthTypedans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 2
LibelléValeur
KbpsREG_DWORD = 1
MbpsREG_DWORD = 2
UnlimitedREG_DWORD = 3
Limite de priorité normale :Normal Priority Limit:BITS_WorkNormalPriorityLimitZone numériquedecimalNormalBandwidthLimitdans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Max : 4294967200 · Défaut (interface) : 0
Unité de priorité normale :Normal Priority Unit:BITS_WorkNormalPriorityUnitListe déroulanteenumNormalBandwidthTypedans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 2
LibelléValeur
KbpsREG_DWORD = 1
MbpsREG_DWORD = 2
UnlimitedREG_DWORD = 3
Limite de priorité basse :Low Priority Limit:BITS_WorkLowPriorityLimitZone numériquedecimalLowBandwidthLimitdans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Max : 4294967200 · Défaut (interface) : 0
Unité de priorité basse :Low Priority Unit:BITS_WorkLowPriorityUnitListe déroulanteenumLowBandwidthTypedans Software\Policies\Microsoft\Windows\BITS\Throttling\WorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 2
LibelléValeur
KbpsREG_DWORD = 1
MbpsREG_DWORD = 2
UnlimitedREG_DWORD = 3
Limite de priorité haute :High Priority Limit:BITS_NonWorkHighPriorityLimitZone numériquedecimalHighBandwidthLimitdans Software\Policies\Microsoft\Windows\BITS\Throttling\NonWorkScheduleREG_DWORD
Max : 4294967200 · Défaut (interface) : 0
Unité de priorité haute :High Priority Unit:BITS_NonWorkHighPriorityUnitListe déroulanteenumHighBandwidthTypedans Software\Policies\Microsoft\Windows\BITS\Throttling\NonWorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 2
LibelléValeur
KbpsREG_DWORD = 1
MbpsREG_DWORD = 2
UnlimitedREG_DWORD = 3
Limite de priorité normale :Normal Priority Limit:BITS_NonWorkNormalPriorityLimitZone numériquedecimalNormalBandwidthLimitdans Software\Policies\Microsoft\Windows\BITS\Throttling\NonWorkScheduleREG_DWORD
Max : 4294967200 · Défaut (interface) : 0
Unité de priorité normale :Normal Priority Unit:BITS_NonWorkNormalPriorityUnitListe déroulanteenumNormalBandwidthTypedans Software\Policies\Microsoft\Windows\BITS\Throttling\NonWorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 2
LibelléValeur
KbpsREG_DWORD = 1
MbpsREG_DWORD = 2
UnlimitedREG_DWORD = 3
Limite de priorité basse :Low Priority Limit:BITS_NonWorkLowPriorityLimitZone numériquedecimalLowBandwidthLimitdans Software\Policies\Microsoft\Windows\BITS\Throttling\NonWorkScheduleREG_DWORD
Max : 4294967200 · Défaut (interface) : 0
Unité de priorité basse :Low Priority Unit:BITS_NonWorkLowPriorityUnitListe déroulanteenumLowBandwidthTypedans Software\Policies\Microsoft\Windows\BITS\Throttling\NonWorkScheduleREG_DWORD
Obligatoire · Choix par défaut (interface) : n° 2
LibelléValeur
KbpsREG_DWORD = 1
MbpsREG_DWORD = 2
UnlimitedREG_DWORD = 3

Disponibilité