If you want your Windows Operating system to prefer IPv4 before IPv6 Connections, you can switch quickly between
both modes:
To make it work:
1) Start a Windows Command prompt as Administrator
2) Type in one of the following Commands as you need
#Prefer IPv4 over IPv6
reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0x20
#Prefer IPv6 over IPv4 (which is Windows Default)
reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0x0
3) You must restart your computer for these changes to take effect.
This should work from Vista up to most recent Windows versions, regardless if your Windows is a Server, a Home, a Basic, a 32-Bit or
64-Bit version ect.
Read more:
https://support.microsoft.com/en-us/hel ... nced-users