How to view your Wi-Fi password on Windows 10

It's quite common to need to connect a new device to an existing wireless network, but the password is lost or forgotten. Fortunately, the operating system Windows 10 Automatically saves access keys for networks the laptop has previously connected to. This makes it easy to retrieve a forgotten password without having to reset the router.

There are several proven methods for solving this problem, each with its own unique features. You can use the system's graphical interface for a quick overview, or turn to more powerful tools, such as the command line, if you need to obtain data about a network to which the device is not currently connected.

In this article, we'll take a detailed look at all available access recovery methods. We'll cover both standard settings and advanced methods that will be useful even for experienced users. Just follow the instructions carefully to avoid getting lost in the menu.

Viewing the password through standard network settings

The easiest and most accessible way to find the saved key is to use the operating system's built-in graphical interface. This method is ideal if your laptop is currently connected to the desired Wi-Fi network or has been connected to one in the past. You won't need to enter complex commands; everything can be done in just a few clicks.

First, you need to open the network connection menu. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Open Network and Internet settings." In the window that opens, find the "Network and Sharing Center" link or go to "Change adapter settings."

In the Network Connections window, find your active wireless adapter. Double-click it to open the status window. In this menu, click the button Wireless network propertiesA new dialog box will open where you need to go to the "Security" tab. This is where the encryption keys.

⚠️ Important: If the "Properties" button is grayed out or the menu doesn't open, make sure your account has administrator rights. Without the appropriate privileges, the system may block access to critical security settings.

On the Security tab, you'll see the "Network Security Key" field. By default, the characters are hidden behind asterisks. To see them, check the "Show entered characters" box. This will make the hidden password visible in plain text.

Using the command line to get the key

If the graphical interface isn't working for some reason, or you need to retrieve the password for a network your laptop isn't currently connected to, the command line will come to the rescue. This method is considered more secure and provides access to all profiles stored in the system. To do this, we'll need a utility. netsh.

First, you need to launch the console with administrator rights. Press the key combination Win + X and select "Windows PowerShell (Admin)" or search for "Command Prompt" in the search box, right-click it and select "Run as administrator".

The first step is to get a list of all saved profiles. Enter the command netsh wlan show profiles and press Enter. The system will display a list of all networks for which passwords have ever been saved on this device. Find the name of the network you need (SSID) in the list.

📊 Which password recovery method do you find more convenient?
Through Windows settings
Via the command line
Through third-party programs
I always write down passwords in a notebook.

Now, knowing the exact profile name, enter the following command, replacing NAME_NETWORK to your network name: netsh wlan show profile name="NAME_NETWORK" key=clearPlease note that the network name must be enclosed in quotation marks if it contains spaces.

After running the command, the system will display detailed profile information. Find the "Security settings" section. The "Key Content" line will display the password you're looking for in clear text.

☑️ Algorithm of actions in CMD

Completed: 0 / 5

View passwords for all saved networks

Sometimes you need to download passwords for all networks your laptop has ever connected to. While it's difficult to create a convenient list using standard Windows tools, the command line allows you to create a summary table. This is useful when migrating to a new computer or backing up your settings.

To get a list of all keys in clear text, you can use the command: netsh wlan show profiles key=clearHowever, the output will be very voluminous and difficult to read. More advanced users can use PowerShell to format the output.

Run PowerShell as administrator and enter the command to filter only the required data. This will display a list of SSIDs and their corresponding keys. This approach saves time when you need to restore access to multiple devices.

⚠️ Warning: Storing a list of all your passwords in plain text on your computer reduces overall security. If an attacker gains access to your laptop, they can easily steal the keys to all your networks.

Below is a table showing a comparison of password viewing methods based on various criteria.

Criterion Via GUI (Settings) Via CMD (netsh) Third-party software
Complexity Low Average Low
Access to inactive networks No (current only) Yes (all profiles) Yes
Admin rights required Yes (to change) Necessarily Necessarily
Security High High Depends on the software

Restoring access via PowerShell

PowerShell is a more powerful alternative to the classic command line. It allows you to not only view passwords but also export profiles to XML files that can be transferred to another computer. This is especially useful for system administrators.

To view a specific profile in PowerShell, the syntax is the same as in CMD, as the command netsh is a system function. However, PowerShell allows for more flexible output handling. For example, you can copy the entire output block to the clipboard.

Run the command: netsh wlan show profile name="Network_Name" key=clear | clip. Addition | clip at the end of the command will send the entire execution result directly to the clipboard. All you have to do is open a text editor (Notepad) and paste the data (Ctrl + V).

In the text that opens, find the line "Key Contents." This method is convenient because it allows you to quickly copy a long and complex password without the risk of making mistakes when manually entering characters.

Is it possible to recover the password if the system was reinstalled?

Unfortunately, no. When you perform a clean installation of Windows, all saved profiles and passwords are deleted along with the system partition. They can only be restored if you have previously backed up your registry or profiles.

Common mistakes and how to solve them

When recovering passwords, users often encounter technical issues. The most common error is "Access Denied" or a message stating that the profile was not found. This is usually due to a lack of administrator rights or a typo in the network name.

If the command prompt says the profile is not found, check the exact network name. It must match character for character, including case and spaces. To check the list of available profiles, always use the command netsh wlan show profiles.

Another issue is the inability to check the "Display characters" box in the graphical interface. This can occur if the organization's security policy prohibits viewing keys, or if the wireless adapter driver is not working correctly. In this case, updating the drivers Wi-Fi adapter often solves the problem.

⚠️ Note: The Windows 10 Settings interface is constantly being updated. The location of some menu items may vary slightly depending on the build version (e.g., 21H2, 22H2). If you can't find the item you need, use the search in the Start menu.

It's also worth considering that some corporate networks use certificates for authentication and may not have a standard password (PSK). In such cases, restoring access by viewing the key is impossible.

Security measures for storing passwords

Once you know your password, the question arises about its security. Writing passwords down in text files on your desktop or sending them to yourself in instant messaging apps is bad practice. It's better to use specialized password managers that encrypt your data.

If you used the command line to view the key, the command history is preserved. Clear the console history by entering the command cls Or close the window so no one can see which networks you've checked. It's also worth checking to see if the password has been saved to the clipboard.

It's recommended to change your Wi-Fi router passwords periodically, especially if you have many guests or unauthorized devices connected to the network. Changing the access key will force all devices to reconnect, cutting off communication with potential intruders.

Remember, knowing how to view the password gives you an advantage in managing your home network. You'll always be able to quickly connect guests or new devices without wasting time resetting the router.

Is it possible to view a Wi-Fi password if the laptop has never connected to this network?

No, this is impossible. Windows only saves the password after the device has successfully connected to the network. If the laptop has never connected to the router, the key simply won't exist in its memory. The only option is to look up the password on another device that's already connected, or find the sticker on the router itself.

What should I do if the command line shows "Key not displayed" instead of a password?

This means you don't have sufficient privileges to perform the operation. Make sure you've launched Command Prompt or PowerShell as an administrator (right-click -> Run as administrator). Normal launch doesn't allow access to protected security keys.

Will this method work for networks with WPA3 encryption?

Yes, the browsing method is through netsh Security settings work regardless of the encryption type (WEP, WPA2, WPA3), provided the network profile is already saved in the system. The encryption type only affects the connection process, not how the key is stored in the OS.

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

Passwords are stored in a protected section of the Windows registry and in WLAN profile configuration files. They are encrypted with system keys tied to a specific user and machine. Direct reading of these files is impossible without using system APIs or administrator privileges.