Saturday, April 18, 2020

Windows 10: backup WiFi (wireless connection) profile

After Microsoft Windows 10 having major feature update, wireless connection will experience connectivity issue and need to reconfigure the username and password.

When there are more than one WiFi profile require reconfigure, example: office / home / mobile hotspot etc, that will take lot of times to do it.

Here are steps to see which wireless profiles stored in Windows 10. Type the following command in command prompt:

netsh wlan show profiles

example output:
command prompt wireless profile


Next steps, we going to backup all of it into a folder under local drive C:\, name "wifi"


local drive C wifi folder

To backup all profiles at once, enter the following:

netsh wlan export profile key=clear folder=C:\wifi

command backup wireless profile


Replace the folder path=C:\wifi with the path to the folder where your backup want to store. The folder should created before execute backup command.
Wireless profile will backup in XML format files, each wireless profile created one XML file:

Wireless profile XML

Note: This command will save all your wireless profiles along with stored passwords. In case you want to create a backup without passwords, just remove the "key=clear" parameter from part of the command, i.e.:

netsh wlan export profile folder=C:\wifi

To back up only a single wireless profile, use the following command:

netsh wlan export profile "wireless_profile_name" key=clear folder=c:\wifi

Remove the "key=clear" parameter if don't want to store password.

How to restore wireless profile from backup?

To restore the profile for current user only:

netsh wlan add profile filename="c:\wifi\wireless_profile_name.xml" user=current


To restore the profile for all user accounts able use it at that Windows 10 computer:

netsh wlan add profile filename="c:\wifi\wireless_profile_name.xml" user=all

contact writer: Ngai Siew Kuen
e-mail:s_k_ngai
Subject:[From Blog]Windows 10: backup WiFi (wireless connection) profile

No comments: