Open in the explorer

Turn off Fair Share CPU Scheduling

Désactiver la planification de répartition de charge équilibrée du temps processeur

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Connections FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Connexions
Supported on
At least Windows Server 2008 R2 FR: Au moins Windows Server 2008 R2
ADMX file
terminalserver-server.admx
Internal name
terminalserver-server/TS_ENABLE_DFSS

Explanation

Fair Share CPU Scheduling dynamically distributes processor time across all Remote Desktop Services sessions on the same RD Session Host server, based on the number of sessions and the demand for processor time within each session.

If you enable this policy setting, Fair Share CPU Scheduling is turned off.

If you disable or do not configure this policy setting, Fair Share CPU Scheduling is turned on.

French text from Windows 11 26H2

La planification de la répartition de charge équilibrée du temps processeur répartit de façon dynamique le temps processeur entre toutes les sessions des services Bureau à distance sur le même serveur d’hôte de session Bureau à distance, en fonction du nombre de sessions et de la demande en temps processeur de chaque session.

Si vous activez ce paramètre de stratégie, la planification de la répartition de charge équilibrée du temps processeur est désactivée.

Si vous désactivez ce paramètre ou ne le configurez pas, la planification de la répartition de charge équilibrée du temps processeur est activée.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Session Manager\Quota System
Value name
EnableCpuQuota
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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: terminalserver-server/TS_ENABLE_DFSS
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Session Manager\Quota System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableCpuQuota' -Value 0 -Type DWord

Disable

# Disable: terminalserver-server/TS_ENABLE_DFSS
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Session Manager\Quota System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableCpuQuota' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": terminalserver-server/TS_ENABLE_DFSS
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Session Manager\Quota System'
Remove-ItemProperty -Path $k -Name 'EnableCpuQuota' -ErrorAction SilentlyContinue

Availability