Show the list of wireless profiles:
netsh wlan show profiles
Retrieve the stored key (WPA, WEP,
etc) of a profile:
netsh wlan show profiles name=[profile name]
key=clear
Delete a wireless profile:
netsh wlan delete profile name=[profile name]
Set a network’s priority:
netsh wlan set profileorder name=[profile
name]interface=[interface_name] priority=1
Stop automatically connecting to a
network:
netsh wlan set profileparameter name=[profile name]
connectionmode=manual
Though you can’t actually make
changes to the network profiles themselves, you can export a desired profile,
make changes to the XML file, and then import the profile back onto the same
machine or another one.
In Windows 8, Microsoft also
removed the ability to save/export the network profiles from the GUI in the
Wireless Network Properties box under the Connection tab. However, it’s still
possible via Netsh commands:
Export a wireless network profile:
netsh wlan export profile name=[profile name]
Import a network profile:
netsh wlan add profile
filename=[path_and_filename.xml] interface=[interface_name]
No comments:
Post a Comment