How to find your Wi-Fi password on Windows 10: where it's stored and how to view it

Forgot your home Wi-Fi password and your router doesn't have a sticker with the factory settings? Or do you need to connect a new device but can't be bothered to find the paper with the access code? Windows 10 All connected networks and their passwords are stored in the system—all you need to do is find them. We'll explain where exactly this data is stored and how to retrieve it without installing additional software.

It's important to understand that the methods differ depending on whether you're connected to the internet. Now or want to know the password for a previously saved access point. Some methods require administrator rights, while others even work on guest accounts. We'll cover all the options, from the simplest to advanced tricks for experienced users.

Why does Windows 10 save Wi-Fi passwords and where does the system look for them?

When you first connect to a wireless network, Windows 10 automatically saves its settings - including the password - in a special storage WLAN AutoConfigThis is done for convenience: the next time you connect to the same network, the system won't ask for the access code again. The data is stored in encrypted form, but it can be retrieved using standard tools.

Where exactly does the system look for passwords?

  • 📁 Windows Registry — in the branch HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WlanSvc\Interfaces Network identifiers are stored, but passwords are encrypted there.
  • 📂 Configuration files — in the folder C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces There are XML files with settings, but the passwords in them are also not in clear text.
  • 🔑 Credential Manager — Some network data is stored here, but Wi-Fi passwords rarely appear here.

Luckily, there are simple ways to get the password without manually digging through system files. Below are step-by-step instructions for each method.

📊 How often do you forget your Wi-Fi password?
Once a month
Only after moving
I never forget
I don't have it (I use mobile internet)

Method 1: Via Windows Settings (the easiest)

If your computer currently connected This method will take less than a minute to connect to the network whose password you're looking for. Suitable for Windows 10 all builds, including the latest updates.

  1. Open the menu Start and select Parameters (gear icon).
  2. Go to the section Network and InternetWi-Fi.
  3. Click on the link Managing known networks.
  4. Find the required network in the list and click on it.
  5. Select Properties, then scroll down to the field Network password.
  6. Check the box Show entered characters — the password will become visible.

Limitation: This method will show the password only for current active networkIf you are disconnected from Wi-Fi, the password field will be empty.

Is the computer connected to the correct Wi-Fi network?

Do you need administrator rights (for some methods)

Does the antivirus block access to network settings?

Have your router settings been changed since the last connection?

Method 2: Command Line (Universal Method)

Command line (CMD) allows you to find out the password any saved network, even if you're not connected right now. This method works on all versions. Windows 10 and does not require installation of additional software.

Open Command Prompt as Administrator:

  1. Click Win + X and select Command Prompt (Administrator) or Windows PowerShell (Administrator).
  2. Enter the command to view all saved networks:
    netsh wlan show profiles

    Remember the exact name of the network you need (case is important!).

  3. Enter the command to display the password (replace NETWORK_NAME to the real name):
    netsh wlan show profile name="NETWORK_NAME" key=clear
  4. Find the line Key content - this is the password.

Note: If the network name contains spaces or Cyrillic characters, please enclose it in quotation marks: name="My Network".

TeamWhat does it do?
netsh wlan show profilesShows a list of all saved Wi-Fi networks.
netsh wlan show profile name="..." key=clearDisplays network details including password
netsh wlan export profile name="..." folder="C:\"Saves network settings to an XML file on drive C:

1) Is it running as administrator?

2) Is the network name spelled correctly (case sensitive)?

3) Is the service disabled? WLAN AutoConfig (check in services.msc)-->

Method 3: Via PowerShell (CMD alternative)

PowerShell — a more powerful tool than the standard command line. It not only allows you to view passwords but also export all network profiles to a file for backup.

Instructions:

  1. Open PowerShell as administrator (via Win + X).
  2. Enter the command to view all saved networks:
    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
  3. Done! The table will display the network names (PROFILE_NAME) and their passwords (PASSWORD).

This command automatically extracts passwords all saved networks and displays them in a convenient format. If you only need information on one network, use the simplified version:

(netsh wlan show profile name="NETWORK_NAME" key=clear) | Select-String "Key Contents"
How to save all Wi-Fi passwords to a file?

To export all saved networks with passwords to a text file, run the following in PowerShell:

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

The files will be saved in the folder C:\WiFi_Backup\ in XML format. Open any file with Notepad—the password will be in the tag. <keyMaterial>.

Method 4: View the password in the wireless network properties

This method works through the classical Control Panel and is suitable for users who prefer a graphical interface to commands. It will only show the password for current active network.

Step-by-step instructions:

  1. Click Win + R, enter ncpa.cpl and press Enter (a list of network connections will open).
  2. Find the adapter Wireless network (Wi-Fi), right-click on it and select State.
  3. In the window that opens, click the button Wireless network properties.
  4. Go to the tab Security.
  5. Check the box Show entered characters — the password will become visible in the field Network security key.

⚠️ Attention: If the password field is empty or filled with asterisks, but checking the box doesn't help, the network uses enterprise authentication (for example, in offices or universities). In this case, the password is stored on the radius server and cannot be retrieved locally.

Method 5: Third-party password viewer programs

If standard methods don't work or you need to manage a large number of networks, you can use specialized utilities. They are useful for:

  • 🔍 View passwords for all saved networks in one window.
  • 📤 Export a list of networks to a file (for example, for backup).
  • 🔄 Removing unnecessary network profiles.
  • 🛡️ Security analysis of saved passwords (some programs check their strength).

Popular utilities:

ProgramFunctionsLink (official)
WirelessKeyView (NirSoft)Shows all saved passwords, export to TXT/HTMLnirsoft.net
WiFi Password RevealerSimple interface, copying password to clipboardmagicaljellybean.com
NetPassShows passwords and connection historynirsoft.net

⚠️ Attention: Download programs only from the developers' official websites! Many "cracked" versions of password viewing utilities contain malicious code. Before installing, check the file for VirusTotal.

What to do if the password is not displayed or the methods do not work

Sometimes, even after following all the instructions, the password remains hidden. Let's look at some common causes and solutions:

  • 🔌 The computer is not connected to the network: Most methods only show the password for the active connection. Solution: Connect to Wi-Fi or use the command line to view saved profiles.
  • 🛡️ Network with enterprise authentication: In corporate networks, the password is stored on the server, not on the device. Solution: Contact your network administrator.
  • 🔑 The password has been changed on the router: If the password was changed in the router settings after the last connection, Windows will display the old version. Solution: Reconnect using the new password.
  • 🚫 No administrator rights: Some commands require elevated privileges. Solution: Run Command Prompt/PowerShell as administrator.
  • 📡 The Wi-Fi adapter driver is faulty: If the adapter isn't working correctly, the system may not display network settings. Solution: Update the driver in Device Manager.

If none of the methods worked, there are two options left:

  1. Reset the router to factory settings (using the button) Reset on the back panel) - the password will return to the standard one (indicated on the sticker).
  2. Connect to the router via cable and go to its web interface (usually at the address 192.168.1.1 or 192.168.0.1) to view or change your password.
How to find out the IP address of a router?

If you don't know the address to access your router settings, open a command prompt and enter:

ipconfig

Look for the line Main gateway - this is the IP of your router (for example, 192.168.1.1).

Security: Who Else Can See Your Wi-Fi Passwords?

Knowing where your Wi-Fi passwords are stored is useful not only for you but also for potential attackers. Let's look at the main risks:

  • 🖥️ Local access to the computer: Anyone with physical access to your PC with administrator rights can extract passwords using the same methods described above. Solution: Use your Windows login password and encrypt the drive (BitLocker).
  • 🦠 Malware: Some viruses scan the system for saved passwords and send them to attackers. Solution: Install an antivirus and scan the system regularly.
  • 📦 Backups: If you saved your Wi-Fi settings to a file (for example, via netsh wlan export), make sure the file doesn't fall into the wrong hands. Solution: Store such files in encrypted archives.
  • 🌐 Router vulnerabilities: If your Wi-Fi password is weak, it can be cracked even without access to your computer. Solution: Use passwords at least 12 characters long, including letters, numbers, and special characters.

⚠️ Attention: If you've connected to public networks (in cafes, airports, hotels), their passwords are also saved in the system. Delete unnecessary profiles through Managing known networksto avoid automatic connection to potentially dangerous access points.

To delete a saved network:

  1. Open ParametersNetwork and InternetWi-FiManaging known networks.
  2. Select the unwanted network and click Forget.

FAQ: Answers to frequently asked questions

Is it possible to find out the password for a Wi-Fi network I've never connected to?

No. Windows 10 Saves passwords only for networks you've connected to at least once. If the network isn't on the list, netsh wlan show profiles, it is impossible to extract its password using standard tools. The exception is if the password is stored in a text file on your computer or you use a password manager (for example, KeePass).

Why are blank characters displayed instead of a password in the command line?

This happens in three cases:

  1. The network uses open access (without password).
  2. The password is stored in in encrypted form (for example, in corporate networks with 802.1X).
  3. Network profile damaged (try deleting it and connecting again).
How to view a Wi-Fi password on Windows 10 without administrator rights?

Without administrator rights you can:

  • Use Windows Settings to view the password current network (if you are connected to it).
  • Try utilities like WirelessKeyView - Some of them work without admin rights, but they do not show all networks.

To have full access to all saved passwords, administrator rights are required.

Is it possible to recover the password if it was changed on the router?

No. Windows 10 Stores only the password version that was valid at the time of your last connection. If the password was changed in the router settings, the system does not update it automatically. To view the new password:

  1. Reconnect to the network (enter the new password manually).
  2. Or go to the router's web interface and see the current password there.
How to protect your Wi-Fi passwords from being stolen?

Follow these guidelines:

  • Use complex passwords (at least 12 characters, with letters of different registers, numbers and signs).
  • Turn it off WPS on the router - this protocol is vulnerable to hacking.
  • Update your router firmware regularly.
  • Do not save passwords for public networks (cafes, airports) on your computer.
  • Encrypt your disk using BitLocker or VeraCrypt.