Open in the explorer

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

Configurer une planification de maintenance pour limiter la bande passante réseau maximale utilisée 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 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_MaxBandwidthV2_Maintenance

Explanation

This policy setting limits the network bandwidth that Background Intelligent Transfer Service (BITS) uses for background transfers during the maintenance days and hours. Maintenance schedules further limit the network bandwidth that is used for background transfers.

If you enable this policy setting, you can define a separate set of network bandwidth limits and set up a schedule for the maintenance period.

You can specify a limit to use for background jobs during a maintenance schedule. For example, if normal priority jobs are currently limited to 256 Kbps on a work schedule, you can further limit the network bandwidth of normal priority jobs to 0 Kbps from 8:00 A.M. to 10:00 A.M. on a maintenance schedule.

If you disable or do not configure this policy setting, the limits defined for work or nonwork schedules will be used.

Note: The bandwidth limits that are set for the maintenance period supersede any limits defined for work and other schedules.

French text from Windows 11 26H2

Ce paramètre de stratégie limite la bande passante réseau utilisée par le service BITS durant les jours et les heures de maintenance. Les planifications de maintenance limitent encore davantage la bande passante réseau utilisée pour les transferts en arrière-plan.

Si vous activez ce paramètre de stratégie, vous pouvez définir un ensemble de limites de bande passante réseau distinct, puis configurer une planification pour la période de maintenance.

Vous pouvez spécifier la limite à utiliser pour les tâches en arrière-plan lors de la planification d’une maintenance. Par exemple, si les tâches de priorité normale sont actuellement limitées à 256 Kbits/s dans une planification de tâches, vous pouvez limiter la bande passante réseau des tâches de priorité normale à 0 Kbits/s de 8 h 00 à 10 h 00 dans une planification de maintenance.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les limites définies pour la planification des tâches et pour les autres planifications sont utilisées.

Remarque : les limites de bande passante réseau définies pour la période de maintenance ont priorité sur les limites définies pour la planification des tâches et pour les autres planifications.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\BITS\Throttling
Value name
EnableMaintenanceLimits
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_MaxBandwidthV2_Maintenance
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling'
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 'EnableMaintenanceLimits' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceSchedule'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# From
# Possible options:
#   Sunday = 0
#   Monday = 1
#   Tuesday = 2
#   Wednesday = 3
#   Thursday = 4
#   Friday = 5
#   Saturday = 6
Set-ItemProperty -Path $k -Name 'StartDay' -Value 1 -Type DWord
# To
# Possible options:
#   Sunday = 0
#   Monday = 1
#   Tuesday = 2
#   Wednesday = 3
#   Thursday = 4
#   Friday = 5
#   Saturday = 6
Set-ItemProperty -Path $k -Name 'EndDay' -Value 5 -Type DWord
# 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 'StartHour' -Value 20 -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 'EndHour' -Value 22 -Type DWord
# High Priority Limit
Set-ItemProperty -Path $k -Name 'HighBandwidthLimit' -Value 0 -Type DWord  # maximum 4294967200
# High Priority Unit
# Possible options:
#   Kbps = 1
#   Mbps = 2
#   Unlimited = 3
Set-ItemProperty -Path $k -Name 'HighBandwidthType' -Value 3 -Type DWord
# Normal Priority Limit
Set-ItemProperty -Path $k -Name 'NormalBandwidthLimit' -Value 0 -Type DWord  # maximum 4294967200
# Normal Priority Unit
# Possible options:
#   Kbps = 1
#   Mbps = 2
#   Unlimited = 3
Set-ItemProperty -Path $k -Name 'NormalBandwidthType' -Value 3 -Type DWord
# Low Priority Limit
Set-ItemProperty -Path $k -Name 'LowBandwidthLimit' -Value 0 -Type DWord  # maximum 4294967200
# Low Priority Unit
# Possible options:
#   Kbps = 1
#   Mbps = 2
#   Unlimited = 3
Set-ItemProperty -Path $k -Name 'LowBandwidthType' -Value 3 -Type DWord

Disable

# Disable: Bits/BITS_MaxBandwidthV2_Maintenance
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling'
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 'EnableMaintenanceLimits' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Bits/BITS_MaxBandwidthV2_Maintenance
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling'
Remove-ItemProperty -Path $k -Name 'EnableMaintenanceLimits' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceSchedule'
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

Options (10)

LabelControlRegistry valueREG typeConstraints / details
FromDeBITS_MaintenanceDaysFromDrop-down listenumStartDayin Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Required · Default choice (UI): #1
LabelValue
SundayREG_DWORD = 0
MondayREG_DWORD = 1
TuesdayREG_DWORD = 2
WednesdayREG_DWORD = 3
ThursdayREG_DWORD = 4
FridayREG_DWORD = 5
SaturdayREG_DWORD = 6
ToÀBITS_MaintenanceDaysToDrop-down listenumEndDayin Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Required · Default choice (UI): #5
LabelValue
SundayREG_DWORD = 0
MondayREG_DWORD = 1
TuesdayREG_DWORD = 2
WednesdayREG_DWORD = 3
ThursdayREG_DWORD = 4
FridayREG_DWORD = 5
SaturdayREG_DWORD = 6
FromDeBITS_MaintenanceHoursFromDrop-down listenumStartHourin Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Required · Default choice (UI): #20
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_MaintenanceHoursToDrop-down listenumEndHourin Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Required · Default choice (UI): #22
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
High Priority Limit:Limite de priorité haute :BITS_MaintenanceHighPriorityLimitNumeric boxdecimalHighBandwidthLimitin Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Max: 4294967200 · Default (UI): 0
High Priority Unit:Unité de priorité haute :BITS_MaintenanceHighPriorityUnitDrop-down listenumHighBandwidthTypein Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Required · Default choice (UI): #2
LabelValue
KbpsREG_DWORD = 1
MbpsREG_DWORD = 2
UnlimitedREG_DWORD = 3
Normal Priority Limit:Limite de priorité normale :BITS_MaintenanceNormalPriorityLimitNumeric boxdecimalNormalBandwidthLimitin Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Max: 4294967200 · Default (UI): 0
Normal Priority Unit:Unité de priorité normale :BITS_MaintenanceNormalPriorityUnitDrop-down listenumNormalBandwidthTypein Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Required · Default choice (UI): #2
LabelValue
KbpsREG_DWORD = 1
MbpsREG_DWORD = 2
UnlimitedREG_DWORD = 3
Low Priority Limit:Limite de priorité basse :BITS_MaintenanceLowPriorityLimitNumeric boxdecimalLowBandwidthLimitin Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Max: 4294967200 · Default (UI): 0
Low Priority Unit:Unité de priorité basse :BITS_MaintenanceLowPriorityUnitDrop-down listenumLowBandwidthTypein Software\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceScheduleREG_DWORD
Required · Default choice (UI): #2
LabelValue
KbpsREG_DWORD = 1
MbpsREG_DWORD = 2
UnlimitedREG_DWORD = 3

Availability