Microsoft · Windows
Prefer IPv4 over IPv6 or turn IPv6 components off (DisabledComponents)
A bitmask that changes IPv6 behavior. The value Microsoft recommends instead of 'disabling IPv6' is 0x20: prefer IPv4 in the prefix policy.
Where it lives
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
Values
| Name | Type | Data and meaning | Default |
|---|---|---|---|
DisabledComponents | REG_DWORD | 0x20 Prefer IPv4 over IPv60xFF Disable all IPv6 components except loopback | 0 (not present): all IPv6 components on |
In plain English
Microsoft doesn't recommend disabling IPv6 or its components, because Windows is tested with IPv6 on and some features need it. Unchecking IPv6 on the adapter isn't the same as this value.
Common values: 0x20 prefer IPv4 over IPv6; 0xFF disable all IPv6 components except the loopback interface. Other bits disable tunnel interfaces or IPv6 on non-tunnel interfaces.
| Restart | Reboot required. |
|---|---|
| Risk | Disabling IPv6 can break features such as DirectAccess, some cluster and Exchange scenarios, and slow down sign-in. |
Official sources
- Guidance for configuring IPv6 in Windows for advanced users · checked 2026-12-05
Verified Confirmed automatically on the cited source.