Have you ever encountered a situation where your computer stubbornly clings to a wired connection (Ethernet), Although Wi-Fi network More stable or faster? Or is the laptop ignoring the high-speed cable, preferring a weak wireless signal? In 90% of cases, this isn't a bug, but a feature. Windows, where network priority is determined automatically using pre-programmed algorithms. Fortunately, it can be reconfigured manually—and today we'll cover all the working methods, from standard tools to hidden registry tweaks.
The problem is relevant not only for gamers for whom minimal latency is critical (ping), but also for office users working with cloud services. For example, if your Ethernet connected to a corporate network with strict restrictions, and Wi-Fi If it distributes internet without blocking, it's logical to choose the latter. Or vice versa: when the router is in another room, and the cable provides stable 1 GbpsIn this article, you will find solutions for both situations, as well as learn how to check the current priority and why sometimes Windows ignores your settings.
⚠️ AttentionChanging network settings through the registry or command line may result in connection loss. If you are unsure about what you are doing, create a system restore point before making any changes (Win + R → rstrui).
1. How to check the current network priority in Windows
Before changing anything, you need to understand which network is currently used by default. Windows determines priority based on interface metrics — a numeric value, where a lower number indicates a higher priority. This can be viewed in several ways:
The easiest method is through Control Panel:
- Click
Win + R, enterncpa.cpland pressEnter. - A window will open Network connectionsPlease note the icons: an active connection will not be grayed out.
- Click
Altto open the menu, then selectMore → Advanced Options....
At the top of the window, you'll see a list of connections in order of priority. But there's a catch: this list only shows active network, but not the metric. For precise data, use the command line:
route print
Find the block in the results Active routes and pay attention to the column MetricsThe lower the number, the higher the priority. For example, if Ethernet metrics 10, and at Wi-Fi — 25, then the wired connection will be used whenever available.
2. Changing the priority via adapter settings (the easiest way)
If you need to temporarily switch between networks without digging into settings, use the built-in tool Windows:
- Open
Control Panel → Network and Internet → Network Connections(or use the commandncpa.cpl). - Click
Alt → Advanced → Advanced Options. - On the list Connections select the desired network (for example, Wi-Fi) and click the green arrow
Upto move it up the list. - Click
OKand restart your computer.
⚠️ AttentionThis method only works until the next automatic network configuration change (for example, after a sleep or router reboot). For permanent results, use the methods below.
Also pay attention to the condition of the adapters:
- 🔌 Ethernet is physically disconnected? Check the cable and port on the router.
- 📶 Wi-Fi won't connect? The adapter driver may be outdated (update it via
device Manager). - ⚡ Both networks are active, but traffic only goes through one.? This is fine - Windows uses only one connection by default.
Check that both networks (Wi-Fi and Ethernet) are connected and working|
Take a screenshot of your current routing settings (route print command)|
Update your network adapter drivers|
Create a system restore point-->
3. Manually setting interface metrics
A metric is a key parameter that Windows is used to select a route. By default, it is calculated automatically based on connection speed, but it can be set manually. Here's how:
- Open
Control Panel → Network and Internet → Network and Sharing Center. - Click on the active connection (for example, Ethernet) and select
Properties. - Click
Internet Protocol version 4 (TCP/IPv4)→Properties→Additionally. - Uncheck the box
Automatic metric assignmentand set the value:- For Wi-Fi:
5(the smaller, the higher the priority). - For Ethernet:
15(or any number greater than Wi-Fi).
- For Wi-Fi:
After reboot, check the priority with the command route printIf the metrics haven't changed, try an alternative method via PowerShell:
Get-NetAdapter | Where-Object {$_.Status -eq 'Up'} | Set-NetIPInterface -InterfaceMetric 10
Replace 10 to the desired value (for example, 5 For Wi-Fi). To apply changes to a specific adapter, specify its name:
Set-NetIPInterface -InterfaceAlias "Wi-Fi" -InterfaceMetric 5
Why does the metric reset after sleep or reboot?
Windows 10/11 uses a mechanism Network Location Awareness (NLA), which recalculates metrics when the network environment changes. If you want to permanently fix the values, you will need to disable automatic metric assignment in the registry (see Section 5).
4. Disabling automatic priority determination
If Windows stubbornly resets your settings, the mechanism is to blame Automatic Metric, which overrides metrics whenever the network changes. To disable it:
- Open
Registry Editor(Win + R → regedit). - Follow the path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}Where
{GUID}— the unique identifier of your network adapter (you can find it in the threadInterfacesby description, for example, "Wi-Fi" or "Ethernet"). - Create a new parameter
DWORD (32-bit)with a nameEnableDHCPMediaSenseand meaning0. - Restart your computer.
After that Windows will stop automatically changing metrics when connecting/disconnecting a cable or changing signal strength Wi-Fi. However, be careful:
⚠️ Attention: Disconnection DHCP Media Sense may cause connection problems with some corporate networks where 802.1X authentication (for example, in offices or universities). In this case, return the value 1.
An alternative way is to disable the service Network Location Awareness:
- Click
Win + R, enterservices.msc. - Find a service
Network List Service. - Right click →
Properties→Startup Type: Manual.
This will not disable automatic metrics completely, but will reduce the frequency of its recalculation.
5. Priority via group policies (for Windows Pro/Enterprise)
If you have Windows 10/11 Pro or Enterprise, can be used Local Group Policy Editor To force priority. This method is more reliable than the registry, as it doesn't reset after updates:
- Click
Win + R, entergpedit.msc. - Follow the path:
Computer Configuration → Administrative Templates → Network → QoS Packet Scheduler - Find a policy
Limit reserved bandwidthand install it inIncluded. - In the field
Bandwidth Limitation (%)enter0. - Apply the changes and restart your PC.
This indirectly affects the priority, since QoS (Quality of Service) begins distributing traffic according to specified rules. For direct metric management:
- In the same editor, go to:
Computer Configuration → Administrative Templates → Network → TCP/IP Settings - Find a policy
Set up automatic metric assignment for new connections. - Install it in
Disabled.
Important: Group policies take precedence over registry settings. If you previously changed metrics manually, they may be reset after applying the policies.
6. Software solutions: network management utilities
If manual methods seem complicated, use specialized software. They not only change the priority but also offer additional features, such as traffic monitoring, speed testing, and automatic switching between networks.
| Program | Functions | Price | Link (official website) |
|---|---|---|---|
| NetSetMan | Priority management, quick network profiles, MAC address change | Free (Pro - $25) | netsetman.com |
| ForceBindIP | Binding programs to a specific network adapter (for example, games only via Wi-Fi) | For free | r1ch.net/stuff/forcebindip |
| NetBalancer | Per-application traffic control, network prioritization, and speed limiting | Free (Pro - $49.95) | netbalancer.com |
| WiFi Switcher | Automatic switching between Wi-Fi and Ethernet based on rules (for example, when the signal is weak) | For free | GitHub (search by name) |
For example, in NetSetMan enough:
- Create a new profile (
Profile → New). - In the section
Network Settingsselect the desired adapter (Wi-Fi) and check the boxSet as default. - Save the profile and activate it.
- 🔄 Reset network settings: If the metrics are reset after each update, perform a reset:
netsh int ip resetnetsh winsock resetThen restart your PC and set the priority again.
- 🛡️ Antivirus or firewall is blocking changes: Temporarily disable protection (eg. Kaspersky, Avast, Windows Defender) and repeat the setup.
- 🔌 The adapter driver is out of date.: Update driver via
device Manageror from the manufacturer's website (for example, for Intel Wi-Fi 6 or Realtek PCIe GbE). - ⚙️ Conflict with VPN or proxy: Disable all tunnel connections (OpenVPN, WireGuard) and check the priority again.
Especially useful for gamers ForceBindIP — it allows you to force the game to run through the selected adapter, ignoring system settings. For example, if you want Steam And CS2 always used Wi-Fi, and the rest of the traffic went through Ethernet.
7. Problems and solutions: why settings are not applied
Even after all the manipulations Windows may ignore your settings. Here are the most common causes and how to fix them:
If the problem persists, check the event log Windows:
- Click
Win + X → Computer Management → Event Viewer → Windows Logs → System. - Filter events by source
TcpiporNetwtw04(for Wi-Fi).
Typical mistakes:
Event ID 1001— IP address conflict (check your router settings).Event ID 4201— the adapter driver is not responding (reinstall it).
FAQ: Frequently asked questions about network priority
Is it possible to make the computer automatically switch from Wi-Fi to Ethernet when you connect a cable?
Yes, but to do this you need to cancel all manual metric settings and return Automatic metric assignment in the adapter properties. By default Windows Always prioritizes a wired connection if one is active. If this doesn't happen, check your driver. Ethernet-adapter or reset network settings with the command netsh int ip reset.
Why did all priority settings reset after updating Windows 11?
Windows 11 Aggressively resets user network settings during major updates (e.g. 22H2 → 23H2). To avoid this:
- Export your current registry settings (
File → ExportV regedit) before the update. - Use group policies (section 5) as they are less likely to be reset.
- Install a program like NetSetMan, which preserves profiles regardless of updates.
How can I check which connection is being used for a specific program (e.g. a game)?
Use the command in PowerShell:
Get-NetTCPConnection -State Established | Select-Object LocalAddress, LocalPort, RemoteAddress, RemotePort, OwningProcess | Where-Object {$_.OwningProcess -eq (Get-Process -Name "game.exe").Id}
Replace game.exe to the name of your program's process. In the column LocalAddress the IP address of the adapter will be indicated (for example, 192.168.1.x For Wi-Fi or 192.168.0.x For Ethernet).
Will there be a difference in ping if I play over Wi-Fi 6 instead of Ethernet?
All other things being equal (Wi-Fi 6 with support OFDMA And 160 MHz, the router is next to the PC) the difference is ping between Ethernet And Wi-Fi will make up 1–5 msHowever, in real-world conditions (walls, interference, other devices), wireless network latency can increase to 20–50 ms. For competitive games (CS2, Valorant) It's better to use a wired connection if stability is critical. For single-player gaming or streaming, there won't be any difference.
Is it possible to adjust priority on MacOS or Linux?
Yes, but the methods are different:
- MacOS: Use
System Preferences → Network, drag the networks into the desired order in the list on the left. Or disable automatic service ordering:networksetup -listallnetworkservicesnetworksetup -ordernetworkservices "Wi-Fi" "Ethernet" - Linux (Ubuntu/Debian): Edit the file
/etc/network/interfacesor usenmcli:nmcli connection modify "Wi-Fi" connection.autoconnect-priority 10nmcli connection modify "Ethernet" connection.autoconnect-priority 5The higher the number, the higher the priority.