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

Many users are familiar with the situation of needing to connect a new device to the network, but have completely forgotten the Wi-Fi password. Fortunately, the operating system Windows 10 Stores the security keys of all networks you've ever connected to. This is designed for the convenience of automatic connections, but also makes it easy to recover forgotten access data.

Data recovery is possible even without administrator rights if you're already connected to the router or have connected to it before. There are several built-in methods for doing this, ranging from the graphical interface to console commands. It is important to understand, that these methods only work for networks that the system already knows and has saved in its profile.

Below, we'll detail all available options, from simple mouse clicks to advanced scripts. You'll be able to choose the most convenient method for your situation and quickly restore internet access to your devices.

Viewing a password through the Windows graphical interface

The easiest and most obvious way to find out security key — Use the standard network settings windows. This method is ideal for those who don't want to mess with code and prefer visual control. However, it only works if your computer is currently connected to the desired Wi-Fi network.

First, you need to open the network settings. Press the key combination Win + R, enter the command ncpa.cpl and press Enter. The Network Connections window will open. Find the icon Wireless network, right-click on it and select “Status”.

In the window that opens, click "Wireless Network Properties." Switch to the "Security" tab. This is where the field you're looking for is located. To view hidden text, check the box next to "Show entered characters." The system may ask you to confirm administrator rights.

⚠️ Note: If you don't have administrator rights on this computer, the system won't allow you to unmask your password. In this case, you'll need to use command line methods if your account has the appropriate privileges.

This method is good for its clarity, but it has a limitation: it only reveals the password for the active network. If you need to find out the password for a nearby cafe you connected to a month ago, this method won't work. More powerful tools exist for such cases.

Using Command Prompt (CMD) to recover

The Windows Command Prompt is a powerful tool that gives you access to hidden system functions. Using this utility netsh You can manage network settings, including viewing saved Wi-Fi profiles. This method is universal and allows you to see passwords for all networks ever entered on this PC.

First, you need to run the command prompt as administrator. Click Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". The first step is to get a list of all saved profiles. Enter the following command:

netsh wlan show profiles

Find the name of the network you need in the list. Make sure the name is spelled exactly, including spaces and special characters. Then use the command to display profile details, adding the key. key=clear, which tells the system to show the key in clear text.

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. If the text is blank or says "Not applicable," the network is using a different security type or the profile is corrupted.

☑️ Check before entering commands

Completed: 0 / 4

Working with PowerShell for Advanced Users

For those who prefer more modern controls, PowerShell offers similar functionality, but with the option to automate it. This method is especially convenient if you need to not only view but also copy a password or perform an action based on the result.

The PowerShell interface is more flexible in text processing. The command to display a profile is almost identical to the CMD command, but the results can be filtered. Enter the command to retrieve the profile name to verify that it exists in the database:

netsh wlan show profile name="NetworkName" key=clear | Select-String "Content"

Using the pipeline | and filter Select-String Allows you to display only the password string, ignoring unnecessary technical information. This is useful if you're creating a script or simply want to quickly find the desired line in a long list.

You can also use cmdlets in PowerShell. Get-NetConnectionProfile, but it mainly shows the connection status, not passwords. For extracting security keys, calling netsh inside the PowerShell shell.

What to do if the profile is not found?

If the system reports that the profile was not found, check the network name. It must match, down to the case. If the network was previously removed from the list of known ones, you won't be able to recover the password using standard tools—the only way is to reset the router.

Password retrieval methods comparison table

To help you choose the right method, we've organized the available recovery methods. Each has its own advantages depending on your current situation and level of access to the system.

Method Necessary rights Works without connection Complexity
Graphical interface User / Admin No (active network only) Low
Command Prompt (CMD) Administrator Yes (any saved profile) Average
PowerShell Administrator Yes (any saved profile) High
Third-party software Administrator Yes Low

As the table shows, the command line is the most versatile tool. It doesn't require any additional software and works on any version. Windows 10, starting from early builds.

Possible errors and solutions

When attempting to retrieve a password, users often encounter system errors. The most common are "Access Denied" or "Not Found." This may be due to group security policies or corrupted system files.

If the team netsh not running, check the service WLAN AutoConfig. It should be running. Open the Services Manager (command services.msc), find the service and make sure its status is "Running." If it's stopped, start it manually.

  • 🛑 "Parameter is specified incorrectly" error: You most likely misspelled the profile name. Use quotation marks if the name contains spaces.
  • 🛑 "Insufficient rights" error: Run the console strictly as an administrator; standard user rights do not allow reading security keys.
  • 🛑 The profile is not displayed in the list: This means that the computer has never successfully connected to this network, or the profile was deleted by Disk Cleanup.

In rare cases, antivirus software may block attempts to programmatically read saved passwords, interpreting this as malware. Try temporarily disabling protection or adding an exception for system utilities.

📊 Which method did you have difficulty with?
The GUI does not show the password.
CMD reports an access error.
PowerShell doesn't understand commands
I can't find the network name.

Third-party utilities and data security

There are many programs such as WirelessKeyView or NirSoft, which do the same thing as the command line, but in a more convenient graphical form. They instantly display all saved keys. However, using third-party software always carries risks.

When downloading such utilities, you should be sure of the source. Trojans and stealers that steal passwords are often distributed under the guise of "password recovery" tools. Using built-in Windows tools (CMD and PowerShell) is the only guaranteed safe method.

If you still decide to use third-party software, be sure to check the files through VirusTotal Before launching. Remember that such programs will still require administrator rights to run, as this is a requirement of the operating system itself.

⚠️ Note: Windows settings interfaces and command versions may differ slightly depending on the OS build (Home, Pro, Enterprise) and installed security updates.

Frequently Asked Questions (FAQ)

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

No, this is impossible. Windows only stores passwords that have been successfully entered and used to connect. If the device doesn't know the network, it has no information about the security key.

Why is there an empty field instead of a password in the command line?

This can happen if you didn't run the console as administrator, or if the network profile is corrupted. Also, check that the profile name is correctly specified in quotation marks.

Is it possible to recover the guest network password?

Guest networks often use a web-based authentication mechanism (Captive Portal) and may not store the password in the standard Windows profile like regular WPA2 networks. In this case, you'll need to ask the network administrator for the password.

Is it safe to save passwords in Windows?

Yes, the system encrypts them. However, if an attacker with administrator rights gains access to your computer, they can easily extract them using the methods described in this article. Protect your system login with a strong password.