Gizmo's Freeware
Published on Gizmo's Freeware (https://www.techsupportalert.com)

Home > Easy Way to Set Up a New Wireless Network Connection in Windows

Easy Way to Set Up a New Wireless Network Connection in Windows [1]

Last updated by v.laurie [2] on 04. November 2015 - 00:03

Computer networkThe previous tip [3] described how to reveal and extract the password for an existing Windows wireless connection. This present tip goes one step further and shows an automatic method of setting up a new wireless network connection that takes setup data from a system that is already connected and imports it into a second system.

The method uses the command line and works by first exporting existing connection data to an XML file. Open a command prompt with administrator privileges and enter a command of the form:

netsh wlan export profile name={profile name} folder={path and name of folder} key=clear

Profile name is the same as the connection name referred to in the previous tip [3]. Use quotation marks around the profile name if it has spaces. Running this command creates an XML file with the name of the profile and places it in a designated folder. The folder must already exist. The XML file can also be sent to a portable location like a thumb drive or a network location (but not a UNC address). A specific example of the command might be:

netsh wlan export profile name=yourconnection folder=G:\ key=clear

This would create a file called “Wi-Fi-yourconnection.xml” on the G: drive. This file can then be imported with a second command to create a new connection in a different system. Open a command prompt as administrator in the new system. The command to create a new connection from an XML profile has the form:

netsh wlan add profile filename={path and name of XML file previously created}

A specific example of the command is:

netsh wlan add profile filename=D:\Wi-Fi-yourconnection.xml

This method should work in all current versions of Windows from Vista on up.

And there you have it – your new wireless connection all set up.

Get your own favorite tip published! Know a neat tech tip or trick? Then why not have it published here and receive full credit? Click here to tell us your tip. [4]


This tips section is maintained by Vic Laurie [5]. Vic runs several websites with Windows how-to's, guides, and tutorials, including a site for learning about Windows and the Internet [6] and another with Windows 7 tips [7].

Click here [8] for more items like this. Better still, get Tech Tips delivered via your RSS feeder [9] or alternatively, have the RSS feed sent as email [10] direct to your in-box.

Please rate this article: 

Your rating: None
4.133335
Average: 4.1 (15 votes)
toggle-button

Terms & Conditions | Privacy Policy | Contact | About


Source URL: https://www.techsupportalert.com/content/easy-way-set-new-wireless-network-connection-windows.htm

Links
[1] https://www.techsupportalert.com/content/easy-way-set-new-wireless-network-connection-windows.htm
[2] https://www.techsupportalert.com/users/maxwell
[3] http://www.techsupportalert.com/content/forgot-your-wifi-password-how-find-it-windows.htm
[4] https://www.techsupportalert.com/../../../../../../content/submit-tip.htm
[5] https://plus.google.com/100839577860498768640/about?rel=author
[6] http://vlaurie.com
[7] http://windows7tips.com/
[8] http://www.techsupportalert.com/view/tips
[9] http://feeds.feedburner.com/GizmosTechTips
[10] http://feedburner.google.com/fb/a/mailverify?uri=GizmosTechTips&loc=en_US