How to find your WiFi password on your Windows 10 computer

Many PC users are familiar with the situation of needing to connect a new device to their home network, but the password has been forgotten or lost. Fortunately, the operating system Windows 10 has a built-in mechanism for saving credentials, which allows you to easily restore access to wireless networkYou don't need to be a system administrator or have extensive IT knowledge to perform this procedure.

There are several proven methods for finding your security key. These range from using the system's graphical interface to the command line for more advanced users. The method you choose depends on whether you're currently connected to the network or want to recall details of previously used access points.

In this article, we'll detail all available options to help you quickly resolve your access issue. We'll cover built-in operating system tools that don't require third-party software. This ensures the security of your data and the stability of your computer.

Using Wireless Network Properties

The simplest and most obvious way for those currently connected to the desired network is to view the active connection properties. The operating system stores encryption keys in plain text (after user authorization), hiding them only behind asterisks in the standard settings window. To view them, go to the Network Control Panel.

Right-click the Wi-Fi icon in the system tray (near the clock) and select "Network and Internet settings." Next, find the "Network and Sharing Center" link or enter the phrase in Windows search. ncpa.cpl to quickly access the list of adapters. In the window that opens, find your active wireless connection.

Click on your network name to open the status window. This displays your connection speed and session duration. Click "Wireless Network Properties." In the new window, go to the "Security" tab.

This tab contains the "Network Security Key" field. By default, the characters are hidden. Simply check the "Show entered characters" box. This will turn the asterisks into readable text that can be copied or written down.

⚠️ Attention: To perform these steps, you must have administrator rights on the computer. If your account is restricted, the system will prompt you for confirmation or an administrator password when attempting to open the properties.

This method is the most secure, as it doesn't require entering any commands. However, it only works for the network the device is currently connected to. If you need to find the password for a network you've connected to in the past but are currently out of range, this method won't work.

📊 How do you usually remember passwords?
I write it down in a notebook
I store it in a password manager.
I remember everything by heart
I use one password for everything.

Password recovery via command line

For users who prefer to work with the console or cannot find the desired item in the graphical interface, the command line is an excellent solution. CMDThis tool provides direct access to network profiles stored in the system. It displays all data in text format.

To run the command prompt as an administrator, press the key combination Win + X and select the appropriate item from the menu. Alternatively, you can enter cmd in the search, right-click on the result and select "Run as administrator".

The first step is to find out the exact name of the network profile, if it differs from the SSID name. Enter the command netsh wlan show profilesThe system will display a list of all saved profiles. Find the desired network in the list.

Now we'll use the command to display the key. The syntax is as follows:

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

Instead of Network_name Enter the exact name of your Wi-Fi network that you saw in the profile list. If there are spaces in the name, be sure to enclose it in quotation marks. After entering the command, scroll down a bit to the "Security Settings" section.

The "Key Content" line will display the password you're searching for in clear text. This method is universal and works even if the network is currently unavailable, as long as the computer has successfully connected to it and saved the profile.

Viewing saved networks in the Windows registry

Registry Windows — is the operating system's centralized configuration database. It is here that many settings, including wireless connection parameters, are stored in encrypted or hashed form. Although this method is more complex, it is useful when standard interfaces don't work correctly.

To access the registry, click Win + R and enter regedit. Follow the path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesHere you will see many folders with GUID identifiers.

You will have to go through the folders and look at the parameter ProfileNameto find the desired network. However, finding the password in its pure form is difficult without additional decryption utilities, as modern versions of Windows use enhanced security algorithms.

Searching the connection history in the registry can be more useful. In the branch HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Network\ManagedNetworks You can find information about preferred networks, but security keys are not stored here in clear text for the average user.

⚠️ Caution: Making changes to the registry without understanding the consequences may lead to system instability. It is recommended to back up the registry before making any changes.
Why isn't the password visible directly in the registry?

Modern operating systems don't store passwords in plaintext in the registry for security reasons. They use hashing and system credential storage, access to which is protected by kernel permissions.

Using PowerShell for network settings

A powerful administration tool in Windows 10 is PowerShellIt offers more flexible options for working with network modules compared to the classic command line. It can be used not only to find out passwords but also to manage profiles.

Launch PowerShell as administrator. You can use standard netsh commands to list profiles, as PowerShell supports them natively. However, there are also specific cmdlets.

To display profile information, use the command:

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

Despite the shell's name, the WLAN syntax often remains consistent with netsh for backward compatibility. PowerShell's advantage lies in its automation capabilities: you can create a script that outputs passwords for all saved networks to a text file.

An example command to export all profiles to a file on the desktop:

netsh wlan export profile folder="C:\Users\YourName\Desktop" key=clear

After running this command, XML files for each saved network will appear on your desktop. If you open any of them with Notepad, you'll find the tag keyMaterial, inside which the password will be indicated in clear text.

☑️ Pre-export profile check

Completed: 0 / 4

Summary table of search methods

To help you navigate the various access recovery options, we've prepared a comparison chart. It will help you choose the best option based on your situation and level of preparation.

Method Necessary rights Works without connection Complexity
Network Properties (GUI) Administrator No (you need to be online) Low
Command Prompt (CMD) Administrator Yes (if the profile is saved) Average
PowerShell / XML Export Administrator Yes (if the profile is saved) High
Third-party utilities Administrator Yes Low

As the table shows, the graphical interface is convenient for quickly viewing the current connection, while the command line is indispensable for working with network history. Using XML export via PowerShell is the most comprehensive method for backing up all credentials at once.

Common errors and problems when searching

Even following the instructions, users may encounter difficulties. One common issue is an "Access Denied" message when attempting to launch the Command Prompt. This occurs if the user forgets to run the command as administrator.

Another common error is an incorrect profile name. In the command line, names are case-sensitive and contain spaces. If the network is called "My Home Wi-Fi," entering "my home wi-fi" will result in an error. Use quotation marks around names that contain spaces.

  • 🚫 Antivirus: Some security solutions may block access to system network settings. Try temporarily disabling the security.
  • 🚫 Group Policies: On corporate computers, access to the command prompt or registry may be blocked by the domain administrator.
  • 🚫 WLAN Service: Make sure the WLAN AutoConfig service is running. Without it, you won't be able to manage wireless networks.

If none of the methods help, the network profile may be corrupted. In this case, you can delete it with the command netsh wlan delete profile name="Name" and create a new one by entering the password manually when connecting.

FAQ: Frequently Asked Questions

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

No, this is impossible. Windows only stores passwords that have been successfully used to connect. If the computer doesn't "know" the network, it has no information about the security key. You'll need physical access to the router or another device that's already connected.

Where can I find the password on the router sticker?

The factory Wi-Fi password (if it hasn't been changed) is usually found on a sticker on the bottom or back of the router. Look for the "WPA Key," "Wireless Key," or "Password" field. This only applies to default settings.

Is it safe to use third-party password recovery programs?

Using unknown utilities carries risks. They may contain malware or transmit your data to third parties. Standard Windows tools (CMD, PowerShell, settings) are completely safe and do not require additional software.

What should I do if I forgot my administrator password?

Without administrator rights, you can't view saved passwords in Windows 10 using standard tools. This is a security measure. You'll need to log in to an account with the appropriate rights or reset the administrator password.