I started out trying to use a shortcut to display the Local Area Connection Status window on my desktop by creating a shortcut and assigning it Ctrl+, (comma).
Windows didn't like that, so it added Alt, which ended up being Ctrl+Alt++,.
Since I couldn't figure out a way to eliminate Alt as part of the shortcut keys, I am now trying a different strategy and it's not working. My latest attempt is to use AutoHotkey with the following command:
^,::Run, explorer ::{BA126ADB-2166-11D1-B1D0-00805FC1270E}
Which is what the shortcut target number is, but it won't open the window.
Best Answer
I am going to list the manual steps necessary to quickly enable or disable a network adapter. Then, I will translate these steps into AutoHotkey.
By hand:
Open Network Connections from the command line.
Once the window is active, press Space to set the focus to the list of adapters.
If the adapter you want to enable/disable is currently selected (i.e. the 1st` on the list), skip to Step #5.
If the adapter is not selected, press Right until it is selected. For example press Right 1 time if the adapter is 2nd on the list, 2 times if it is 3rd, etc.
Right-click the adapter and press Down to highlight the
Enable
orDisable
option.Press Enter to
Enable
orDisable
.Close Network Connections.
Autohotkey:
Using the keyboard shortcut Ctrl+,