Windows: disable IPv6 through the registry (DisabledComponents)
The DisabledComponents registry value used to disable IPv6 on Windows Server, with the required restart.
To disable IPv6 on Windows (Server 2008 R2 and later) through the registry, use the DisabledComponents value.
Procedure
Under the key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters
create a DWORD value named DisabledComponents and set it to:
| Value | Effect |
|---|---|
0xFF |
Disables all IPv6 components except the loopback interface (value documented by Microsoft) |
A restart is required for the change to take effect.
Notes
0xFFFFFFFFis also seen in guides; the documented value is0xFF.- Microsoft recommends against fully disabling IPv6, as some Windows components depend on it.