Recent

Author Topic: How to set the metric of the network adapter?  (Read 809 times)

loaded

  • Hero Member
  • *****
  • Posts: 825
How to set the metric of the network adapter?
« on: April 09, 2022, 09:26:28 pm »
Hi All,
Is it possible to take the metric setting of the TCP connection from automatic to manual and give the value 1?
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

dseligo

  • Hero Member
  • *****
  • Posts: 1222
Re: How to set the metric of the network adapter?
« Reply #1 on: April 10, 2022, 02:09:49 am »
I can't offer you exact solution, but you can try and see if you can accomplish what you want with 'netsh' command line tool.
If you can, there is a chance that you can do the same with Windows API (or in the worst case, you might call 'netsh' from your program).
You'll probably need elevated rights to perform that.

loaded

  • Hero Member
  • *****
  • Posts: 825
Re: How to set the metric of the network adapter?
« Reply #2 on: April 10, 2022, 06:56:56 am »
Thank you very much for your reply dseligo.
Yes, your suggestion is quite reasonable. If I can't find a simpler solution, I'll use it.
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

 

TinyPortal © 2005-2018