Specs
Microsoft Windows 11 Pro
Version 10.0.22631 Build 22631
Problem
Two connections, one Computer.
Recently playing games and surfing the web was very glitchy and slow. Somehow, the Wi-Fi was the active connection instead of the more reliable ethernet.
Question
Is there a way on Windows 11 to specify the order of connections so that the ethernet takes precedence?
To show Connected interfaces, I've run this PowerShell Command:
Get-NetIPInterface | Where-Object { $_.ConnectionState -eq 'Connected' }
The output lists the InterfaceMetric
ifIndex InterfaceAlias AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp ConnectionState PolicyStore------- -------------- ------------- ------------ --------------- ---- --------------- -----------6 VMware Network Adapter VMnet8 IPv6 65536 35 Enabled Connected ActiveStore20 VMware Network Adapter VMnet1 IPv6 1500 35 Enabled Connected ActiveStore25 Ethernet 2 IPv6 1500 35 Enabled Connected ActiveStore13 Wi-Fi IPv6 1500 35 Enabled Connected ActiveStore1 Loopback Pseudo-Interface 1 IPv6 4294967295 75 Disabled Connected ActiveStore6 VMware Network Adapter VMnet8 IPv4 65536 35 Enabled Connected ActiveStore20 VMware Network Adapter VMnet1 IPv4 1500 35 Disabled Connected ActiveStore25 Ethernet 2 IPv4 1500 35 Enabled Connected ActiveStore13 Wi-Fi IPv4 1500 35 Enabled Connected ActiveStore1 Loopback Pseudo-Interface 1 IPv4 4294967295 75 Disabled Connected ActiveStore
Notice the Wi-Fi and Ethernet both have the same metric 35?
Update
Based upon the answer, I've changed the metric for Ethernet to 1 and Wi-Fi to 2, then REBOOTED. The metrics have now changed to 1 and 2. :)
ifIndex InterfaceAlias AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp ConnectionState PolicyStore------- -------------- ------------- ------------ --------------- ---- --------------- -----------6 VMware Network Adapter VMnet8 IPv6 65536 35 Enabled Connected ActiveStore20 VMware Network Adapter VMnet1 IPv6 1500 35 Enabled Connected ActiveStore25 Ethernet 2 IPv6 1500 35 Enabled Connected ActiveStore13 Wi-Fi IPv6 1500 45 Enabled Connected ActiveStore1 Loopback Pseudo-Interface 1 IPv6 4294967295 75 Disabled Connected ActiveStore6 VMware Network Adapter VMnet8 IPv4 65536 35 Enabled Connected ActiveStore20 VMware Network Adapter VMnet1 IPv4 1500 35 Disabled Connected ActiveStore25 Ethernet 2 IPv4 1500 1 Enabled Connected ActiveStore13 Wi-Fi IPv4 1500 2 Enabled Connected ActiveStore1 Loopback Pseudo-Interface 1 IPv4 4294967295 75 Disabled Connected ActiveStore