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

  1. Press Windows Key + R to open the Run dialog box.
  2. Type regedit and press Enter (or click OK).
  3. 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

  1. Check the right pane for an entry named DisabledComponents.
  2. If DisabledComponents already exists:
    • Double-click it to open the edit window.
  3. If DisabledComponents does not exist:
    • Right-click any empty space in the right pane.
    • Select New > DWORD (32-bit) Value.
    • Name the new value DisabledComponents and press Enter.

Step 4: Set the Registry Value to Disable IPv6

  1. Double-click DisabledComponents.
  2. Under Base, select the Hexadecimal radio button.
  3. In the Value data field, enter ffffffff (eight ‘f’ characters) or type 4294967295 if using the Decimal base.
  4. 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:

  1. Open regedit and navigate back to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters.
  2. Double-click DisabledComponents and change the Value data to 0 (Hexadecimal). Alternatively, you can delete the DisabledComponents value entirely.
  3. Restart your computer.