You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
27
27
28
28
> [!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.
30
32
>
31
33
> We recommend using **Prefer IPv4 over IPv6** in prefix policies instead of disabling IPV6.
32
34
33
35
## Use registry key to configure IPv6
34
36
35
-
> [!IMPORTANT]
37
+
> [!IMPORTANT]
36
38
> 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.
37
39
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
+
38
45
The IPv6 functionality can be configured by modifying the following registry key:
@@ -55,15 +62,7 @@ The IPv6 functionality can be configured by modifying the following registry key
55
62
|Re-enable IPv6 on all tunnel interfaces|Binary xxx xxx0|
56
63
|Re-enable IPv6 on nontunnel interfaces and on IPv6 tunnel interfaces|Binary xxx0 xxx0|
57
64
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:
67
66
68
67
1. Open an administrative **Command Prompt** window.
69
68
2. Run the following command:
@@ -107,12 +106,43 @@ For each bit, **0** means false and **1** means true. Refer to the following tab
107
106
|Binary|0010 0000|0001 0000|0000 0001|0001 0001|
108
107
|Hexadecimal|0x20|0x10|0x01|0x11|
109
108
110
-
### Using the network properties GUI to disable IPv6 is not supported
111
-
112
109
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.
113
110
114
111
:::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":::
115
112
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.
> ISATAP and Teredo are disabled by default in Windows.
145
+
116
146
## Reference
117
147
118
148
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:
125
155
126
156
- Example 1: On Domain Controllers, you might run into where LDAP over UDP 389 will stop working.
127
157
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.
129
159
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/).
130
160
- Example 3: Failover Clusters
131
161
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).
132
162
133
163
Tools to help with network trace: [Microsoft Network Monitor 3.4 (archive)](https://www.microsoft.com/download/details.aspx?id=4865)
134
164
135
165
> [!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