How to change default TCP/IP from IPv6 to IPv4?

Many of us were disabling IPv6 protocol on a system, where it was not used. You can find many blog articles, where people are recommending disabling IPv6 (unfortunately the procedure in most of these articles is not correct).

Times are changing, and more organizations are preparing for IPv6 implementation. At iRangers we see this more often, especially on large-scale projects for government offices, banks, and other enterprise level companies.

Personally, I still prefer to have IPv4 protocol to be a default protocol on a task critical servers (by default, since Windows Vista IPv6 is a default protocol). So, here is a small trick on how to change the default TCP/IP protocol from IPv6 to IPv4. Execute the following command through command line or script:

%windir%\system32\REG.EXE ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters /v DisabledComponents /t REG_DWORD /d 0x20 /f

I hope you find this trick useful. 🙂

Feel free to contact me, or any other Best IT Experts in Canada to discuss this or any other IT related challenges you have in your business. Don’t forget to subscribe to our news letter.