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

Many users are familiar with the situation of needing to connect a new device to their home network but have forgotten the access key. Fortunately, the operating system Windows 10 Stores information about previously used connections, allowing you to quickly restore lost data. You won't need to reset your router to factory settings or search for your ISP contract if you've connected to this network at least once from your current computer.

There are several proven methods for extracting a saved key, from standard graphical interfaces to advanced console commands. The choice of a specific method depends on your preferences and PC proficiency. In this article, we'll detail how to find a Wi-Fi password in Windows 10 using built-in system tools, and also explore the capabilities of third-party software for more in-depth analysis.

Before you begin, make sure your laptop or PC is within range of the network or is already connected to it. Administrator system privileges are required to perform most of the data security operations described below. If you are using a corporate device, ensure that your actions do not violate the organization's information security policy.

Using the Network Connections GUI

The easiest and most secure way to find the saved key is to use the standard wireless network properties window. This method doesn't require complex commands and is suitable for most users. You'll need to open the Network and Sharing Center, where Windows aggregates information about all active and past connections.

To start, press the key combination Win + R and enter the command ncpa.cplThe "Network Connections" window will open. Find your Wi-Fi adapter. Right-click it and select "Status." In the window that opens, click "Wireless Properties."

Go to the "Security" tab. This is where the main encryption settings and access key are located. By default, the "Show entered characters" field is hidden by asterisks. Check the box, and the system will display the password in plaintext. Please note that this action may require permissions. administrator.

It's worth noting that this method only displays the password for the network you're currently connected to. If you need to find out the password for another network your laptop has connected to in the past but isn't currently connected to, this method won't work directly. In that case, you'll have to either connect to the correct access point or use the command line.

Finding a password via the CMD command line

For more advanced users or in situations where the graphical interface isn't working correctly, the console is the ideal solution. The Windows command line provides direct access to wireless network profiles stored on the system. This allows you to retrieve the keys for all networks ever stored on the device.

First, you need to run the console as an administrator. Right-click the Start button and select Windows PowerShell (Admin) or Command Prompt (Admin). The first step is to get a list of all saved profiles. Enter the command:

netsh wlan show profiles

The system will return a list of all networks the computer has ever connected to. Find the exact name of the desired network in the list. Next, to view the password, use the command followed by the profile name. The syntax is as follows:

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

Replace Network_Name to the actual name of your Wi-Fi network. In the "Security settings" section, find the "Key Content" line. The value next to it is the password you're looking for. This method is especially useful when you need to quickly copy data without unnecessary mouse clicks.

☑️ Check before entering commands

Completed: 0 / 4

It's important to be careful when entering the network name, including capitalization and spaces. If the network name contains special characters or spaces, it must be enclosed in quotation marks, as shown in the example above. A syntax error will result in a message stating that the profile was not found.

Analyzing Saved Profiles in PowerShell

A more powerful alternative to the classic CMD is PowerShell. It allows not only password reset but also network configuration management using an object-oriented approach. For many system administrators, this is the preferred method due to its flexibility and scriptability.

Launch PowerShell with administrator privileges. To list all profiles, you can use the same command as in CMD, or use PowerShell-specific cmdlets. However, for obtaining the password, the netsh command, integrated into the shell, remains the most versatile. Enter:

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

Using the filter operator Select-String (or his alias sls) allows you to immediately output only the password string, ignoring the rest of the technical information. This is convenient if you're creating a script or simply want to quickly retrieve data without visual clutter.

Why is PowerShell better than CMD?

PowerShell processes command output as objects, not just text. This makes it easy to pass data between commands, filter it, and format it. For example, you can automatically save all passwords to a text file with a single line of code.

Please note that in some corporate environments, running PowerShell scripts may be restricted by security policies (Execution Policy). If the console returns an error upon startup, you may need to change the script execution policy or use the standard CMD.

Third-party password recovery utilities

If you don't want to mess with the code, specialized programs can help. There are numerous utilities on the market designed for auditing wireless networks and recovering lost data. They automate the process of extracting keys from the Windows system registry.

One of the most popular and time-tested programs is WirelessKeyView from NirSoft. This lightweight, no-installation utility instantly displays all saved SSIDs and their corresponding keys. It supports exporting data to text, HTML, or XML formats.

Another option is - WiFi Password DecoderThis tool offers a more modern interface and additional features, such as a QR code for quickly connecting mobile devices. However, be careful when downloading this type of software, as antivirus programs may detect it as a hacking tool.

  • 🔍 WirelessKeyView - minimalist, portable, ideal for one-time use.
  • 🛡️ WiFi Password Decoder — user-friendly interface, QR code support, but requires installation.
  • 🚀 Magical Jelly Bean WiFi Password Revealer — a simple open source utility.
📊 Which password recovery method is best for you?
Windows graphical interface
Command Prompt (CMD/PowerShell)
Third-party programs
Resetting the router

When using third-party software, always download it from the developers' official websites. Files downloaded from untrusted sources may contain viruses or Trojans that will steal your data instead of revealing your password. Antivirus software may block such programs from running, deeming them potentially unwanted.

Comparison table of recovery methods

To help you choose the right option, we've prepared a comparison chart. It will help you evaluate the pros and cons of each method depending on your situation and level of preparation.

Method Complexity Admin rights required Shows old networks
Network Properties (GUI) Low Yes No (current only)
Command Prompt (CMD) Average Yes Yes (all profiles)
PowerShell High Yes Yes (all profiles)
Third-party software Low Yes Yes (all profiles)

As the table shows, the standard interface is best for a one-time view of the password for the current network. However, if you need to restore access to multiple networks or need data to configure a new router, the command line or specialized software will be more effective.

Possible problems and their solutions

Despite the simplicity of the procedures, users may encounter various errors. Often, the problem lies in access rights or the state of Windows network services. Understanding the causes of errors will help quickly resolve them.

One of the most common errors is "The WLAN AutoConfig service is not running." Without this service, managing wireless networks in Windows 10 is impossible. To fix this, open services (command services.msc), find "WLAN AutoConfig" and click "Start." It's best to set the startup type to "Automatic."

⚠️ Attention: If you're using a laptop with a third-party antivirus or firewall installed, it may be blocking access to network settings. Temporarily disable the protection to test, but don't forget to re-enable it.

There may also be a situation where the team netsh It displays a password, but it doesn't work. This may occur if the password was changed on the router, but Windows is trying to use the old saved key. In this case, you should first "Forget" the network in the Wi-Fi settings, then reconnect using the current password.

  • 🔌 Check if the Wi-Fi module is enabled using the physical switch on the laptop case.
  • 🔄 Update your wireless adapter drivers through Device Manager.
  • 🗑️ Remove conflicting network profiles using the command netsh wlan delete profile.

In some cases, especially after major Windows 10 updates, power saving settings may disable the adapter. Open Device Manager, find your Wi-Fi adapter, open its properties, and in the "Power Management" tab, uncheck "Allow the computer to turn off this device to save power."

What to do if nothing helps?

If none of the software methods work, the system registry or user profile may be corrupted. As a last resort, creating a new Windows account or resetting network settings via Settings → Network & Internet → Network reset may help.

FAQ: Frequently Asked Questions

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

No, Windows only stores the passwords used to connect. If the computer has never connected to a given access point, the key is not stored in the system. However, if you have access to another device (for example, an Android smartphone) that is connected to the network, you can view the password there and enter it on your PC.

Where is the password physically located if it is not in Windows?

The factory default password (unless changed) is always located on a sticker on the bottom or back of the router. Look for the "WPA Key," "Wireless Key," or "Password" field. This information may also be included in your internet service provider contract.

Is it safe to save passwords in Windows?

Storing passwords in Windows is convenient, but less secure if attackers with administrator rights gain physical access to your computer. For a home network, the risks are minimal, but never agree to storing passwords on public computers.

Why doesn't the netsh command show the password (key=clear)?

You most likely ran the command prompt without administrator privileges. This can also happen if the network profile is corrupted or if you're trying to enter a password for a corporate network that uses security certificates instead of passwords.