Prefer IPv4 over IPv6
If a machine is preferring IPv6 over v4 and failing to route, Windows can be forced to prefer v4 over v6.
A test of this issue is to ping a machine other than the one you are on. If the address that comes back is an IPv6 address and the message "General Failure" appears for each ping attempt then IPv6 is being preferred but not routing.
To fix this issue a registry value must be set.
Powershell Admin Prompt
#If DisabledComponents has never been set run following registry setting to just prefer ipv4 and then reboot New-ItemProperty āHKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\ā -Name āDisabledComponentsā -Value 0x20 -PropertyType āDWordā #If DisabledComponents already exists run this registry setting and then reboot Set-ItemProperty āHKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\ā -Name āDisabledComponentsā -Value 0x20
To edit directly in Regedit.exe:
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
- Create a new DWORD
- Name:Ā DisabledComponents
- Value (Hex) 20
- Reboot
For more info see the Microsoft KBĀ Guidance for configuring IPv6 in Windows for advanced users
Ā© 2023 Foray, LLC - All Rights Reserved