For additional reliability or computers where GPO isn't sufficient, configure driver-level settings that provide hardware-based Wi-Fi disabling.
On target computers, access Device Manager:
devmgmt.msc
Navigate to Network adapters and locate the Wi-Fi adapter (usually contains "Wireless", "Wi-Fi", or "802.11" in the name).
Configure the adapter properties:
- Right-click the Wi-Fi adapter and select Properties
- Click the Advanced tab
- Look for a setting named "Disabled Upon Wired Connect" or similar
- If available, set the value to Enabled
- Click OK
Not all Wi-Fi adapters support this feature. Common adapters that do include Intel Wireless adapters and some Realtek models.
Warning: Driver-level settings are per-computer and won't be managed centrally. Use this as a supplement to GPO, not a replacement.
For adapters without this option, you can deploy a PowerShell script via GPO startup scripts:
# Check if Ethernet is connected and disable Wi-Fi
$ethernetAdapter = Get-NetAdapter | Where-Object {$_.MediaType -eq "802.3" -and $_.Status -eq "Up"}
$wifiAdapter = Get-NetAdapter | Where-Object {$_.Name -like "*Wi-Fi*" -or $_.Name -like "*Wireless*"}
if ($ethernetAdapter -and $wifiAdapter) {
Disable-NetAdapter -Name $wifiAdapter.Name -Confirm:$false
}
Verification: Check Device Manager to confirm the "Disabled Upon Wired Connect" setting is enabled, or test the PowerShell script manually to ensure it properly detects and disables Wi-Fi when Ethernet is active.