How to Find Your Wi-Fi Password on Windows 10: A Complete Guide

It's common to need to connect a new device or a guest to your home network, but you've forgotten your security key. Fortunately, the operating system Windows 10 It has built-in mechanisms for saving network profiles, making it easy to recover lost data without resetting the router. This is especially important when physical access to the router is limited or the sticker with the factory data has been worn off.

There are several proven ways to extract this information, ranging from the GUI settings to advanced console methods. Local Security Policy The operating system stores encryption keys in encrypted form, but with administrator rights, displaying them becomes a trivial task. Below, we'll cover all available options, from the simplest to the more technical.

It's important to understand that most of the steps described require administrator rights on the current computer. Without the appropriate privileges, the system will not allow you to view saved keys to protect your data. The encryption key is stored in the system only after the device has successfully connected to the network for the first time.

Viewing the password through the settings graphical interface

The most convenient and accessible method for most users is to use the standard network connections window. This method doesn't require complex commands and is ideal for those who prefer visual interaction with the system. However, it only works for the network the computer is currently connected to or has previously connected to.

First, you need to open the Network Connections control panel. This can be done by pressing the following key combination: Win + R and entering the command ncpa.cpl, or through the network settings menu. In the window that opens, find the active wireless connection, right-click it, and select "Status." Then click "Wireless Network Properties."

In the dialog box that opens, go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default. To see the characters, check the "Show entered characters" box. The system may ask you to confirm administrator rights via UAC (User Account Control).

⚠️ Important: If the "Security" tab is missing or the fields are grayed out, your account may not have sufficient permissions or your network profile may be corrupted. In this case, try running the properties window as an administrator.

This method is standard and does not pose any risks to the stability of the operating system. It uses standard API Windows to access the registry, so the chance of error is minimal. However, if you need to find out the password for a network you're not currently connected to, this method won't work.

📊 Which password recovery method do you prefer?
Through Windows settings
Via the command line
Through third-party programs
I'm looking at the router

Using Command Prompt to Recover Data

For more experienced users or in cases where the graphical interface does not work correctly, the optimal solution is to use the command line. Tools netsh (Network Shell) provides deep access to network configuration and allows you to manage wireless connection profiles. This method is universal and works even in Windows versions with modified settings.

The first step is to launch the command prompt with administrator rights. Find cmd Or right-click "Command Prompt" in the Start menu and select the appropriate option. To list all saved Wi-Fi profiles, enter the following command:

netsh wlan show profiles

In the system response, you will see a list of all networks this computer has ever connected to. Find the exact name of the desired network (SSID) in the "User Profiles" list. Next, to display it, including the security key, use the following construction, replacing Network_Name to the real name of your router:

netsh wlan show profile name="Network_Name" key=clear

In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This is the most secure method, as it accesses the network profile database directly, bypassing the graphical shell.

  • 🔹 Team netsh is a built-in Windows tool and does not require installation of additional software.
  • 🔹 This method allows you to find out the password even for a network to which you are currently not connected, as long as the profile is saved.
  • 🔹 The result is displayed in text format, which is convenient for copying and pasting.

☑️ Check before entering commands

Completed: 0 / 4

Analyzing saved profiles via PowerShell

An alternative to the classic command line in the environment Windows 10 A more powerful tool is PowerShell. It provides an object-oriented approach to system management and allows for both process automation and control. For many system administrators, this is the preferred method of work.

To get a list of profiles, use the cmdlet Get-NetConnectionProfile, however, to extract the passwords you will need a combination with netsh, as PowerShell itself doesn't store keys publicly for security reasons. However, you can create a script that will automatically output all passwords.

Paste the following code into a PowerShell window running as administrator. This script will loop through all saved profiles and display their names and passwords:

$profiles = netsh wlan show profiles | Select-String -Pattern"All user profiles" -Context 0,1

foreach($profile in $profiles) {

$profileName = ($profile.Line).split(":")[1].Trim

$password = netsh wlan show profile name="$profileName" key=clear | Select-String -Pattern"Key Contents"

$pass = ($password.Line).split(":")[1].Trim

Write-Host"Network: $profileName | Password: $pass"

}

Using scripts is especially useful when you need to quickly collect information from many saved access points. PowerShell processes the output of text utilities as objects, making data filtering extremely effective. However, be careful when running scripts from untrusted sources.

⚠️ Important: When working with PowerShell, ensure that the Execution Policy doesn't block script execution. If necessary, temporarily change it with the command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass.

What is Execution Policy?

Execution Policy is a PowerShell security mechanism that determines which scripts can run on a computer. By default, Windows 10 often has a restriction preventing untrusted scripts from running. Changing this policy at the process level only lasts until the terminal window is closed and does not compromise global system security.

Comparison of password recovery methods

The choice of a specific method depends on your current situation, your level of access to the system, and your personal preferences. The graphical interface is convenient for one-time actions, while the command line is indispensable for remote control or scripted automation. Understanding the differences will save you time.

The table below compares the key features of the methods discussed. Please note the access rights requirements and the ability to work with inactive profiles.

Method Complexity Admin rights required Works without connection
Network Settings (GUI) Low Yes (for viewing) No (active/last only)
Command line (netsh) Average Yes Yes (if the profile is saved)
PowerShell script High Yes Yes (mass withdrawal)
Third-party software Low Yes Yes

As the comparison shows, the command line is the most flexible tool. It allows access to data hidden in the graphical interface and does not require the installation of additional software. Netsh remains the de facto standard for network engineers.

Using third-party software

If built-in Windows tools are unavailable for some reason or seem too complicated, you can use specialized utilities. Programs like WirelessKeyView from NirSoft or WiFi Password Decoder are able to instantly extract saved keys from the registry and display them in a convenient list.

The main advantage of such programs is speed and clarity. They scan the system registry, where profile data is stored, and decrypt it on the fly. You don't need to enter commands or search for the necessary tabs deep in the settings menu. All passwords will be displayed in a single window.

However, using third-party software carries certain risks. Antivirus programs may recognize such programs as potentially unwanted programs (PUAs) because they access sensitive data. Furthermore, downloading programs from untrusted sources puts you at risk of infecting your system with malware.

  • 🔹 Utilities often have a portable version and do not require installation.
  • 🔹 Allows you to export passwords in HTML, XML, or TXT format.
  • 🔹 May not work on systems with BitLocker enabled or strict security policies.

⚠️ Please note: Operating system interfaces and security mechanisms are updated regularly. Third-party software functionality may stop working after a major Windows update, so always check the compatibility of the utility version with your OS version.

Restoring access by resetting the router

If none of the computers remember the password, and it's impossible to remember it yourself, the last option is to reset the router to factory settings. This is a radical method that will restore the device to its original settings, including the password found on the sticker on the device.

To perform a reset, locate the button on the back of the router. Reset (often recessed into the case). Press it with a thin object (like a paperclip) and hold it for about 10-15 seconds until the indicators blink simultaneously. After rebooting, the device will operate with factory settings.

After this, you will be able to connect to Wi-Fi using the password from the sticker and reconfigure your Internet connection through the web interface (usually at 192.168.0.1 or 192.168.1.1). Don't forget to set a new, complex password immediately, as factory keys are often known to attackers.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if I have never connected this computer to the network?

No, this is impossible. Windows only stores passwords for networks to which the device has successfully connected at least once. If the computer has no record of the profile, it will be impossible to extract the key programmatically.

Is it safe to save passwords in Windows?

Yes, the system encrypts stored keys and binds them to the user account. However, if an attacker has physical access to your running computer and administrator privileges, they can restore them.

Why does the netsh command give a "Network not found" error?

You most likely entered the profile name (SSID) incorrectly. The name must match exactly, including case and spaces. Use the command netsh wlan show profilesto copy the exact name.

Where are Wi-Fi passwords physically stored in Windows 10?

The data is stored in the system registry at the path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles, but in encrypted form. Directly editing the registry is not recommended; it's better to use the built-in commands.