Make Windows prefer one network adapter over another — via Microsoft Learn
With Ethernet, Wi-Fi and VPN adapters all connected, Windows picks a route by interface metric. Setting a lower metric on the adapter you want makes traffic prefer it.
Takes effect right away
Command
Run in an administrator PowerShell / Terminal window.
Get-NetIPInterface | Sort-Object InterfaceMetric
Set-NetIPInterface -InterfaceAlias "Ethernet" -InterfaceMetric 15Undo
Set-NetIPInterface -InterfaceAlias "Ethernet" -AutomaticMetric EnabledLower number = preferred. Windows already prefers wired over wireless with automatic metrics, so only change this when it's choosing wrong (often with VPNs or USB adapters). Since Windows 10 the metric replaced the old adapter binding order. The GUI equivalent is the adapter's IPv4 properties → Advanced → untick Automatic metric.
Sources
- Configure the Order of Network Interfaces — by Microsoft Learn
- Set-NetIPInterface — by Microsoft Learn
- An explanation of the Automatic Metric feature for IPv4 routes — by Microsoft Learn
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me
Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.