Disable IPv6 on All Interfaces Using Regedit
Disabling IPv6 across all network interfaces can help resolve
specific network compatibility issues, prevent unwanted tunneling, or
enforce an IPv4-only network environment. This guide walks you through
the exact steps required to completely turn off all IPv6 components on a
Windows machine by modifying the DisabledComponents key in
the Windows Registry.
Step 1: Open the Registry Editor
- Press Windows Key + R to open the Run dialog box.
- Type
regeditand press Enter (or click OK). - If prompted by User Account Control (UAC), click Yes to grant administrative privileges.
Step 2: Navigate to the TCP/IP IPv6 Parameters Key
In the Registry Editor address bar at the top, paste the following path and press Enter:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
Alternatively, use the left sidebar to manually expand the folders to this location.
Step 3: Create or Modify the DisabledComponents Value
- Check the right pane for an entry named DisabledComponents.
- If DisabledComponents already exists:
- Double-click it to open the edit window.
- If DisabledComponents does not exist:
- Right-click any empty space in the right pane.
- Select New > DWORD (32-bit) Value.
- Name the new value
DisabledComponentsand press Enter.
Step 4: Set the Registry Value to Disable IPv6
- Double-click DisabledComponents.
- Under Base, select the Hexadecimal radio button.
- In the Value data field, enter
ffffffff(eight âfâ characters) or type4294967295if using the Decimal base. - Click OK to save the changes.
Step 5: Restart the Computer
Registry changes affecting network protocols do not take effect immediately. Restart your computer to apply the configuration across all network interfaces.
How to Re-Enable IPv6 Later
If you need to restore IPv6 functionality in the future:
- Open
regeditand navigate back toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters. - Double-click DisabledComponents and change the
Value data to
0(Hexadecimal). Alternatively, you can delete theDisabledComponentsvalue entirely. - Restart your computer.