How to Find and Recover a Forgotten Wi-Fi Password on Windows 10: All the Working Methods

Forgot your home Wi-Fi password, and the label on your router's box has worn off? Or need to connect a new gadget but can't remember the password? Windows 10 There are several ways to recover a saved wireless network password—even if you never wrote it down. This article will help you retrieve the data from the system without resetting the router or calling your ISP.

We will look at the official methods through network settings, command line And PowerShell, as well as alternative solutions for cases where standard tools don't work. Important: all methods require administrator rights On a computer that has previously connected to the target network. If you're using someone else's PC or laptop, these methods won't work due to security restrictions.

Before you begin, make sure your computer is really saved the password for this network. If the connection was made through WPS or temporary guest access, the data may not have been saved in the system. Also, check if your network is using dynamic security keys (for example, in corporate networks with 802.1X), which are not stored locally.

1. View your password through Windows Settings (the easiest way)

If your computer automatically connects to Wi-Fi upon startup, the password is definitely stored in the system. You can retrieve it through the graphical interface. Windows 10 without any additional programs. This method works for all versions of the system, including 22H2.

Open the menu Start and go to Settings → Network & Internet → Status → Network and Sharing CenterIn the window that opens, find the section Active Networks and click on the name of your wireless network (there will be an inscription next to it Wi-Fi).

In the new window, select Wireless network properties, then go to the tab "Safety"Here you will see a field Network security key — but the symbols will be hidden by dots. To see them, check the box next to Show entered charactersDone! Now you can copy the password or write it down.

⚠️ Attention: If the button Show entered characters If the account is inactive, it means your account doesn't have administrator rights. Try logging in with a different account or using the methods in the following sections.
  • 🔹 Works without the Internet and additional programs
  • 🔹 No command line knowledge required
  • 🔹 Suitable for all versions Windows 10 (1809–22H2)
  • 🔹 You can copy the password directly from the input field
📊 How often do you forget your Wi-Fi passwords?
Often, once a month
Sometimes, once every six months
There is always a note nearby
I never forget

2. Extracting the password via the command line (CMD)

If the graphical interface is unavailable for some reason (for example, due to a crash explorer.exe), you can use command lineThis method is universal and works even in Safe Mode.

Open CMD as administrator: click Win + X and select Command Prompt (Administrator) or Windows PowerShell (Administrator)Enter the following command to see a list of all saved networks:

netsh wlan show profiles

In the results, find the name of the network you need (for example, TP-Link_1234) and run the command to extract the password:

netsh wlan show profile name="TP-Link_1234" key=clear

In the block Security Settings find the line Key content — this is your password. If you see dots or an empty field instead of symbols, then the network is using dynamic authentication (For example, WPA2-Enterprise), and the password is not stored locally.

Team Purpose
netsh wlan show profiles Shows a list of all saved Wi-Fi networks.
netsh wlan show profile name="NETWORK_NAME" key=clear Displays the password for the specified network.
netsh wlan export profile name="NETWORK_NAME" folder="C:\" Exports network settings to an XML file on disk C:\
⚠️ Attention: Teams netsh Only work for networks the computer has previously connected to. If a network has been removed from the list of saved networks, the data will have to be restored using other methods.

Make sure CMD is running as administrator.

Check that the network name is correct (case sensitive!)

Use quotes if the network name contains spaces.

Copy the password to a safe place-->

3. Export Wi-Fi passwords to a file (for backup)

If you want to save all your Wi-Fi network passwords for future use, you can export them to XML-files. This is useful before reinstalling. Windows or resetting the laptop to factory settings.

Open CMD with administrator rights and run the command to export all profiles:

netsh wlan export profile key=clear folder="C:\WiFi_Backup\"

Files with extension .xml will appear in the folder C:\WiFi_Backup\. Each file contains the network name (SSID) and the password in clear text (look for the tag <keyMaterial>). These files can be transferred to another computer and imported using the command:

netsh wlan add profile filename="C:\WiFi_Backup\FILE_NAME.xml"

Important: Store XML files in a secure location! They contain unencrypted passwords and can be used to gain unauthorized access to your network.

  • 📁 Export takes less than a minute
  • 🔄 You can import settings to another PC
  • 🔐 Passwords are stored in clear text - be careful!
  • 🖥️ Works even if the network is currently unavailable

4. Using PowerShell to extract passwords

PowerShell offers more flexible networking capabilities than CMDIt allows you to retrieve passwords for all saved networks in a convenient format.

Launch PowerShell as administrator and run the following script:

(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_=netsh wlan show profile name="$name" key=clear} | Select-String "Key contents\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); [PSCustomObject]@{PROFILE_NAME=$name;PASSWORD=$pass}} | Format-Table -AutoSize

As a result, you will get a table with all network names (PROFILE_NAME) and their passwords (PASSWORD). If you only need information about one network, use a simplified command:

(netsh wlan show profile name="NETWORK_NAME" key=clear) -match 'Key Contents'
⚠️ Note: In some localizations Windows 10 (for example, English) string Key content will be called Key Content. Adjust the command to your system language.

5. Third-party Wi-Fi password recovery programs

If standard methods don't work (for example, due to damaged system files), you can use specialized utilities. They scan the registry. Windows and retrieve the stored security keys.

The most popular programs:

  • 🔓 WirelessKeyView (from NirSoft) is a portable utility that doesn't require installation. It displays all saved networks with passwords in a table. Supports export to TXT/HTML/CSV.
  • 🔍 WiFi Password Revealer — a simple interface with the ability to copy passwords to the clipboard. Works on Windows 7–11.
  • 🛡️ Magical Jelly Bean WiFi Password Revealer - in addition to passwords, it shows the encryption type (WPA2, WEP) and the MAC address of the router.

Warning: Download programs only from official websites of developersMany "cracked" versions of password recovery utilities contain malware. Before using, check the files through VirusTotal.

Program Pros Cons
WirelessKeyView Portable, free, data export The interface is in English, no updates since 2019
WiFi Password Revealer Russian language, copy to clipboard Closed source code, ads in the installer
Dumper.exe (included in LaZagne) Works without installation, open source Difficult for beginners, requires Python
What should I do if the program doesn't show the password?

If the utility displays an empty field instead of a password, this may mean:

1. The network uses WPA3-Enterprise or 802.1X (password is not stored locally).

2. The network profile is corrupted (try deleting and connecting again).

3. The program does not have administrator rights (run it as admin).

4. Data is encrypted at the system level (found in corporate PCs with BitLocker).

6. Password recovery via the Windows registry

All Wi-Fi network settings, including passwords, are stored in the registry. WindowsThey can be extracted manually, but this method requires caution—incorrect changes to the registry can lead to system failures.

Open the Registry Editor by clicking Win + R and entering regedit. Follow the path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\

Here you will see several folders with long names (these are the network adapter IDs). Go into each one and find the section ProfilesInside there will be folders with the names of networks (SSID). Open the desired one and find the parameter Profile - its meaning in hexadecimal format contains an encrypted password.

To decrypt the data, copy the parameter value Profile to a file with the extension .xml and open it with any text editor. Look for the tag <keyMaterial> — there will be a password inside. This method is more complicated than the previous ones, but it can help if other methods fail.

⚠️ Warning: Editing the registry may damage your system. Create a restore point before making changes: Start → Control Panel → Recovery → Configure System Restore.

7. What to do if none of the methods worked?

If you've tried all the methods and still can't recover your password, there are some drastic measures left:

  • 🔄 Resetting the router. Click the button Reset on the back of the router (hold for 10-15 seconds). After this, the network will use the factory password (indicated on the device's sticker). Minus: all router settings will be reset, including PPPoE, MAC filtering And port forwarding.
  • 📞 Contact your providerIf you rented your router from an internet service provider, call support—they can reset your password remotely or provide you with the current one.
  • 🔧 Connect via cableIf you have access to the router through Ethernet, log in to the web interface (usually at 192.168.0.1 or 192.168.1.1) and look at the password in the section Wireless → Security.

Last chance: If you have another device (such as a smartphone) that has connected to this network, try extracting the password from it. Android for this you need root rights, and on iPhone This is impossible without jailbreak.

FAQ: Frequently Asked Questions about Wi-Fi Password Recovery

Is it possible to recover a Wi-Fi password if the computer has not connected to the network?

No. Windows 10 Stores passwords only for networks to which this computer has connected at least once. If the network isn't saved in profiles, retrieving the password using standard methods is impossible. In this case, the only options are to reset the router or contact your ISP.

Why the team netsh doesn't show the password for my network?

This can happen for several reasons:

  • The network uses WPA3-Enterprise or 802.1X (password is not stored locally).
  • The network profile is corrupted (try deleting the network in Parameters and reconnect).
  • Your account does not have administrator rights.
  • The network name contains special characters (use quotes: name="My@Wi-Fi").
Is it safe to use programs like WirelessKeyView?

Yes, if you download them from official website of the developer (NirSoft For WirelessKeyView). These utilities do not contain viruses, but:

  • Some antivirus programs may block them as "potentially dangerous" (due to access to passwords).
  • Don't download programs from torrents or third-party sites—they often replace the original files.
  • After use, please uninstall the utility to avoid data leakage.
How to protect your Wi-Fi from hacking after recovering your password?

If you've recovered your password and are concerned that someone else may have connected to your network, follow these steps:

  1. Change your password to a more complex one (at least 12 characters, with numbers and special characters).
  2. Enable it in your router settings. WPA3 instead of WPA2 (if supported).
  3. Turn it off WPS - This protocol is vulnerable to brute force attacks.
  4. Turn on MAC filtering (allow connection only to your devices).
  5. Update your router firmware to the latest version.
Is it possible to recover a Wi-Fi password on Windows 11?

Yes, all the methods described work in Windows 11The network settings interface has changed slightly, but:

  • Teams netsh And PowerShell remained the same.
  • The path to the Wi-Fi profiles in the registry has not changed.
  • IN Parameters The password section is now located in Network & Internet → Wi-Fi → Manage known networks.

For Windows 11 The same third-party utilities are also available (WirelessKeyView, WiFi Password Revealer).