Open in the explorer

Set Business Hours to Limit Background Download Bandwidth

Définir les heures d'ouverture pour limiter la bande passante de téléchargement en arrière-plan

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Delivery Optimization FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Optimisation de la distribution
Supported on
At least Windows Server 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
DeliveryOptimization.admx
Internal name
DeliveryOptimization/SetHoursToLimitBackgroundDownloadBandwidth

Explanation

Specifies the maximum background download bandwidth that Delivery Optimization uses during and outside business hours across all concurrent download activities as a percentage of available download bandwidth.

French text from Windows 11 26H2

Spécifie la bande passante de téléchargement en arrière-plan maximale utilisée par l'Optimisation de la distribution pendant et en dehors des heures d'ouverture pour toutes les activités de téléchargement simultanées en pourcentage de la bande passante de téléchargement disponible.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization
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: DeliveryOptimization/SetHoursToLimitBackgroundDownloadBandwidth
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# 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 'DOSetHoursToLimitBackgroundDownloadBandwidth_From' -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 'DOSetHoursToLimitBackgroundDownloadBandwidth_To' -Value 17 -Type DWord
#
Set-ItemProperty -Path $k -Name 'DOSetHoursToLimitBackgroundDownloadBandwidth_In' -Value 0 -Type DWord  # between 0 and 100
#
Set-ItemProperty -Path $k -Name 'DOSetHoursToLimitBackgroundDownloadBandwidth_Out' -Value 0 -Type DWord  # between 0 and 100

Disable

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

Revert to "Not configured"

# Revert to "Not configured": DeliveryOptimization/SetHoursToLimitBackgroundDownloadBandwidth
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization'
Remove-ItemProperty -Path $k -Name 'DOSetHoursToLimitBackgroundDownloadBandwidth_From' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DOSetHoursToLimitBackgroundDownloadBandwidth_To' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DOSetHoursToLimitBackgroundDownloadBandwidth_In' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DOSetHoursToLimitBackgroundDownloadBandwidth_Out' -ErrorAction SilentlyContinue

Options (4)

LabelControlRegistry valueREG typeConstraints / details
From:De :SetHoursToLimitBackgroundDownloadBandwidthFromDrop-down listenumDOSetHoursToLimitBackgroundDownloadBandwidth_FromREG_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:À :SetHoursToLimitBackgroundDownloadBandwidthToDrop-down listenumDOSetHoursToLimitBackgroundDownloadBandwidth_ToREG_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
SetHoursToLimitBackgroundDownloadBandwidthInNumeric boxdecimalDOSetHoursToLimitBackgroundDownloadBandwidth_InREG_DWORD
Min: 0 · Max: 100 · Default (UI): 0
SetHoursToLimitBackgroundDownloadBandwidthOutNumeric boxdecimalDOSetHoursToLimitBackgroundDownloadBandwidth_OutREG_DWORD
Min: 0 · Max: 100 · Default (UI): 0

Availability

Windows 10

Windows Server