Select the product you need help with
How to disable IP version 6 or its specific components in WindowsArticle ID: 929852 - View products that this article applies to. If you are a Small Business customer, find additional troubleshooting and learning resources at the Support for Small Business |
| Disable IPv6 | Prefer IPv4 over IPv6 | Disable IPv6 on nontunnel interfaces | Disable IPv6 tunnel interfaces | Disable IPv6 on nontunnel interfaces (except the loopback) and on IPv6 tunnel interface |
|---|---|---|---|---|
Collapse this image ![]()
(http://go.microsoft.com/?linkid=9728869)
Microsoft Fix it 50409 Collapse this image ![]() | Collapse this image ![]()
(http://go.microsoft.com/?linkid=9728870)
Microsoft Fix it 50410 Collapse this image ![]() | Collapse this image ![]()
(http://go.microsoft.com/?linkid=9728871)
Microsoft Fix it 50411 Collapse this image ![]() | Collapse this image ![]()
(http://go.microsoft.com/?linkid=9728872)
Microsoft Fix it 50412 Collapse this image ![]() | Collapse this image ![]()
(http://go.microsoft.com/?linkid=9728873)
Microsoft Fix it 50413 Collapse this image ![]() |
Collapse this table
| Enable IPv6 | Prefer IPv6 over IPv4 | Enable IPv6 on nontunnel interfaces | Enable IPv6 tunnel interfaces | Enable IPv6 on nontunnel interfaces and on IPv6 tunnel interfaces |
|---|---|---|---|---|
Collapse this image ![]()
(http://go.microsoft.com/?linkid=9732129)
Microsoft Fix it 50440 Collapse this image ![]() | Collapse this image ![]()
(http://go.microsoft.com/?linkid=9732130)
Microsoft Fix it 50441 Collapse this image ![]() | Collapse this image ![]()
(http://go.microsoft.com/?linkid=9732130)
Microsoft Fix it 50441 Collapse this image ![]() | Collapse this image ![]()
(http://go.microsoft.com/?linkid=9732984)
Microsoft Fix it 50443 Collapse this image ![]() | Collapse this image ![]()
(http://go.microsoft.com/?linkid=9732985)
Microsoft Fix it 50444 Collapse this image ![]() |
Collapse this image

Collapse this image

Let me fix it myself
Change the DisabledComponents registry value
You can disable IPv6 on the host through the DisabledComponents registry value. The DisabledComponents registry value affects all network interfaces on the host.Collapse this image

(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows To disable certain IPv6 components yourself, follow these steps:
- Click
Start , type regedit in the Start Search box, and then click regedit.exe in the Programs list.Collapse this image

- In the User Account Control dialog box, click Continue.
- In Registry Editor, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters \
- Double-click DisabledComponents to change the DisabledComponents entry. Note If the DisabledComponents entry is unavailable, you must create it. To do this, follow these steps:Collapse this image

- In the Edit menu, point to New, and then click DWORD (32-bit) Value.
- Type DisabledComponents, and then press ENTER.
- Double-click DisabledComponents.
- Type any one of the following values in the Value data field to configure the IPv6 protocol to the desired state, and then click OK:
- Type 0 to enable all IPv6 components. (Windows default setting)
- Type 0xffffffff to disable all IPv6 components except the IPv6 loopback interface. This value also configures Windows to prefer using IPv4 over IPv6 by changing entries in the prefix policy table. For more information, see Source and Destination Address Selection(http://technet.microsoft.com/library/bb877985.aspx).
- Type 0x20 to prefer IPv4 over IPv6 by changing entries in the prefix policy table.
- Type 0x10 to disable IPv6 on all nontunnel interfaces (both LAN and Point-to-Point Protocol [PPP] interfaces).
- Type 0x01 to disable IPv6 on all tunnel interfaces. These include Intra-Site Automatic Tunnel Addressing Protocol (ISATAP), 6to4, and Teredo.
- Type 0x11 to disable all IPv6 interfaces except for the IPv6 loopback interface.
reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents
You may receive the following error message:
ERROR: The system was unable to find the specified registry key or value.
Unbind IPv6 from a specific network adapter
You can unbind IPv6 from a specific network adapter in Local Area Connection Properties. To do this, follow these steps:- Click Start , and then click Control Panel.Collapse this image

- Click Network and Sharing Center.
- In the View your active networks area, click Local Area Connection, and then click Properties.
- On the Networking tab, click to clear the Internet Protocol Version 6 (TCP/IPv6) check box, and then click OK.Collapse this image

Collapse this image

Advanced steps
Collapse this image

To prefer IPv6 over IPv4 in prefix policies, follow these steps:
- Find the current value data of DisabledComponents.
- Change the data to binary data. It will be a 32-bit binary value.
- Find the sixth bit of the data, and then set it to 0. Do not change any other bits. For example, if the current data is 11111111111111111111111111111111, the new data should be 11111111111111111111111111011111.
- Change the data from binary to hexadecimal.
- Set the hexadecimal value as the new value data for DisabledComponents.
To enable IPv6 on all nontunnel interfaces, follow these steps:
- Find the current value data of DisabledComponents.
- Change the data to binary data. It will be a 32-bit binary value.
- Find the fifth bit of the data, and then set it to 0. Do not change any other bits. For example, if the source data is 11111111111111111111111111111111, the new data should be 11111111111111111111111111101111.
- Change the data from binary to hexadecimal.
- Set the hexadecimal value as the new value data for DisabledComponents.
To enable all IPv6 tunnel interfaces, follow these steps:
- Find the current value data of DisabledComponents.
- Change the data to binary data. It will be a 32-bit binary value.
- Find the first bit of the data, and then set it to 0. Do not change any other bits. For example, if the source data is 11111111111111111111111111111111, the new data should be 11111111111111111111111111111110.
- Change the data from binary to hexadecimal.
- Set the hexadecimal value as the new value data for DisabledComponents.
- Find the current value data of DisabledComponents.
- Change the data to binary data. It will be a 32-bit binary value.
- Find the first bit of the data and the fifth bit of the data, and then set them both to 0. Do not touch any other bits. For example, if current data is 11111111111111111111111111111111, the new data should be 11111111111111111111111111101110.
- Change the data from binary to hexadecimal.
- Set the hexadecimal value as the new value data for DisabledComponents.
Collapse this image

- Using a value other than 0x0 or 0x20 will cause the Routing and Remote Access service to fail after this change takes effect.
- You must restart your computer for these changes to take effect.
Collapse this image

References
For more information about how to manage Group Policy settings by using ADMX files, go to the following Microsoft TechNet website:
Managing Group Policy ADMX Files Step-by-Step Guide
For more information about the Windows registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://technet2.microsoft.com/WindowsVista/en/library/02633470-396c-4e34-971a-0c5b090dc4fd1033.mspx)
256986
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows registry
Properties
Article ID: 929852 - Last Review: February 12, 2013 - Revision: 15.0
Applies to
- Windows Vista Enterprise
- Windows Vista Enterprise 64-bit Edition
- Windows Vista Home Basic 64-bit Edition
- Windows Vista Home Premium 64-bit Edition
- Windows Vista Ultimate 64-bit Edition
- Windows Vista Business
- Windows Vista Business 64-bit Edition
- Windows Vista Home Basic
- Windows Vista Home Premium
- Windows Vista Starter
- Windows Vista Ultimate
- Windows 7 Enterprise
- Windows 7 Home Basic
- Windows 7 Home Premium
- Windows 7 Professional
- Windows 7 Ultimate
- Windows Server 2008 R2 Datacenter
- Windows Server 2008 R2 Enterprise
- Windows Server 2008 R2 Standard
- Windows Server 2008 Datacenter
- Windows Server 2008 Enterprise
- Windows Server 2008 Standard
Keywords: | kbnetwork kbregistry kbexpertiseinter kbexpertisebeginner kbhowto kbinfo kbfixme kbmsifixme KB929852 |
Article Translations
- (الشرق الاوسط (العربية
- Brasil (Português)
- Česká republika (Čeština)
- Danmark (Dansk)
- Deutschland (Deutsch)
- Eesti (Eesti)
- España, Latinoamérica (Español)
- France (Français)
- Hrvatska (Hrvatski)
- Indonesia (Bahasa Indonesia)
- Italia (Italiano)
- Latvija (Latviešu)
- Lietuva (Lietuvių)
- Magyarország (Magyar)
- Nederland (Nederlands)
- Norge (Norsk Bokmål)
- Polska (Polski)
- Portugal (Português)
- România (Română)
- Slovenija (Slovenščina)
- Slovenská Republika (Slovenčina)
- Srbija (Srpski)
- Suomi (Suomi)
- Sverige (Svenska)
- Türkiye (Türkçe)
- Việt Nam (Tiếng Việt)
- Ελλάδα (Ελληνικά)
- България (български)
- Россия (Русский)
- Україна (Україньска)
- भारत (हिंदी)
- ไทย (ไทย)
- 대한민국 (한국어)
- 中国 (简体中文)
- 台灣 (繁體中文)
- 日本 (日本語)




Back to the top








