I have found this script that can move the Nic to the top of the priority list when connecting.

Example: put the LAN NIC on the top of the binding order for IPv4:
nvspbind.exe /++ "Local Area Connection" ms_tcpip

Have any of you used this script before and if not what is your solution to getting the Lan to connect over the Wireless connection.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1
It is not clear where you are trying to configure this. Wireless connections need windows to be running in order to work, so if your script is running outside windows, you will not be able to get a wireless connection.
Answered 02/18/2015 by: EdT
Red Belt

Please log in to comment
1
We have only laptops in our envirenment and we use the below script. It can be packlaged and deployed or as a start up policy.
disable wireless when connected to LAN and wise versa but it take some time for switch over from one other.

https://gallery.technet.microsoft.com/scriptcenter/Disable-wireless-f3bcf66f
Answered 02/18/2015 by: Prabs
Senior White Belt

Please log in to comment
1
Since we only use Dell Laptops and they have the Intel WiFi chipsets. we use the intel proset wifi administration tool to create an .exe wich enables a hidden feature of intel proset wifi toolset/driver. adapter switching. running the .exe and enable adapter switching requires admin rights.

http://www.dell.com/support/article/us/en/19/SLN82472/EN 

If you got Broadcom WIFI devices you can simply go to Device Manager and take properties on your broadcom WIFI device, go to Advanced tab and check Disable Upon Wired Connection and change from default disabled to Enabled.
Answered 02/23/2015 by: n1md4
Orange Belt

  • Not exactly a scripted solution, is it? :-)
    • no it's not but OP also asked: "Have any of you used this script before and if not what is your solution to getting the Lan to connect over the Wireless connection."
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share