You could write a script that will enable or disable either of the wireless adapters.
Here's my wi-fi disable script called "Wireless.disable.wsf".
From a command line run it by typing "cscript Wireless.disable.wsf".
Code:
<package>
<comment>
Wireless.disable.wsf - Disables your Wi-Fi Connection
</comment>
<job>
<object id="objShell" progid="Shell.Application"/>
<script language="VBScript">
Option Explicit
Dim objCP, objDisable, objEnable
Dim clsConn, clsThisConn, clsVerb
Dim strNetConn, strConn, strEnable, strDisable
Dim bEnabled, bDisabled
strConn = "Wi-Fi" ' This must match the name in the Network Connections control panel
strEnable = "En&able"
strDisable = "Disa&ble"
Set objCP = objShell.Namespace(49) ' 49 = Network Connections
Set clsThisConn = Nothing
For Each clsConn in objCP.Items
If clsConn.Name = strConn Then
Set clsThisConn = clsConn
Exit For
End If
Next
If clsThisConn is Nothing Then
WScript.Echo "Wi-Fi connection not found"
WScript.Quit
End If
bEnabled = False
Set objDisable = Nothing
For Each clsVerb in clsThisConn.verbs
If clsVerb.name = strDisable Then
Set objDisable = clsVerb
bEnabled = True
End If
Next
If bEnabled Then
objDisable.DoIt
WScript.Echo "Wi-Fi disabled"
Else
WScript.Quit
WScript.Echo "Wi-Fi was already disabled"
End If
' Give the connection time to stop/start
WScript.Sleep 1000
</script>
</job>
</package>
And here's the corresponding enable script:
Code:
<package>
<comment>
Wireless.disable.wsf - Disables your Wi-Fi Connection
</comment>
<job>
<object id="objShell" progid="Shell.Application"/>
<script language="VBScript">
Option Explicit
Dim objCP, objDisable, objEnable
Dim clsConn, clsThisConn, clsVerb
Dim strNetConn, strConn, strEnable, strDisable
Dim bEnabled, bDisabled
strConn = "Wi-Fi" ' This must match the name in the Network Connections control panel
strEnable = "En&able"
strDisable = "Disa&ble"
Set objCP = objShell.Namespace(49) ' 49 = Network Connections
Set clsThisConn = Nothing
For Each clsConn in objCP.Items
If clsConn.Name = strConn Then
Set clsThisConn = clsConn
Exit For
End If
Next
If clsThisConn is Nothing Then
WScript.Echo "Wi-Fi connection not found"
WScript.Quit
End If
bEnabled = False
Set objDisable = Nothing
For Each clsVerb in clsThisConn.verbs
If clsVerb.name = strDisable Then
Set objDisable = clsVerb
bEnabled = True
End If
Next
If bEnabled Then
objDisable.DoIt
WScript.Echo "Wi-Fi disabled"
Else
WScript.Quit
WScript.Echo "Wi-Fi was already disabled"
End If
' Give the connection time to stop/start
WScript.Sleep 1000
</script>
</job>
</package>
You might need to modify this line in each script:
Code:
strConn = "Wi-Fi" ' This must match the name in the Network Connections control panel
In control panel my wi-fi connection has the name you see above. Yours will be different, especially your external/plug-in wireless adapter.
Rather than open a command window to run these, you could create a shortcut for each script, and then just click the appropriate shortcut to enable or disable your wi-fi.