DisabledComponents 0x20: prefer IPv4 over IPv6 without disabling IPv6
Short answer
UpdatedDisabledComponents controls parts of the Windows IPv6 stack. The value 0x20 keeps IPv6 working but makes Windows choose IPv4 first when a server offers both. It is the setting Microsoft documents for this, as opposed to switching IPv6 off. In the registry it sets DisabledComponents to 0x20 under HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters.
HKLMSYSTEM\
DisabledComponentsStays 0x200x20
What it does
DisabledComponents controls parts of the Windows IPv6 stack. The value 0x20 keeps IPv6 working but makes Windows choose IPv4 first when a server offers both. It is the setting Microsoft documents for this, as opposed to switching IPv6 off.
In the app the switch is called "Prefer IPv4 over IPv6", described there as: Reduces odd route/latency edge-cases by preferring IPv4 without breaking IPv6-only features (reboot).
When it helps, and when it hurts
When it helps
- Connections where the IPv6 route to a game server is worse than the IPv4 one, which happens with some providers.
When it hurts
- If your provider's IPv6 route is the better one, you move to the slower path.
- It needs a restart, and it changes nothing for servers that only have one kind of address.
What it writes
Exactly what the switch changes, read from the app's source. Switching it off is what the app writes when you turn the tweak off again.
| Key and value | With the tweak | Switching it off |
|---|---|---|
| HKLMSYSTEM\ | 0x20 | Stays 0x20Switching it off leaves it. |
From the app's source (ipv4_preferred.hpp), app 2.0.0, checked .
The same change by hand
You do not need the app for this one. These commands make the changes from the table above. Run them in a Command Prompt opened as administrator, and make a restore point first.
reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v "DisabledComponents" /t REG_DWORD /d 0x20 /freg query "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v "DisabledComponents"How to undo it
In the app: Yes
Switching it off sets a standard Windows value, which may not be exactly how you had it.
Switch the tweak off in Frozen Tweaks. The values in the table are left as they are, so set them by hand if you want the old behavior.
Changing several settings at once? The app's Make a restore point button, on every plan, makes a Windows restore point before you start.
Verdict
A targeted fix for a routing problem. Test your ping both ways before keeping it.
Questions
- What does the "Prefer IPv4 over IPv6" tweak change in Windows?
- In the registry it sets DisabledComponents to 0x20 under HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters.
- Is "Prefer IPv4 over IPv6" safe to switch on?
- A targeted fix for a routing problem. Test your ping both ways before keeping it. The main cost: If your provider's IPv6 route is the better one, you move to the slower path.
- How do I undo it?
- Switch the tweak off in Frozen Tweaks. Switching it off sets a standard Windows value, which may not be exactly how you had it.
- Does it need a restart?
- Yes, the change applies after a restart.
- Is "Prefer IPv4 over IPv6" free in Frozen Tweaks?
- It is part of Frozen Pro and Elite. You can also make the change by hand with the values on this page.
In the app
- Switch
- Prefer IPv4 over IPv6
- Category
- Network
- Plan
- Pro
- Undo
- Yes
- Profiles
- Apex Legends, ARC Raiders, Battlefield 6 and 16 more
Related guides
More tweak explainers
- BITSBITS downloads files in the background using bandwidth the PC is not using. What the tweak changes, when it helps, when it hurts and how to undo it.2 min read
- ETW autologgersAutologgers are event tracing sessions Windows starts at boot to record diagnostics for networking, updates and telemetry. What it changes and how to undo it.2 min read
- WLAN AutoConfig (WlanSvc)WLAN AutoConfig is the service that finds, connects to and manages Wi-Fi networks. What the tweak changes, when it helps, when it hurts and how to undo it.2 min read
In the app
- Category
- Network
- Plan
- Pro
- Undo
- Yes
- Profiles
- Apex Legends, ARC Raiders, Battlefield 6 and 16 more
Frozen Tweaks
Free for Windows 10 and 11
58 tweaks free, each with an undo switch. Never edits game files.
v2.0.0 · 6.4 MB · Windows 10 and 11, 64-bit · free account, no payment details
Or type frozentweaks.com on your PC.

The free Windows app for competitive games.
58 tweaks free, each with an undo switch. Never edits game files.
v2.0.0 · 6.4 MB · Windows 10 and 11, 64-bit · free account, no payment details
Frozen Tweaks runs on Windows. Send the link to your PC and download it there.
Or type frozentweaks.com on your PC.
