Table of Contents

Disable IPv6 in Windows 7 & Vista

AKA Too many network adapters when running 'ipconfig'

GUI

Stop and disable the IP Helper service

  1. Hold the Windows key and type R, enter “services.msc” (without the quotes) and press Enter
  2. Scroll down to the IP Helper service, right click on it and select Properties
  3. In the dropdown box that says “Automatic” or “Manual”, set it to “Disabled” and then click on “Apply”
  4. Then click on “Stop” to stop the service from running in the current session.
  5. Click OK to exit the dialog

Disable IPv6 on the Local Area Connection<br />

  1. Go to Start and right click on Network and then click Properties.
  2. Network and Sharing Center window will appear, after that click Manage network connections.<br />

<img width“519” alt“manage-network-connections.jpg” srchttp://www.netsec.pro/twiki/pub/Main/DisableIPv6InWindows7AndVista/manage-network-connections.jpg” title“manage-network-connections.jpg” height“207” /> - Network Connections window will appears. Here you can right click on the network card that you wish to disable IPv6 and click Properties.<br /> <img width“319” alt“network-card-properties.jpg” srchttp://www.netsec.pro/twiki/pub/Main/DisableIPv6InWindows7AndVista/network-card-properties.jpg” title“network-card-properties.jpg” height“255” />

  1. In the Local Area Connection Properties window, untick Internet Protocol Version 6 (TCP/IPv6) and click OK.<br />Note: This method disables IPv6 on your LAN interfaces and connections, but does not disable IPv6 on tunnel interfaces or the IPv6 loopback interface. You need to make change in Windows registry in order to disable the IPv6 on tunnel interface. You can stop here if don&rsquo;t feel like working with Windows registry. If not, proceed with Step 5.<br />

<img width“322” alt“disable-ipv6-in-vista.jpg” srchttp://www.netsec.pro/twiki/pub/Main/DisableIPv6InWindows7AndVista/disable-ipv6-in-vista.jpg” title“disable-ipv6-in-vista.jpg” height“397” /> - Hold the Windows key and type R, enter “regedit.exe” (without the quotes) and press Enter - Registry editor will appear, proceed to locate following registry item:<br /> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents<br />Note: If the !DisabledComponents item is unavailable, you must create it: A. In the Edit menu, go to New, and then click DWORD (32-bit) Value.<br /> <img width“498” alt“create-dword-in-vista-registry.jpg” srchttp://www.netsec.pro/twiki/pub/Main/DisableIPv6InWindows7AndVista/create-dword-in-vista-registry.jpg” title“create-dword-in-vista-registry.jpg” height“322” />

    A. Type !DisabledComponents, and then press ENTER.<br />
    <img width''"493" alt''"disabledcomponents-ipv6.jpg" src''"http://www.netsec.pro/twiki/pub/Main/DisableIPv6InWindows7AndVista/disabledcomponents-ipv6.jpg" title''"disabledcomponents-ipv6.jpg" height''"322" />
- Double-click !DisabledComponents, set the value as 0xffffffff (hexadecimal value) (just type ffffffff) to disable IPv6 on LAN interfaces, connections, and tunnel interfaces except the IPv6 loopback interface, finally click OK.<br />
 <img width''"291" alt''"disabledcomponents-0xffffffff-ipv6.jpg" src''"http://www.netsec.pro/twiki/pub/Main/DisableIPv6InWindows7AndVista/disabledcomponents-0xffffffff-ipv6.jpg" title''"disabledcomponents-0xffffffff-ipv6.jpg" height''"169" />
- Reboot

CLI

Run the following commands:

netsh int ipv6 isatap set state disabled
netsh int ipv6 6to4 set state state''disabled

Change the following registry keys by downloading and importing the .reg files:<br /> DisableIPHelperService.reg: !DisableIPHelperService.reg<br /> DisableIPv6TunnelAdapters.reg: !DisableIPv6TunnelAdapters.reg

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iphlpsvc]
"Start"''dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters]
"DisabledComponents"''dword:ffffffff

Reboot for the changes to take effect.

References

http://www.home-network-help.com/disable-ipv6.html<br /> http://eniackb.blogspot.com/2009/07/how-to-disable-ipv6-in-windows-2008.html

– Main.FredPettis - 2010-12-30

create-dword-in-vista-registry.jpg_attachment_create-dword-in-vista-registry.jpg_attr_h_comment disabledcomponents-0xffffffff-ipv6.jpg_attachment_disabledcomponents-0xffffffff-ipv6.jpg_attr_h_comment disabledcomponents-ipv6.jpg_attachment_disabledcomponents-ipv6.jpg_attr_h_comment disable-ipv6-in-vista.jpg_attachment_disable-ipv6-in-vista.jpg_attr_h_comment manage-network-connections.jpg_attachment_manage-network-connections.jpg_attr_h_comment network-card-properties.jpg_attachment_network-card-properties.jpg_attr_h_comment disableiphelperservice.reg_attachment_disableiphelperservice.reg disableipv6tunneladapters.reg_attachment_disableipv6tunneladapters.reg