Limit the maximum number of BITS jobs for this computer
Limiter le nombre maximal de tâches BITS pour cet ordinateur
Explanation
This policy setting limits the number of BITS jobs that can be created for all users of the computer. By default, BITS limits the total number of jobs that can be created on the computer to 300 jobs. You can use this policy setting to raise or lower the maximum number of user BITS jobs.
If you enable this policy setting, BITS will limit the maximum number of BITS jobs to the specified number.
If you disable or do not configure this policy setting, BITS will use the default BITS job limit of 300 jobs.
Note: BITS jobs created by services and the local administrator account do not count toward this limit.
Ce paramètre de stratégie limite le nombre de tâches BITS pouvant être créées pour tous les utilisateurs de cet ordinateur. Par défaut, le service BITS limite à 300 le nombre total de tâches pouvant être créées sur l’ordinateur. Vous pouvez utiliser ce paramètre de stratégie pour augmenter ou réduire le nombre maximal de tâches BITS utilisateur.
Si vous activez ce paramètre de stratégie, le service BITS limite le nombre maximal de tâches BITS à la valeur spécifiée.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le service BITS utilise la valeur par défaut de 300 tâches.
Remarque : les tâches BITS créées par les services et le compte d’administrateur local ne sont pas comptabilisées dans cette limite.
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_MaxJobsPerMachine
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Maximum number of BITS jobs for this computer
Set-ItemProperty -Path $k -Name 'MaxJobsPerMachine' -Value 300 -Type DWord # maximum 4294967200Disable
# Disable: Bits/BITS_MaxJobsPerMachine
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Bits/BITS_MaxJobsPerMachine
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
Remove-ItemProperty -Path $k -Name 'MaxJobsPerMachine' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Maximum number of BITS jobs for this computer:Nombre maximal de tâches BITS pour cet ordinateur :BITS_MaxJobsPerMachineList | Numeric boxdecimal | MaxJobsPerMachine | REG_DWORD | Required · Max: 4294967200 · Default (UI): 300 |