Solved

Change network adapter order

Posted on 2013-11-20
3
830 Views
Last Modified: 2013-11-20
Hi,

Is there a way to set the network adapter order automaticaly? By GPO or powershell?

The reason why we want this, is because that wireless is ordered higher than wired network connections, when we check in under Advanced settings for network adapters.
0
Comment
Question by:Sum Wum
3 Comments
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 39661836
No, as far as I know a GPO or Powershell-way does not exist for this, the only way to do it is manually. The problem (one of them) is that the GUID for the adapters is different on each machine.

You could try changing the metric, like discussed in this older KB: http://support.microsoft.com/kb/894564

Or try something like a script to shut-off the unused nic maybe?
0
 
LVL 39

Expert Comment

by:footech
ID: 39661852
There is no way I know of to change this by script, only through GUI.  But it shouldn't matter, the connection utilized should be determined by the interface metric.  The interface with the lowest metric should be the one used if multiple are present.  Run "route print" at a command prompt to see the info.
0
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 39662150
You may try with nvspbind.exe..

http://www.chrisleblanc.org/modify-network-card-bindings-script-command-line/

PS : I have not tested it, so test it in your lab before you run it in production..
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question