User Tools

Site Tools


disableipv6inwindows7andvista

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

disableipv6inwindows7andvista [2013/01/27 21:29] (current)
Line 1: Line 1:
 +====== Disable IPv6 in Windows 7 & Vista ======
 +
 +AKA Too many network adapters when running '​ipconfig'​
 +
 +
 +
 +===== GUI =====
 +
 +==== Stop and disable the IP Helper service ====
 +  - Hold the Windows key and type R, enter "​services.msc"​ (without the quotes) and press Enter
 +  - Scroll down to the IP Helper service, right click on it and select Properties
 +  - In the dropdown box that says "​Automatic"​ or "​Manual",​ set it to "​Disabled"​ and then click on "​Apply"​
 +  - Then click on "​Stop"​ to stop the service from running in the current session.
 +  - Click OK to exit the dialog
 +
 +==== Disable IPv6 on the Local Area Connection<​br /> ====
 +  - Go to Start and right click on Network and then click Properties.
 +  - Network and Sharing Center window will appear, after that click Manage network connections.<​br />
 +   <​img width''"​519"​ alt''"​manage-network-connections.jpg"​ src''"​http://​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"​ src''"​http://​www.netsec.pro/​twiki/​pub/​Main/​DisableIPv6InWindows7AndVista/​network-card-properties.jpg"​ title''"​network-card-properties.jpg"​ height''"​255"​ />
 +  - 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"​ src''"​http://​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"​ src''"​http://​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:
 +<​file>​
 +netsh int ipv6 isatap set state disabled
 +netsh int ipv6 6to4 set state state''​disabled
 +</​file>​
 +
 +Change the following registry keys by downloading and importing the .reg files:<​br />
 +[[%ATTACHURL%/​DisableIPHelperService.reg|DisableIPHelperService.reg]]:​ !DisableIPHelperService.reg<​br />
 +[[%ATTACHURL%/​DisableIPv6TunnelAdapters.reg|DisableIPv6TunnelAdapters.reg]]:​ !DisableIPv6TunnelAdapters.reg
 +<​file>​
 +[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iphlpsvc]
 +"​Start"''​dword:​00000004
 +
 +[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters]
 +"​DisabledComponents"''​dword:​ffffffff
 +</​file>​
 +
 +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
 +
 +
 +{{replaceme:​create-dword-in-vista-registry.jpg"​ attachment''"​create-dword-in-vista-registry.jpg"​ attr''"​h"​ comment''"​}}
 +{{replaceme:​disabledcomponents-0xffffffff-ipv6.jpg"​ attachment''"​disabledcomponents-0xffffffff-ipv6.jpg"​ attr''"​h"​ comment''"​}}
 +{{replaceme:​disabledcomponents-ipv6.jpg"​ attachment''"​disabledcomponents-ipv6.jpg"​ attr''"​h"​ comment''"​}}
 +{{replaceme:​disable-ipv6-in-vista.jpg"​ attachment''"​disable-ipv6-in-vista.jpg"​ attr''"​h"​ comment''"​}}
 +{{replaceme:​manage-network-connections.jpg"​ attachment''"​manage-network-connections.jpg"​ attr''"​h"​ comment''"​}}
 +{{replaceme:​network-card-properties.jpg"​ attachment''"​network-card-properties.jpg"​ attr''"​h"​ comment''"​}}
 +{{replaceme:​DisableIPHelperService.reg"​ attachment''"​DisableIPHelperService.reg|}}
 +{{replaceme:​DisableIPv6TunnelAdapters.reg"​ attachment''"​DisableIPv6TunnelAdapters.reg|}}
  
disableipv6inwindows7andvista.txt ยท Last modified: 2013/01/27 21:29 (external edit)