Backup and restore Wireless network profiles in Windows 10

In Windows 10, it is possible to create a backup of your wireless network configuration. This will include authorized SSIDs, saved passwords and other information related to wireless network profiles stored on your PC such as the authentication used. All this information will be stored in a file, so you will be able to restore your wireless connection configuration quickly from that file after you reinstall Windows 10.

Create a backup of wireless profiles in Windows 10

To backup of your wireless network configuration in Windows 10, you need to do the following:

  1. Open an elevated command prompt. Windows 10 open command prompt
  2. First, it is a good idea to see which wireless profiles you have stored in Windows 10. Type the following command:
    netsh wlan show profiles

    In my case, there is only one wireless profile named "SSID01": Windows 10 wireless profiles stored on PC

  3. To backup all profiles at once, enter the following:
    netsh wlan export profile key=clear folder=C:\wifi

    Replace the folder path=C:\wifi with the path to the folder where you want to store the backup. The folder should exist.
    It will create XML files, one per wireless profile: Windows 10 wireless profiles exported

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

    netsh wlan export profile folder=C:\wifi
  4. To back up only a single wireless profile, type the following command:
    netsh wlan export profile "type_profile_name_here" key=clear folder=c:\wifi

    Again, you can omit the "key=clear" parameter to store the profile without the password.

Restore a wireless profile from a backup in Windows 10

To restore a wireless profile in Windows 10, you need to use one of the following commands:

  • To restore the profile and make it available only for the current user:
    netsh wlan add profile filename="c:\wifi\profilename.xml" user=current

    Replace "c:\wifi\profilename.xml" with the actual path to the desired backup file from which you want to restore.

  • To restore the profile and make it available for all user accounts on the Windows PC:
    netsh wlan add profile filename="c:\wifi\profilename.xml" user=all

Windows 10 wireless profiles restored That's it. As you can see, the netsh wlan command makes it very easy to manage your wireless networks. It contains functionality that is missing in the GUI. Using it, you can easily backup and restore wireless profiles in Windows 10.

10 thoughts on “Backup and restore Wireless network profiles in Windows 10

  1. utr1961

    Thanks!

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Reply
  2. ExaFlop

    Is there any way to export wireless profiles from offline windows installation?

    Reply
  3. Richard Hayes

    How do you import profiles en masse, so if you have a directory with profiles exported from your window 7 computer and want to import them all into windows 10

    Reply
    1. Sergey Tkachenko Post author

      Execute in the folder with your profiles:
      forfiles /S /C “netsh wlan add profile filename=@path user=current”

      Reply
      1. Alt Command

        This command worked better for me:
        FORFILES /M *.xml /C “cmd /c netsh wlan add profile @path”

        Reply
  4. ExaFlop

    Is there any way to export wlan profile from offline windows?

    Reply
  5. Thor Johnson

    Thanks. This is super helpful and clear. Much appreciated.

    Reply
  6. nuh

    Thank you. I am sharing this post.

    Reply
    1. Sergey Tkachenko Post author

      Thanks for sharing it.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.