Limit the maximum number of BITS jobs for each user
Limiter le nombre maximal de tâches BITS pour chaque utilisateur
Explanation
This policy setting limits the number of BITS jobs that can be created by a user. By default, BITS limits the total number of jobs that can be created by a user to 60 jobs. You can use this setting to raise or lower the maximum number of BITS jobs a user can create.
If you enable this policy setting, BITS will limit the maximum number of BITS jobs a user can create to the specified number.
If you disable or do not configure this policy setting, BITS will use the default user BITS job limit of 300 jobs.
Note: This limit must be lower than the setting specified in the "Maximum number of BITS jobs for this computer" policy setting, or 300 if the "Maximum number of BITS jobs for this computer" policy setting is not configured. 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 maximal de tâches BITS pouvant être créées par un utilisateur. Par défaut, le service BITS limite le nombre total de tâches pouvant être créées par un utilisateur à 60. Vous pouvez utiliser ce paramètre pour augmenter ou réduire le nombre maximal de tâches BITS créées par un utilisateur.
Si vous activez ce paramètre de stratégie, le service BITS limite à la valeur spécifiée le nombre maximal de tâches BITS pouvant être créées par un utilisateur .
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 : cette limite doit être inférieure à celle définie pour le paramètre « Nombre maximal de tâches BITS pour cet ordinateur » ou à 300 si ce paramètre de stratégie n’est pas configuré. 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_MaxJobsPerUser
$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 each user
Set-ItemProperty -Path $k -Name 'MaxJobsPerUser' -Value 60 -Type DWord # maximum 4294967200Disable
# Disable: Bits/BITS_MaxJobsPerUser
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Bits/BITS_MaxJobsPerUser
$k = 'HKLM:\Software\Policies\Microsoft\Windows\BITS'
Remove-ItemProperty -Path $k -Name 'MaxJobsPerUser' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Maximum number of BITS jobs for each user:Nombre maximal de tâches BITS pour chaque utilisateur :BITS_MaxJobsPerUserList | Numeric boxdecimal | MaxJobsPerUser | REG_DWORD | Required · Max: 4294967200 · Default (UI): 60 |