guide · static export
PC

Set the Wi-Fi Connection Priority Order

Windows reconnects to whichever network it likes, which is how a laptop ends up on a slow guest network next to its own router. The order is fixable.

by@guidox updated:10/31/26 time:15 min level:Intermediate tested on:Windows 11 24H2 works on:Windows 10, Windows 11 tools:Windows 11
TL;DR

Forget the networks you do not want, then set the **auto-connect** flag per network. Windows tries known networks in a fixed order; on a wired plus wireless machine, the wired connection wins by metric.

Before you start

Requirements

  • Windows 11
  • Ten minutes
Step by step

Instructions

01

List what the machine remembers

The known networks list keeps every network ever joined, including hotel and phone hotspots. Old entries compete for the connection at every boot.

netsh wlan show profiles
02

Forget the ones you never use

Removing a profile also removes its stored key. That is the cleanest way to stop a laptop joining a neighbour's open network.

netsh wlan delete profile name=OldCafe
tipA network name with spaces needs double quotes around it.
03

Enable auto-connect only where you want it

Each profile has an auto-connect flag in the settings of that network. Turning it off keeps the password but requires a manual click.

Settings > Network & internet > Wi-Fi > Manage known networks
tipTurn auto-connect off for the guest network at home and on for your own. That single change solves most of these cases.
04

Set the interface metric for wired and wireless

When both adapters are active, the lower metric wins. A wired adapter left at automatic usually beats Wi-Fi, but a dock can change that.

netsh interface ipv4 show interfaces
05

Prefer the 5 GHz band explicitly

Two SSIDs from the same router appear as separate networks. Connecting to the 5 GHz one and disabling auto-connect on the other keeps the fast path.

⚠ warningA mesh system with the same SSID on both bands decides for itself. Forcing a band there is a router setting, not a Windows one.
06

Reconnect and confirm the choice

Reboot with both candidates in range. The status page names the connected network, and it should be the one you configured.

netsh wlan show interfaces
Troubleshooting

Common issues

It still joins the wrong network

Auto-connect is on for that profile, or a stored profile with a higher priority exists. Check the full list.

Wired and wireless fight each other

Adjust the interface metric, or disable the wireless adapter while docked.

The laptop drops to the slower band

Router band steering. Fix it there or split the SSIDs.

A forgotten network reappears

A sync from another Windows device restored the profile.

FAQ

Frequently asked

Does the order survive a Windows update?

Usually yes. A feature update rarely resets network profiles.

Can I set an explicit priority number?

Not directly. The order follows the profile list, which you control by deleting and re-adding entries.

How to undo this

Re-add the forgotten network with its password and switch auto-connect back on where you turned it off. The machine reconnects as before.

Changelog · 1 entry
  1. 2026-10-31
    First version
Interactive version: checklist, feedback, related guides →

Free · no account needed · tracks your progress