[!NOTE]
This document is summarized and generated by DeepSeek
To make Windows prioritize IPv6 for all network connections (including ping
, browsers, games, etc.), follow these steps:
Alternatively, use the one-click priority boost script
Run CMD/PowerShell as Administrator and execute:
netsh interface ipv6 set prefixpolicy ::/0 100 0 persistent
netsh interface ipv6 set prefixpolicy ::ffff:0:0/96 40 1 persistent
netsh interface ipv6 set global randomizeidentifiers=disabled
netsh interface ipv6 set global randomizeidentifiers=enabled
::/0
: Represents all IPv6 addresses. Set priority to 100 (highest).::ffff:0:0/96
: Represents IPv4-mapped addresses. Set priority to 40 (lower than IPv6).netsh interface ipv6 show prefixpolicies
::/0
has a Precedence of 100 and appears before ::ffff:0:0/96
.Win + R
→ cmd
→ Enter). ping api.spotify.com
ping accounts.spotify.com
If IPv6 responses are received without the -6
flag, the configuration is successful.
nslookup spotify.com
ping
and curl
ping api.spotify.com # Should return IPv6 addresses
curl -v https://api.spotify.com # Should use IPv6 connections
ping
still use IPv4?ipconfig /flushdns
).netsh interface ipv6 reset