Reinstalling Windows is a procedure that every user faces sooner or later. But few people realize that when you reinstall Windows, all saved Wi-Fi networks, their passwords, and connection priorities are erased. Imagine: after the installation, you'll have to re-enter complex character combinations for your home router, office network, or guest access at a cafe—and you might not even remember some of those passwords.
Luckily, there are several reliable ways export Wi-Fi settings before resetting the system and restore them After. In this article, we'll cover all the current methods—from built-in Windows tools to third-party utilities—and tell you how to avoid common mistakes. We'll pay special attention to Windows 10 And Windows 11, where the process has some nuances. If you're planning to upgrade to a new OS version or just want to be on the safe side, this guide is for you.
Why do Wi-Fi settings disappear after reinstalling Windows?
All data about wireless networks in Windows is stored in connection profiles — special files that contain SSIDs (network names), passwords, encryption types, and other parameters. These profiles are located in the registry and system folders, which are completely cleared when formatting the disk or performing a clean OS installation.
Here's what exactly is lost:
- 🔑 Passwords from all saved networks (including hidden SSIDs).
- 📡 Connection priorities — the order in which Windows tries to connect to available networks.
- 🛡️ Security settings: encryption type (
WPA2-PSK,WPA3), authentication method. - 📶 Roaming parameters (if multiple access points with the same SSID were used).
Interestingly, even if you use an account Microsoft, some networks are not synced via the cloud. For example, corporate networks with certificates or networks added manually via netshTherefore, you shouldn't rely on automatic synchronization.
⚠️ Attention: If you use Windows 10 LTSC or Windows 11 in Single Language mode, built-in network export tools may not work correctly. Check your OS version in Win + R → winver.
Method 1: Export networks via the command line (netsh)
The most reliable and universal method is to use a utility netsh (Network Shell). It's built into all versions of Windows and allows you to export Wi-Fi profiles to a file that can then be imported on a new system.
Here's how to do it:
- Open command prompt as administrator:
- Click
Win + X→ selectTerminal (administrator)orCommand Prompt (Administrator). - IN Windows 11 can be used
Win + S→ enter "cmd" → select "Run as administrator".
- Click
netsh wlan export profile key=clear folder="C:\WiFi_Backup"
Where C:\WiFi_Backup — the folder where the files will be saved. You can specify any other path, for example, to a flash drive (D:\WiFi_Backup).
.xml - one for each network. Open any of them in Notepadto make sure the password (keyMaterial) is displayed in a readable form.After reinstalling Windows, import the networks back:
- Copy the backup folder to the new drive.
- Open a command prompt as administrator and run the following for each file:
netsh wlan add profile filename="C:\WiFi_Backup\Network_name.xml" user=all
Open Command Prompt as Administrator|
The backup folder exists and is writable|
The command was executed without errors (check the console output)|
The .xml files contain passwords in the section<keyMaterial> |
The backup has been copied to external media.
-->
Important: If the network name or password uses Cyrillic characters, XML files may be saved in the encoding UTF-16In this case, specify the encoding explicitly when importing: netsh wlan add profile filename="path" user=all encoding=utf-16.
Method 2: Manually export from the Windows registry
All Wi-Fi settings are duplicated in Windows registry, from where they can be extracted manually. This method is useful if netsh for some reason it doesn't work (for example, due to damaged system files).
Instructions:
- Click
Win + R, enterregeditand confirm the launch. - Follow the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\InterfacesAll Wi-Fi interfaces are stored here (one for each device).
- Expand the branch
Interfaces→ select the subfolder with the long name (this is the ID of your adapter). - Find the section inside
Profiles— all saved networks are listed here. - Right click on the section
Profiles→Export→ save the file with the extension.reg.
After reinstalling Windows:
- Install drivers for your Wi-Fi adapter (otherwise profiles will not be imported!).
- Double click on the saved one
.reg-file and confirm the merge with the registry. - Restart your PC.
⚠️ Attention: Don't edit the registry manually unless you're confident in what you're doing. Errors can render your network inoperable. It's best to use this method only for backups, and restore via netsh.
What to do if there is no Wlansvc section in the registry?
If section HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc is missing, this may mean:
1. Wi-Fi adapter drivers are missing (check in Device Manager).
2. Wi-Fi is disabled at the BIOS/UEFI level.
3. A virtual machine without Wi-Fi emulation is used.
In this case, export via registry is not possible - use netsh or third-party utilities.
Method 3: Using third-party utilities (WirelessKeyView, WiFi Password Revealer)
If you're not comfortable working with the command line or registry, you can use specialized programs. They automatically scan the system and save all network data in a convenient format.
Top 3 utilities for exporting Wi-Fi settings:
| Program | Functions | Pros | Cons |
|---|---|---|---|
| WirelessKeyView (NirSoft) | Shows all saved networks and passwords, export to .txt/.html/.csv |
Portable (no installation required), supports Windows 7–11 | Does not export network priorities |
| WiFi Password Revealer | Displays passwords in a readable form, copying to the clipboard | Simple interface, Russian localization | Does not save security settings (encryption types) |
| NetSetMan | Full management of network profiles, backup | Saves priorities, IP settings, DNS | Paid version for advanced features |
Example of working with WirelessKeyView:
- Download the program from NirSoft official website (check the file hash for viruses!).
- Launch
WirelessKeyView.exe(admin rights are not required). - Click
File → Save All Items→ select formatText File (*.txt). - Save the file to external storage.
- 🔧 Connect to any available network (e.g. Ethernet or mobile hotspot).
- 📋 Open the saved file
.txt-file and manually add networks viaSettings → Network & Internet → Wi-Fi → Manage known networks. - ✅ Passwords for networks you've connected to after signing in to your Microsoft account.
- ✅ Settings
Wi-Fi Sense(if the function is enabled). - ❌ Network added manually via
netshorregistry. - ❌ Corporate networks with certificates (
EAP-TLS,PEAP). - ❌ Hidden networks (with SSID broadcast disabled).
- ❌ Connection priorities.
After reinstalling Windows:
I use netsh|
Exporting from the registry|
I use third-party utilities|
I write down passwords manually|
I don't save it - I re-enter it
-->
Method 4: Sync via a Microsoft account (limitations)
Windows 10 and 11 offer the ability to sync some network settings across your account. MicrosoftHowever, this method does not work with all networks and has limitations.
What is synced:
What NOT synchronizes:
How to check if sync is enabled:
- Open
Settings → Accounts → Sync settings. - Make sure the switch is on
Sync optionsincluded. - Scroll down and check the item
Passwords- he must be active.
⚠️ Attention: If you are using a local account (not linked to Microsoft), network syncing won't work. You can switch to a Microsoft account in Settings → Accounts → Your data.
Method 5: Backing up the entire system (for advanced users)
If you need to save not only Wi-Fi, but also all other system settings, you can create full backup Using built-in tools or third-party software. This method is suitable for experienced users, as it requires more time and disk space.
Backup options:
- 🔄 Built-in utility
DISM:dism /online /export-driver /destination:"C:\Drivers_Backup"Saves drivers, including the Wi-Fi adapter, but not network profiles.
- 💾 Archiving a system image:
- Open
Control Panel → Backup and Restore. - Select
Creating a system image. - Specify an external drive or network storage.
- Open
Restoring from an image will return All settings, including Wi-Fi, but it's a long process.
- Macrium Reflect — creates exact copies of partitions.
- AOMEI Backupper - supports incremental backups.
Disadvantages of this method:
- Takes up a lot of space (10 GB or more).
- Restoring from a backup may conflict with new drivers.
- Not suitable if you are changing Windows version (for example, from 10 to 11).
Common mistakes and how to avoid them
Even experienced users sometimes encounter problems restoring Wi-Fi settings. Here are the most common errors and their solutions:
| Problem | Cause | Solution |
|---|---|---|
Files .xml are not imported |
The format or encoding is damaged. | Open the file in Notepad → save as UTF-8 without BOM |
Passwords in WirelessKeyView are displayed as asterisks |
You do not have administrator rights | Run the program as administrator or use netsh |
| After importing, the network connects, but without internet. | IP/DNS settings do not match | Reset the TCP/IP stack: netsh int ip reset |
| Hidden networks (SSID) are not visible | The parameter is not saved in the profile hiddenNetwork |
Add the network manually via netsh wlan add profile filename="path" user=all |
Another common problem is driver conflictIf after reinstalling Windows the Wi-Fi adapter is detected as an "Unidentified device", download the driver from the website of the laptop or adapter manufacturer (do not rely on Windows Update!).
To diagnose network problems, use the following commands:
ping 8.8.8.8ipconfig /all
netsh wlan show interfaces
FAQ: Frequently asked questions about saving Wi-Fi settings
Is it possible to save Wi-Fi settings without administrator rights?
Partially. You can view the passwords of the current network through Settings → Network & Internet → Wi-Fi → Manage known networks (click on the network → "Properties" → "Show password"). However, to fully export all profiles through netsh or the registry requires administrator rights.
Will export work if I change my Wi-Fi adapter?
Yes, but with some caveats. Network profiles are tied to the adapter ID (GUID). If you have replaced the adapter with a model from the same manufacturer (for example, Intel AX200 on Intel AX210), the profiles are most likely imported. If the adapter is from a different vendor (for example, with Broadcom on Qualcomm), you may need to add networks manually.
How do I save Wi-Fi settings on a laptop with two adapters (built-in and USB)?
Each adapter has its own profiles. When exporting via netsh networks will be saved everyone adapters. However, when importing, profiles will be assigned to the adapter that is active at the time of import. To avoid confusion, disable unnecessary adapters before importing (via device Manager).
Is it possible to transfer Wi-Fi settings from Windows 10 to Windows 11?
Yes, but there are some nuances:
- Profiles exported via
netshV Windows 10, are successfully imported into Windows 11. - If you use Windows 11 in S mode, import through
netshmay be blocked (you need to disable S-mode). - Some security settings (eg.
WPA3) may require driver updates.
What should I do if after importing the networks connect, but the internet doesn't work?
The problem is usually related to IP or DNS settings. Try:
- Reset TCP/IP stack:
netsh int ip reset. - Renew IP address:
ipconfig /release→ipconfig /renew. - Specify DNS manually (for example,
8.8.8.8And8.8.4.4for Google DNS). - Disable proxy in
Settings → Network & Internet → Proxy.
If this doesn't help, delete the problematic network and add it again.