Skip to content

Commit ac40c2c

Browse files
authored
Merge pull request #8013 from msarcletti/patch-4
AB#3514: Update configure-ipv6-in-windows.md
2 parents 3908309 + 1fe35a5 commit ac40c2c

1 file changed

Lines changed: 47 additions & 17 deletions

File tree

support/windows-server/networking/configure-ipv6-in-windows.md

Lines changed: 47 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Configure IPv6 for advanced users
33
description: Provides step-by-step guidance for how to use the Windows registry to disable IPv6 or certain IPv6 components in Windows.
4-
ms.date: 01/15/2025
4+
ms.date: 1/20/2025
55
manager: dcscontentpm
66
audience: ITPro
77
ms.topic: troubleshooting
@@ -23,18 +23,25 @@ _Original KB number:_   929852
2323

2424
## Summary
2525

26-
It is common for IT administrators to disable IPv6 to troubleshoot networking-related issues such as name resolution issues.
26+
It's common for IT administrators to disable IPv6 to troubleshoot networking-related issues such as name resolution issues.
2727

2828
> [!IMPORTANT]
29-
> Internet Protocol version 6 (IPv6) is a mandatory part of Windows Vista and Windows Server 2008 and newer versions. We do not recommend that you disable IPv6 or its components. If you do, some Windows components may not function.
29+
> Internet Protocol version 6 (IPv6) is a mandatory part of Windows Vista and Windows Server 2008 and newer versions.
30+
>
31+
> We don't recommend that you disable IPv6 or IPv6 components or unbind IPv6 from interfaces. If you do, some Windows components might not function.
3032
>
3133
> We recommend using **Prefer IPv4 over IPv6** in prefix policies instead of disabling IPV6.
3234
3335
## Use registry key to configure IPv6
3436

35-
> [!IMPORTANT]
37+
> [!IMPORTANT]
3638
> Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, [back up the registry for restoration](https://support.microsoft.com/help/322756) in case problems occur.
3739
40+
> [!NOTE]
41+
>
42+
> - You must restart your computer for these changes to take effect.
43+
> - Values other than 0 or 32 causes the Routing and Remote Access service to fail after this change takes effect.
44+
3845
The IPv6 functionality can be configured by modifying the following registry key:
3946

4047
**Location**: `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\`
@@ -55,15 +62,7 @@ The IPv6 functionality can be configured by modifying the following registry key
5562
|Re-enable IPv6 on all tunnel interfaces|Binary xxx xxx0|
5663
|Re-enable IPv6 on nontunnel interfaces and on IPv6 tunnel interfaces|Binary xxx0 xxx0|
5764

58-
> [!NOTE]
59-
>
60-
> - Administrators must create an .admx file to expose the registry settings of below table in a Group Policy setting.
61-
> - You must restart your computer for these changes to take effect.
62-
> - Values other than 0 or 32 causes the Routing and Remote Access service to fail after this change takes effect.
63-
64-
By default, the 6to4 tunneling protocol is enabled in Windows when an interface is assigned a public IPv4 address (Public IPv4 address means any IPv4 address that isn't in the ranges 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16). 6to4 automatically assigns an IPv6 address to the 6to4 tunneling interface for each address, and 6to4 dynamically registers these IPv6 addresses on the assigned DNS server. If this behavior isn't desired, we recommend disabling the IPv6 tunnel interfaces on the affected hosts.
65-
66-
You can also follow these steps to modify the registry key:
65+
You can follow these steps to modify the registry key:
6766

6867
1. Open an administrative **Command Prompt** window.
6968
2. Run the following command:
@@ -107,12 +106,43 @@ For each bit, **0** means false and **1** means true. Refer to the following tab
107106
|Binary|0010 0000|0001 0000|0000 0001|0001 0001|
108107
|Hexadecimal|0x20|0x10|0x01|0x11|
109108

110-
### Using the network properties GUI to disable IPv6 is not supported
111-
112109
This registry value doesn't affect the state of the following check box. Even if the registry key is set to disable IPv6, the check box in the **Networking** tab for each interface can be selected. This is an expected behavior.
113110

114111
:::image type="content" source="./media/configure-ipv6-in-windows/network-properties.svg" alt-text="The Internet Protocol Version 6 (TCP/IPv6) option in Network properties." border="false":::
115112

113+
## Unbind IPv6 from an interface
114+
115+
> [!CAUTION]
116+
> We don't recommend unbinding IPv6 from an Ethernet or WiFi network adapter without a justifiable need. Windows is tested with, and some products and features expect, IPv6 to be bound and functional.
117+
>
118+
> Unbinding IPv6 from a network adapter can result in an unsupported Windows configuration.
119+
>
120+
> When unbinding a protocol from a network adapter, we highly recommend using a WMI-based method, such as, `Disable-NetAdapterBinding`.
121+
122+
You can unbind IPv6 from a network interface by using one of the following methods:
123+
124+
- Unselect **Internet Protocol Version 6 (TCP/IPv6)** in the network properties GUI. See the previous screenshot.
125+
- Run the PowerShell command `Disable-NetAdapterBinding -Name "<MyAdapter>" -ComponentID ms_tcpip[6]`
126+
127+
## IPv6 tunnel interfaces
128+
129+
By default, the 6to4 tunneling protocol is enabled in Windows when an interface is assigned a public IPv4 address (Public IPv4 address means any IPv4 address that isn't in the ranges 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16). 6to4 automatically assigns an IPv6 address to the 6to4 tunneling interface for each address, and 6to4 dynamically registers these IPv6 addresses on the assigned DNS server.
130+
131+
If this behavior isn't desired, we recommend disabling the IPv6 tunnel interfaces on the affected hosts.
132+
133+
You can disable the 6to4 tunneling protocol and other IPv6 transition Technologies by using one of the following methods:
134+
135+
- Set the `DisabledComponents` registry key to 0x01.
136+
- Set the following Group Policy:
137+
**Computer Configuration**\\**Administrative Templates**\\**Network**\\**TCPIP Settings**\\**IPv6 Transition Technologies**
138+
139+
- Set **6to4 State** to **Disabled**
140+
- Set **ISATAP Sate** to **Disabled**
141+
- Set **Teredo State** to **Disabled**
142+
143+
> [!NOTE]
144+
> ISATAP and Teredo are disabled by default in Windows.
145+
116146
## Reference
117147

118148
For more information about RFC 3484, see [Default Address Selection for Internet Protocol version 6 (IPv6)](https://tools.ietf.org/html/rfc3484).
@@ -125,12 +155,12 @@ For more information about the related issues, see the articles below:
125155

126156
- Example 1: On Domain Controllers, you might run into where LDAP over UDP 389 will stop working.
127157
See [How to use Portqry to troubleshoot Active Directory connectivity issues](use-portqry-verify-active-directory-tcp-ip-connectivity.md)
128-
- Example 2: Exchange Server 2010, you might run into problems where Exchange will stop working.
158+
- Example 2: Exchange Server 2010, you might run into problems where Exchange stops working.
129159
See [Arguments against disabling IPv6](/archive/blogs/netro/arguments-against-disabling-ipv6) and [Disabling IPv6 And Exchange – Going All The Way](https://blog.rmilne.ca/2014/10/29/disabling-ipv6-and-exchange-going-all-the-way/).
130160
- Example 3: Failover Clusters
131161
See [What is a Microsoft Failover Cluster Virtual Adapter anyway?](/archive/blogs/askcore/what-is-a-microsoft-failover-cluster-virtual-adapter-anyway) and [Failover Clustering and IPv6 in Windows Server 2012 R2](https://techcommunity.microsoft.com/t5/failover-clustering/bg-p/FailoverClustering).
132162

133163
Tools to help with network trace: [Microsoft Network Monitor 3.4 (archive)](https://www.microsoft.com/download/details.aspx?id=4865)
134164

135165
> [!WARNING]
136-
> Netmon 3.4 isn't compatible with Windows Server 2012 or newer OS when LBFO NIC teaming is enabled. Use **Message Analyzer** instead.
166+
> Netmon 3.4 isn't compatible with Windows Server 2012 or newer OS when LBFO NIC teaming is enabled.

0 commit comments

Comments
 (0)