Internet Protocol version 6 (IPv6) is the future of Internet and soon all the domains will switch to it. Many Governments OR ISP’s has already implemented IPv6 in their countries and reasons. All the Operating Systems which are coming in market by default supports IPv6. Microsoft Windows Vista, 7 and 2008 server editions also supports IPv6 but recently while working on one Windows 2008 Server I have faced many problems with DNS as IPv6 records where inserted in DNS zone. I have disabled IPv6 from Network properties but it didn’t helped.
After searching on Google and Microsoft website I found that to disable IPv6 components you have to make changes in Windows Registry i.e. you have to add new DWORD value “DisabledComponents“ at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters (Hard way.. isn’t it cause you have navigate to TCPip6 parameters). As I have to do it on 6 servers it was going to be a time consuming process so I have opened notepad
1) Open Notepad (Start >> Run >> notepad)
2) Copy Paste Following
Windows Registry Editor Version 5.00
3) Save it on Desktop with .reg extension (I have saved it as disip6.reg). Make sure you save it with .reg extension and not like disip6.reg.txt as by default windows hide extensions of every file.
4) Double click on it and it will show you a warning like below. Press Yes
5) If you get following screen; all required changes and updates have been made in Registry
FYI: Following are the other values which you can use to configure the IPv6 protocols (From Microsoft Website)
- Type 0 to enable all IPv6 components. The value “0” is the default setting.
- Type 0xffffffff to disable all IPv6 components, except the IPv6 loopback interface.
- Type 0x20 to use IPv4 instead of IPv6 in prefix policies.
- Type 0x10 to disable native IPv6 interfaces.
- Type 0x01 to disable all tunnel IPv6 interfaces.
- Type 0x11 to disable all IPv6 interfaces except for the IPv6 loopback interface.