Wifi + LAN Detect and Disable
Log In or Register to download the BES file, and more.

0 Votes

Description

Detects if there is both an active LAN network connection and an active WIFI network connection. If there are both, the action will disable the WIFI adapter.

Property Details

ID24607
StatusAlpha - Code that was just developed
TitleWifi + LAN Detect and Disable
DomainBESC
SourceInternal
Source Release Date8/8/2017 12:00:00 AM
Keywordswifi detect enable disable
Added by on 8/8/2017 1:13:53 PM
Last Modified by on 8/8/2017 1:13:53 PM
Counters 167 Views / 1 Download
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 1 fixlet   * Results in a true/false
Show indented relevance
(Exists (select "netconnectionid from win32_NetworkAdapter where NetEnabled = 'TRUE' and ServiceName = 'NETwNb64'" whose (string value of it != "") of WMI)) AND (exists adapter whose (friendly name of it != "" AND enabled of wifi of it and exists gateway of it and address of it as string != "0.0.0.0") of network) AND (exists adapter whose (not exists wifi of it and gateway of it as string!= "0.0.0.0" and address of it as string!= "0.0.0.0") of network)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
//Alpha code - does not accomodate multiple wifi adapters
wait netsh interface set interface "{string value of select "netconnectionid from win32_NetworkAdapter where NetEnabled = 'TRUE' and ServiceName = 'NETwNb64'" of WMI}" admin=disable
wait ipconfig /release
wait ipconfig /renew
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
brolly33 -
Goes with https://www.bigfix.me/fixlet/details/24608