3 Ways to Change Windows Route Metric: Step-by-Step

In this guide, we’ll show a few ways to change the network adapter’s metric in Windows, giving you control over which connection takes priority.

Windows automatically assigns metrics based on speed, but you can manually adjust them using route.exe, disable automatic metrics, or use third-party tools for more precise network management.

disable network adapter

How to Change Route Metric on Windows

1. Using NetRouteView (GUI Method)

netrouteview

NetRouteView is a simple tool for modifying Windows’ routing table. To change the metric:

  • Run NetRouteView as an administrator.
  • Find the route with the destination 0.0.0.0 (your default gateway).
  • Double-click it, modify the metric, and click OK.
  • If you want the change to persist after a reboot, set Persistent to Yes.
modify existing route

Download NetRouteView

2. Using Route.exe (Command Line Method)

ipconfig

Next, type “route print” in command prompt to get the interface number and also the current metric for the particular network adapter. The Ethernet adapter has an interface number 7 and metric 20.

route print interface number

To increase the metric for an Ethernet adapter with an IP of 192.168.2.5, the command would be route.exe CHANGE (Network Destination) MASK (Network Mask) (Interface IP) METRIC (NUMBER) IF (INTERFACE NUMBER). An example:

route.exe change 0.0.0.0 mask 0.0.0.0 192.168.2.5 metric 5 IF 7

By typing the command above, the metric for the Ethernet will become 25.

route change metric print

As you can see, the route change command does not replace the current metric with 5 but instead the 5 will be used to add to the current metric 20, making it 25.

3. Setting a Custom Interface Metric (Permanent Method)

  1. Press Win + R, type ncpa.cpl, and press Enter.
network adapter properties
  1. Double-click on the Internet Protocol Version 4 (TCP/IPv4) and click at the Advanced button located at the bottom right.
  2. Select Internet Protocol Version 4 (TCP/IPv4) > Advanced.
  3. Uncheck Automatic metric, then enter your preferred value.
disable automatic metric

Alternatively, you can use this command:

netsh interface ipv4 set interface "[Interface Name]" metric=[Number]

Replace [Interface Name] with the adapter’s actual name (e.g., Ethernet or Wi-Fi).

interface name

Additional Notes: The new Windows 10 is much smarter in handling multiple connections to the same gateway by ignoring the “Connect Automatically” option and not automatically connecting to the gateway using the wireless when the wired is already connected.

We’ve also tested the order of network adapters found in the hidden “Adapters and Bindings” extensively and it doesn’t seem to have any effect on which adapter is to be used.

If you’re interested in trying it out, it is at Network Connections which can be launched by running ncpa.cpl from the Run window, pressing Alt+N, and finally selecting Advanced Settings.

24 Comments - Write a Comment

  1. jose 4 years ago
    • anonymous 4 years ago
  2. Zenong 4 years ago
  3. ELM 5 years ago
    • Red-Rob 3 years ago
  4. Pavel Zvezdin 5 years ago
  5. zameen 5 years ago
  6. Hany 6 years ago
  7. Subhani 7 years ago
  8. Alexandr Zarubkin 8 years ago
  9. user33 10 years ago
  10. rodgers kaka 15 years ago
  11. Grr 15 years ago
  12. megablue 15 years ago
  13. Rohit 15 years ago
  14. Dharmender Singh 15 years ago
  15. aBg_rOnGak 15 years ago
  16. Marshall 15 years ago
  17. Tim 15 years ago
  18. wantp 15 years ago
  19. Sunil J 15 years ago
  20. Rahman 15 years ago
  21. akbarri 15 years ago
  22. VIJAy 15 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.