How to copy wireless settings from one computer to another.
By: Jeremy Blevins
02.18.2008
Netsh is a powerful command line tool and can be used to change a number of network settings.
First thing is to export your current wireless settings from a computer already connected into an XML file.
- Click Start, click Run, type cmd, and click OK to open a command prompt.
- At the command prompt, type netsh and press enter, then type in wlan and press enter.
- Type in show profiles
- The above command should show the name of the current wireless profile, next you can type in export profile name.
- Type in quit to exit the netsh command.
- This will create an XML file that looks similar to the below.
NOTE: The below example is WEP which is less secure but works with more devices.
If you would like to be more secure wireless network WPA can also be configured.
<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
<name>TEST</name>
<SSIDConfig>
<SSID>
<hex>484E31</hex>
<name>TEST</name>
</SSID>
<nonBroadcast>true</nonBroadcast>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<autoSwitch>false</autoSwitch>
<MSM>
<security>
<authEncryption>
<authentication>open</authentication>
<encryption>WEP</encryption>
<useOneX>false</useOneX>
</authEncryption>
<sharedKey>
<keyType>networkKey</keyType>
<protected>true</protected>
<keyMaterial>01000000D08C9DDF0115D1118C7A00C04FC297EB010000004EB270E20673E
F41874AF9E9A704E1BA0000000002000000000003660000A800000010000000174691F4F4C
26672305D6929CB6495220000000004800000A00000001000000002C1F993121CA51DB23D3
EA9E562A21608000000D261B900232F950E1400000041A675E1744CEC2D78A69B78511D2C
B2B9AB6D83</keyMaterial>
</sharedKey>
</security>
</MSM>
</WLANProfile>
Use the following commands to add the setting to other computers
- Click Start, click Run, type cmd, and click OK to open a command prompt.
- At the command prompt, type netsh and press enter, then type in wlan and press enter.
- Type in add profile filename=C:\Profilepath\”profilename.xml” interface=”W*”
- Type in quit to exit.
|