Modern operating systems, such as Windows 10 and 11, have sophisticated network connection management algorithms that often don't work as expected by advanced users. By default, the system may prioritize wireless connections even when an Ethernet cable is connected, resulting in reduced speeds and increased ping in games. This occurs due to automatic calculations. interface metrics, which does not always take into account the actual channel capacity at a particular point in time.
When a computer is stuck on a weak Wi-Fi signal instead of a Gigabit cable, manual intervention in the network adapter settings is required. Ignoring this issue can result in you paying a high ISP rate while actually using a slow connection. In this guide, we'll explore the technical aspects of forcing traffic to the LAN port.
First, make sure the physical connection is correct: the lights on the network card should be lit or blinking. If the cable is intact but the internet still connects via the wireless network, the routing priority is incorrectly configured. TCP/IP protocol allows you to set preferences, but the default Windows settings often require user adjustments to achieve maximum performance.
Why does Windows ignore the cable when Wi-Fi is enabled?
The main cause of the conflict is the automatic metric calculation mechanism built into the stack. TCP/IPThe operating system assigns a numerical value—a metric—to each active network interface. The lower this number, the higher the priority given to that connection for outgoing traffic. The problem is that the algorithm doesn't always prioritize Ethernet, especially if the wireless signal is very strong and the cable interface was activated later.
⚠️ Note: Automatic metric assignment may change after each router restart or network card driver update.
Furthermore, some network card drivers have their own power-saving features that can temporarily "sleep" the LAN port, forcing the system to switch to Wi-Fi. The router's settings, which can broadcast a high-priority SSID, also have an impact. Understanding this logic is essential for proper configuration.
It's important to note that having two active connections to the same network (both Wi-Fi and a cable from the same router) can cause IP address conflicts or routing loops. In such cases, the system may randomly switch between adapters, causing connection drops in games or video calls. Manually setting the priority solves this problem by prioritizing the primary connection.
Changing interface metrics in Windows 10 and 11
The most reliable way to force a computer to use a cable is to manually change the interface metric in the IPv4 protocol properties. This method doesn't require installing third-party software and works at the operating system level. You'll need access to the network connection settings and administrator rights.
First, you need to open the Network Control Panel. Press the key combination Win + R, enter the command ncpa.cpl and press Enter. The "Network Connections" window will open, displaying all available adapters. Locate your wired adapter (usually labeled "Ethernet" or "Local Area Connection") and wireless adapter (called "Wi-Fi" or "Wireless Network").
☑️ Check before changing metrics
Next, follow the instructions to set the priority:
- 🔌 Right-click on the adapter Ethernet and select "Properties".
- 📑 In the list of components, find "Internet Protocol Version 4 (TCP/IPv4)", select it and click the "Properties" button.
- ⚙️ In the window that opens, click the "Advanced" button in the lower right corner.
- 📉 Uncheck the "Automatically assign metric" box and enter the value in the "Interface metric" field
10.
Now you need to do the same for the wireless adapter, but with the opposite value. Open the Wi-Fi properties, go to IPv4 properties, then to Advanced settings. Uncheck the Automatic metric box and set the value, for example, 100 or 1000The higher the number, the lower the priority. Therefore, the system will always choose cable (metric 10) over Wi-Fi (metric 100).
Setting priority via the Windows registry
For experienced users, there's an alternative method for changing the priority via the system registry. This method is useful if the network settings graphical interface isn't working correctly or is blocked by group policies. Working with the registry requires caution, as an error can lead to system instability.
Open the registry editor by typing regedit In the Run window, follow the path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\InterfacesHere you'll see several folders with names similar to GUIDs (a series of numbers and letters). You need to find the folder that corresponds to your network adapter. Inside the folder, there should be a parameter IpAddress with your current IP address.
⚠️ Attention: Before making changes to the registry, it is recommended to create a backup copy via the "File" → "Export" menu.
After finding the desired section, create or modify a DWORD parameter named InterfaceMetric. Set value 10 for a wired interface. For Wi-Fi, find the corresponding section (by IP address) and set the value there. 100After applying the changes, you must restart your computer to network stack reread the configuration.
What to do if there is no folder with an IP address?
If you don't see any folders with IP addresses in the Interfaces section, your computer may be using dynamic addressing and the parameter hasn't been configured yet. In this case, it's best to use the method for changing the metric via the ncpa.cpl graphical interface described in the previous section. The registry is a tool for in-depth diagnostics, not a mandatory procedure for everyone.
Using the registry provides a deeper level of control, but requires precision. If you accidentally change a parameter in the wrong registry key, the network connection may stop working until the error is corrected. Therefore, the method via ncpa.cpl is considered safer for the average user.
Managing network profiles on a router
Not only the computer's operating system influences the choice of network, but also the router itself. Modern routers, such as Keenetic, MikroTik or ASUS, have their own traffic prioritization mechanisms. In some cases, it makes sense to configure rules at the device level, especially if you want a specific LAN port to always have priority.
Router interfaces often feature QoS (Quality of Service) settings. While these are primarily intended for distributing bandwidth between devices, some models allow you to prioritize interfaces. For example, you can configure a rule to allow traffic from a LAN port to bypass restrictions placed on wireless clients.
Comparison of features of popular router brands:
| Router brand | Setting the priority | Menu location | Complexity |
|---|---|---|---|
| Keenetic | Interface priority | Internet → Connection Priorities | Low |
| MikroTik | Routing Rules | IP → Routes | High |
| TP-Link | QoS Engine | Bandwidth Control | Average |
| ASUS | Adaptive QoS | Traffic Analyzer | Average |
In routers MikroTik You can create a static route with a lower metric for the wired interface, which will force all traffic through that port to be processed first. This is especially relevant for office networks, where stability is critical. However, for home use, Windows-based settings are usually sufficient.
Using third-party utilities for network management
If manual configuration seems too complicated or you frequently switch between different networks (office, home, cafe), you can use specialized software. There are programs that allow you to create network settings profiles and switch them with a single click. This eliminates the need to delve into the system's depths each time.
One of the popular utilities is NetSetMan or similar IP address management tools. They allow you to set a rule: "If an Ethernet cable with a specific gateway is connected, then the Wi-Fi adapter should be disabled or its priority should be lowered." This automates the process and eliminates human error.
- 💾 NetSetMan: Allows you to create up to 6 network settings profiles and switch between them.
- 🚀 QuickSet: Utility for quickly changing IP, DNS and interface metrics.
- 🛡️ Simple IP Config: Free tool to export/import network settings.
It's important to understand that third-party utilities require administrator privileges to operate, as they modify system settings. When using free versions, monitor the installation carefully to avoid downloading unnecessary adware. For most home users, configuring the system once with the built-in tools is sufficient.
Diagnostics and testing of an active connection
After making all the changes, you need to verify that the priority has actually changed and that traffic is flowing through the cable. Simply seeing a connection icon isn't enough. The most reliable way to verify this is using the command line and analyzing the routing.
Open Command Prompt (cmd) or PowerShell as administrator. Enter the command route printIn the list that opens, find the line with the destination address. 0.0.0.0 (This is the default gateway.) The "Interface" column should contain the IP address of your LAN connection, and the "Metric" column should contain the value you manually set (e.g., 10).
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.5 10
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.15 100
In the example above, you can see that the first line has a metric of 10 and interface 192.168.1.5 (representing cable), while the second line has a metric of 100 (representing Wi-Fi). The system will use the first line. You can also use online services to check your IP: disable Wi-Fi and check the IP, then enable Wi-Fi and disconnect the cable—the IP should change. If your external IP matches your cable provider's with both cable and Wi-Fi enabled, the setup was successful.
⚠️ Note: Command line interfaces and menu appearance may vary depending on your Windows version and security updates.
Possible problems and solutions
Even after proper configuration, situations may arise where the system behaves unpredictably. This is often due to DNS caching or driver issues. If the internet connection is lost or the speed hasn't improved, try resetting the network stack.
In the command line, run the following commands sequentially: ipconfig /flushdns, ipconfig /release, ipconfig /renewThis will clear the cache and request new settings from the router. It's also worth checking if you have software installed from the laptop manufacturer (such as Lenovo Vantage or Dell Connection Manager), which could override network control and ignore Windows settings.
In rare cases, the problem lies with the cable itself or the router port. If the cable is damaged or the port only operates at 100 Mbps instead of 1 Gbps, Windows may consider an 802.11ac wireless connection preferable. Check the cable status in the adapter properties: the speed should be 1.0 Gbps.
Is it possible to completely disable Wi-Fi when connecting a cable?
Yes, this can be done automatically. In Device Manager, find your Wi-Fi adapter, go to Properties, and in the "Advanced" tab (if available), look for the option to disable when a LAN connection is present. If this option isn't available, you can use scripts or third-party utilities, as mentioned above, to automatically disable the wireless module when a wired connection is detected.
Does priority affect file download speed?
Absolutely. If the system mistakenly sends traffic over Wi-Fi, you're limited by the wireless channel's speed, its noise level, and the number of connected devices. A cable connection provides a stable channel without packet loss, which is critical for torrents, 4K streaming, and online gaming.
Do I need to reboot my router after changing the metric in Windows?
No, the interface metric change occurs on the client side (your computer). The router simply sees the incoming connection. However, a reboot of the network adapter or the computer itself is required for the new TCP/IP settings to take effect.
What should I do if my internet connection goes down after changing my metrics?
Change the metric value back to "Automatic" in the IPv4 properties. You most likely have conflicting IP addresses or an incorrect gateway. Make sure the default gateway in your cable connection settings matches your router's address (usually 192.168.0.1 or 192.168.1.1).
Does this method work for Android mobile devices?
On stock Android, the system manages priority itself, and typically, a cable (via OTG) automatically disables Wi-Fi. However, on some custom ROMs or corporate networks, special interface management apps may be required, as access to system routing tables in Android is limited.