| How to set Windows 10 to prefer IPv4 over IPv6 |
Cause | - Disabling IPv6 is Windows 10 is confirmed to break many components of Windows, such as any UWP (Unified Windows Platform) application, and many Windows Updates which will fail to install
- A networking issue has been detirmined to be caused by Windows preferring IPv6 addressing over IPv4 Addressing
|
Resolution | [BCB:4:Operating system warning:ECB]
Set Windows to prefer using IPv4 address over IPv6 by following one of the options below: (Must be done on both the server and the workstations) Option 1: Modify the registry - Refer to Microsoft KB https://docs.microsoft.com/en-US/troubleshoot/windows-server/networking/configure-ipv6-in-windows.
- The Microsoft Fixit tool has been retired.
Option 2: Manually Edit Windows Registry - Open Regedit - press Windows+R keys, type "Regedit" in the Run window, Enter.
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters.
- Double-click on DisabledComponents, if DisabledComponents is unavailable, you must create it; otherwise skip to step 5:
- Right-click on Parameters (in the left pane)
- Select New, then DWORD (32-bit) Value
- Enter "DisabledComponents" and then press Enter
- Double-click DisabledComponents.
- Change the Value data to "20" and the Base setting to "Hexadecimal".
- After modifying this value, Reboot the workstation, and windows will default to IPv4.
Option 3: Run a netsh command
- From an elevated CMD prompt run: netsh interface ipv6 set prefixpolicy ::ffff:0:0/96 46 4.
- This will set the precedence of IPV4 to 46 just below localhost (50)
|
|