Link to home
Start Free TrialLog in
Avatar of chefmike
chefmikeFlag for United States of America

asked on

Is there a GPO policy or someting easily deployable that would diable the wireless adapter when a user connects to a physical LAN?

in the days of XP and hardware profiles, you could diable the wifi when a user was connected to a docking station.  With Windows 7 I no longer have that option, so users are connected to both wifi and the lan when docked, although traffic flows correcltly through the LAN i this scenario vs the wifi, id like to find a GPO that would allow me to to disconnect the wifi or even any other wireless network, when the user is physically connected to a network.  Does this exist?  I am in a Windows 2008R2 domain.....
Avatar of MarkieS
MarkieS
Flag of United Kingdom of Great Britain and Northern Ireland image

You can run a script that will assign a Metric value to the IP address of the Network adaptor.

If it's Wireless give it a high cost

If Ethernet, a low cost...

I'll find the link for you...
The basic idea goes like this...

Create a GPO that runs this VB script at startup.

The script assigns a metric cost to each network adapter (Wireless = 35, Ethernet=10)

Then any IP traffic is routed along the least cost.

If Ethernet is plugged in it is the lower cost so wireless is ignored.
If no Ethernet is present then Wireless is taken as the only other option.

Avatar of chefmike

ASKER

Thank you everyone, I get the feeling there is not GPO that handles this.  

A couple comments:  Traffic is flowing correctly, so i have no need to change the metrics- our wifi is a public wifi and issues DHCP seperately from our internal domain.  Id actually like to physically disable the WIFI when a user is connected via a physical LAN connection.  We use Dell, and dell makes a WIFI appliaction that could allow for this, but we dont install it becuase it isnt manageable via the domain.  I also know there is a piece of software out there that does basically the same thing as the dell software, but again not manageable via GPO policy.
Avatar of johnb6767
I dont know if WLAN Switching is an option in your BIOS, but that is exactly what it does.... I know HP has them, just dont use Dells that much to be able to confirm...
Thanks, unfortunately none of those address the issue at hand, i am assuming there just isnt a GPO for this functionality
SOLUTION
Avatar of johnb6767
johnb6767
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial