Open in the explorer

Set IP Stateless Autoconfiguration Limits State

Définir l’état des limites d’autoconfiguration sans état des adresses IP

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
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
tcpip.admx
Internal name
tcpip/IP_Stateless_Autoconfiguration_Limits_State

Explanation

This policy setting allows you to configure IP Stateless Autoconfiguration Limits.

If you enable or do not configure this policy setting, IP Stateless Autoconfiguration Limits will be enabled and system will limit the number of autoconfigured addresses and routes.

If you disable this policy setting, IP Stateless Autoconfiguration Limits will be disabled and system will not limit the number of autoconfigured addresses and routes.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer les limites d’autoconfiguration sans état des adresses IP.

Si vous activez ou ne configurez pas ce paramètre de stratégie, les limites d’autoconfiguration des adresses IP sont activées et le système limite le nombre d’adresses et d’itinéraires autoconfigurés.

Si vous désactivez ce paramètre de stratégie, les limites d’autoconfiguration sans état des adresses IP sont désactivées et le système ne limite pas le nombre d’adresses et d’itinéraires autoconfigurés.

Registry

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
Value name
EnableIPAutoConfigurationLimits
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/IP_Stateless_Autoconfiguration_Limits_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 'EnableIPAutoConfigurationLimits' -Value 1 -Type DWord

Disable

# Disable: tcpip/IP_Stateless_Autoconfiguration_Limits_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 'EnableIPAutoConfigurationLimits' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability