Open in the explorer

Set Window Scaling Heuristics State

Définir l’état de la méthode heuristique de mise à l’échelle des fenêtres

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › TCPIP Settings › Parameters FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Paramètres TCPIP › Paramètres
Supported on
Windows Server 2008, Windows 7, Windows Vista, and Windows 10 FR: Windows Server 2008, Windows 7, Windows Vista et Windows 10
ADMX file
tcpip.admx
Internal name
tcpip/Windows_Scaling_Heuristics_State

Explanation

This policy setting allows you to configure Window Scaling Heuristics. Window Scaling Heuristics is an algorithm to identify connectivity and throughput problems caused by many Firewalls and other middle boxes that don't interpret Window Scaling option correctly.

If you do not configure this policy setting, the local host settings are used.

If you enable this policy setting, Window Scaling Heuristics will be enabled and system will try to identify connectivity and throughput problems and take appropriate measures.

If you disable this policy setting, Window Scaling Heuristics will be disabled and system will not try to identify connectivity and throughput problems casued by Firewalls or other middle boxes.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer la méthode heuristique de mise à l’échelle des fenêtres. La méthode heuristique de mise à l’échelle des fenêtres est un algorithme permettant d’identifier les problèmes de connectivité et de débit causés par de nombreux pare-feu et autres zones intermédiaires qui n’interprètent pas correctement l’option Mise à l’échelle des fenêtres.

Si vous ne configurez pas ce paramètre de stratégie, les paramètres de l’hôte local sont utilisés.

Si vous activez ce paramètre de stratégie, la méthode heuristique de mise à l’échelle des fenêtres est activée et le système essaie d’identifier les problèmes de connectivité et de débit, et de prendre les mesures appropriées.

Si vous désactivez ce paramètre de stratégie, la méthode heuristique de mise à l’échelle des fenêtres est désactivée et le système n’essaie pas d’identifier les problèmes de connectivité et de débit causés par les pare-feu et autres zones intermédiaires.

Registry

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
Value name
EnableWsd
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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: tcpip/Windows_Scaling_Heuristics_State
$k = 'HKLM:\System\CurrentControlSet\Services\Tcpip\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableWsd' -Value 1 -Type DWord

Disable

# Disable: tcpip/Windows_Scaling_Heuristics_State
$k = 'HKLM:\System\CurrentControlSet\Services\Tcpip\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableWsd' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": tcpip/Windows_Scaling_Heuristics_State
$k = 'HKLM:\System\CurrentControlSet\Services\Tcpip\Parameters'
Remove-ItemProperty -Path $k -Name 'EnableWsd' -ErrorAction SilentlyContinue

Availability