We have several Dell Latitude E series laptops in my office. They are usually docked in the user's office but frequently, the user will work in a conference room or alongside another user in their office.  When that happens, the non-docked user will use wireless.  Our WLAN is the same IP subnet as the wired as to keep connectivity as simple as possible.  Problem I am having is that users forget to turn off their wireless when docked and as a result, every laptop pulls 2 IP addresses from my DHCP server causing me to run out of address rather quickly.

I'd like to have a script that fixes this as I found a possible solution:

- Open Network Connections and right click on the Wireless Network Connection and select Properties.

- Beside the Connect Using box is a Configure button. Click the button.

- Click on the Advanced tab and in the Property box, select Disable Upon Wired Connection. In the Value box, select Enabled and click OK.

I believe this only works on Broadcom (Dell) nics.  Now when you are wired, the wireless is disabled.

Is there a way to script this in my K1000? I'm not sure even where to start.

Thanks for any and all help!


Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment



Have you seen this?


You can run this script at login through GPO, or Offline Kscript.



How to run VBScript.


Answered 04/12/2013 by: dugullett
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity