Scripting Question

How to get laptops to use Lan instead of WIFI using a script

02/18/2015 2964 views
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


All Answers

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

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.

Answered 02/18/2015 by: Prabs
Senior White Belt

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.


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
Blue 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."

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ