Open Registry Editor (regedit).
Navigate to the following registry key branch:
Create the following registry value (DWORD type):
Note that the name must be exactly as shown, including capitalization.
DisabledComponents is set to 0 by default.
The DisabledComponents registry value is a bit mask that controls the following series of flags, starting with the low order bit (Bit 0). To determine the value of DisabledComponents for a specific set of bits, the process is complicated, were hexadecimal value is calculated from binary number of the bits in correct position. For convenient, the following table lists some common configuration combinations and the corresponding DWORD value of DisabledComponents.
Configuration combination DisabledComponents value
Disable all tunnel interfaces 0×1
Disable 6to4 0×2
Disable ISATAP 0×4
Disable Teredo 0×8
Disable Teredo and 6to4 0xA
Disable all LAN and PPP interfaces 0×10
Disable all LAN, PPP, and tunnel interfaces 0×11
Prefer IPv4 over IPv6 0×20
Disable IPv6 over all interfaces and prefer IPv4 to IPv6 0xFF
As seen from table above, to disable IPv6 support globally on all interface, set the value data for DisabledComponents to 000000FF, or simply FF. The registry entry will look like below:
Restart the computer for changes to take effect.
To revert and enable IPv6, delete “DisabledComponents” registry key or set its registry value to 0.