Can the net connection binding order be changed via script or GPO?

G

Guest

Hello,

Does anyone know if there is a way to use a script, WMI, netsh, GPO, etc to
change a host's network connection binding order? We have a new wireless
network and I want to avoid having docked laptops use the wireless connection
when they are connected via wire to the LAN. I don't mind them getting an IP
as long as they don't use wireless for their traffic when docked.

Thanks in advance...
 
C

Chuck

Hello,

Does anyone know if there is a way to use a script, WMI, netsh, GPO, etc to
change a host's network connection binding order? We have a new wireless
network and I want to avoid having docked laptops use the wireless connection
when they are connected via wire to the LAN. I don't mind them getting an IP
as long as they don't use wireless for their traffic when docked.

Thanks in advance...

Brad,

Instead of writing a script, and having the script run when docking or undocking
a laptop, why not adjust the Automatic Metric to make the wired connection
preferred, when available?
<http://support.microsoft.com/?id=299540>
 
G

Guest

Thanks a lot for the response. That would appear to take care of the problem.
Few thoughts/questions though:

-Does the metric correspond to the interface binding order? Or are these two
different ways to accomplish the same result?

-According to this article, the wireless connection, which should be 54Mbps,
should be coming up lower than the wired connection at 100Mbs anyway.

-Is there a way to view the automatically set metrics?

-Is there a way to script this metric change?

Thanks again!
 
C

Chuck

Thanks a lot for the response. That would appear to take care of the problem.
Few thoughts/questions though:

-Does the metric correspond to the interface binding order? Or are these two
different ways to accomplish the same result?

-According to this article, the wireless connection, which should be 54Mbps,
should be coming up lower than the wired connection at 100Mbs anyway.

-Is there a way to view the automatically set metrics?

-Is there a way to script this metric change?

Thanks again!

Brad,

When you adjust the metric for an IP interface, the binding order becomes
irrelevant. The active interface with the lowest metric (highest speed) is
automatically selected.

You can view, and change, the metric value for any interface, in one of two
ways.
# Network Connections - (Interface) Properties - TCP/IP Properties - Advanced.
By default, the Automatic metric is selected, you de select Automatic metric and
enter a value of your choosing here.
# The Static Route table, that can be viewed by "route print", will display the
current metric for every interface. You can change any metric thru the netsh
command, and that can be scripted.

<http://www.microsoft.com/technet/pr...elp/b2c92af5-425a-4c0b-8604-7a8c4ac497e0.mspx>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top