Set IP Stateless Autoconfiguration Limits State
Définir l’état des limites d’autoconfiguration sans état des adresses IP
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert 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