/build/static/layout/Breadcrumb_cap_w.png

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

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

Answers (3)

Posted by: EdT 9 years ago
Red Belt
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.
Posted by: Prabs 9 years ago
Senior White Belt
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
Posted by: n1md4 9 years ago
Second Degree Blue Belt
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.

Comments:
  • Not exactly a scripted solution, is it? :-) - anonymous_9363 9 years ago
    • 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." - n1md4 9 years ago

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:

Share

 
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