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

chefmike
chefmike used Ask the Experts™
on
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.....
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
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...
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Commented:
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.

Author

Commented:
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.
Most Valuable Expert 2011
Top Expert 2011

Commented:
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...

Author

Commented:
Thanks, unfortunately none of those address the issue at hand, i am assuming there just isnt a GPO for this functionality
Most Valuable Expert 2011
Top Expert 2011
Commented:
Not outside of a script.... Still possible using devcon, if you wanna pursue....
Commented:
Group Policy wont do it because it is a setting specific to each adaptor.  As there can be so many different makes/models with individual Hardware GUIDs it's not a generic GP setting that can be applied.  You would need to run some process to discover the hardware you are targetting to be disabled.

As johnb has said - Cant do it outside of a script or devcon.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial