How to disable IPv6

Binding for IPv6 should be enabled on all physical nics, uinless they are part of a team, in which case it should already be disabled. Virtual team nics should have IPv6 enabled if IPv4 is enabled. disabled on team virtual nics. The important point is to avoid a situation where the IPv4 binding is enabled, but not IPv6.

Physical nics should look like this:


Or like this:


But never like this:


IPv6 should be disabled through the creation of the DisabledComponents registry key.


You can use the following powershell command to read the registry key:

(get-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters -Name DisabledComponents).DisabledComponents


And you can use this command to create or update it if it doesn’t exist or has the wrong value. A reboot is required to apply the changes.

New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters -Name DisabledComponents -PropertyType DWord -Value 0xffffffff


Print This Post Print This Post

Leave a Reply

%d bloggers like this: