How to view your Wi-Fi password on a Windows laptop

It's quite common to need to connect a new device to your home wireless network but have forgotten or lost the password. Fortunately, the operating system Windows Stores data about previously connected networks in a secure registry, making it easy to retrieve the information you need. You won't need to reset your router or search for documentation from your provider if you've successfully logged into the network from this computer at least once before.

There are several proven methods for recovering forgotten access keys, from the graphical interface to console commands. The choice of a specific method depends on your OS version and your comfort level with system utilities. In this article, we'll cover the most effective options in detail.

Viewing saved password via network settings

The easiest and most secure way to find your access key is to use the operating system's built-in graphical interface. This method requires no additional software and is accessible to users of all skill levels. It's ideal for those who are wary of accidentally changing system settings.

First, you need to open the network connections menu. Press the key combination Win + R on the keyboard, in the window that appears, enter the command ncpa.cpl and press Enter. The Network Connections window will open, displaying all available adapters on your device. Find the icon Wi-Fi, which is currently active.

  • 📶 Right-click on the wireless connection icon.
  • 🔍 Select "Status" from the drop-down menu.
  • ⚙️ In the window that opens, click the "Wireless Properties" button.
  • 👁️ Go to the "Security" tab and check the box next to "Show entered characters".

After completing these steps, the password you're looking for will appear in plain text in the "Network Security Key" field. You can copy it or rewrite it. If the "Security" tab is missing or the button is grayed out, your account may not have sufficient administrator rights to view this data.

⚠️ Attention: If you're using a corporate network or domain connection, your system administrator may have restricted access to these settings. In this case, the graphical interface won't display the key, even if you own the laptop.
📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 8.1
Windows 7
Don't know

Using Command Prompt to Recover Data

For more advanced users who value speed and accuracy, using the command line is a great option. This method not only allows you to view the password for the current network but also displays a list of all previously saved profiles. This is especially useful if you want to find the key for a network you connected to a while ago but are currently out of range.

Launch the Command Prompt as administrator. To do this, right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". First, you need 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 that have ever been connected to this device.

Find the desired network name (SSID) in the list. Then enter the command to display detailed information about a specific profile. The syntax is as follows:

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

In the displayed information, find the "Security settings" section. The "Key Content" line will contain the password you are looking for. This method works reliably on all modern versions of Windows, including Windows 10 And Windows 11.

☑️ Check before entering commands

Completed: 0 / 4
What if the network name contains spaces?

If your network name is, for example, "My Home Wi-Fi," you must enclose it in quotation marks in the command line. The command will look like this: netsh wlan show profile name="My Home Wi-Fi" key=clear . Without quotation marks, the system will return a syntax error.

Finding a password using PowerShell

An alternative to the classic command line is a more powerful tool - PowerShellIt provides advanced capabilities for managing network configurations and is often faster than the standard CMD. This method is advantageous because it allows you to display information in a more structured format if you use additional filtering options.

Open PowerShell with administrator privileges. Enter the following command to display all profiles and their keys in plain text on a single line:

(netsh wlan show profiles) | Select-String ":\s+(.*)"

However, to obtain the password for a specific network, it is better to use the standard netsh call within PowerShell, since the native Wi-Fi cmdlets in PowerShell require the connection of special modules that are not available in all Windows builds. Therefore, the command netsh wlan show profile name="Name" key=clear remains the most versatile and reliable.

It's important to understand that PowerShell is case-sensitive in variable names, although this doesn't matter with netsh commands. If you receive an "Element not found" error, check the spelling of the network name using the show profiles command without the switch.

Team Description of action Necessary rights
netsh wlan show profiles List all saved networks User
netsh wlan show profile name="Name" key=clear Show the password for a specific network Administrator
netsh wlan delete profile name="Name" Deleting a network profile Administrator
netsh wlan export profile name="Name" key=clear Export profile to XML file with password Administrator

Third-party Wi-Fi management software

If Windows' built-in tools seem too complex or inconvenient, you can use specialized software. There are many utilities that automate the process of extracting saved keys. One of the most popular and time-tested tools is WirelessKeyView from NirSoft.

This utility requires no installation (portable version) and instantly displays all passwords stored in the system. It displays the network name (SSID), encryption type, and the passkey itself in ASCII and Hex format. The program works with most wireless adapters and supports all versions of Windows from XP to current releases.

  • 📥 Download the utility from the developer's official website.
  • 🚀 Run the executable file as administrator.
  • 📋 Find the desired network in the list and copy the value from the "Key (Ascii)" column.
⚠️ Attention: Antivirus programs may detect such programs (like HackTool or PasswordRecovery) as potentially unwanted software (PUP) when they launch, as they have access to sensitive data. This is a false positive, but it's best to add the program to the exclusions list or temporarily disable its protection before using it.

Restoring access through router settings

If your laptop doesn't remember the password (for example, after a system reinstall), but you have physical access to the router and a cable connection, you can find the key in the router's settings. This method requires your computer to be connected to the router via a LAN cable or you're already connected to Wi-Fi (in which case, see the first section).

Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the username and password for accessing the control panel, are usually located on a sticker on the bottom of the device. After logging in, find the "Wireless," "Wi-Fi," or "Security" section.

Within this section, there will be a "Password," "Pre-Shared Key," or "Password" field. The key will be visible in plain text or hidden by asterisks that can be removed by clicking. Router interfaces from different manufacturers (TP-Link, Asus, Keenetic, D-Link) are different, but the logic of the settings arrangement is the same.

Router interfaces may change with firmware updates. If you can't find the item you need, check the official manual for your model on the manufacturer's website, as the location of the "Security" or "Wireless" menu may vary.

Problems and possible errors when extracting a key

The process doesn't always go smoothly. Users may encounter the error "The requested operation can only be performed on a user-configured profile." This means the network profile was created automatically by the system or by Group Policy, and you don't have permission to modify it or view the key.

There are also cases where antivirus software blocks access to system registries where passwords are stored. In this case, temporarily disabling protection or running commands in Safe Mode can help. If you're trying to view a password for a corporate network with a security certificate, standard methods may not work due to the nature of WPA2-Enterprise encryption.

Another common issue is encoding mismatch. If a password contains Cyrillic characters or special symbols, they may become corrupted when copied from the command line to the clipboard. In such cases, it's best to rewrite the password manually or use a graphical interface that handles encoding more correctly.

What to do if you forgot your Windows administrator password?

Without administrator rights, you can't view saved Wi-Fi passwords using standard tools. You'll need to log in to an account with the appropriate privileges or use third-party bootable password reset disks, which is a more complex procedure.

Is it possible to find out the Wi-Fi password on someone else's computer?

Technically, this is possible if you have physical access to the device and administrator rights. However, attempting to access someone else's networks or data without the owner's permission is illegal and unethical.

Where are Wi-Fi passwords stored in the Windows registry?

Wireless network data is stored in the registry branch HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles. However, the keys are encrypted and cannot be read in plain text from the registry without the use of special decoders.

Will my Wi-Fi password reset after a Windows update?

Network profiles and passwords are typically preserved after a system update. However, if you perform a major update (such as upgrading from one version of Windows to another) or reset the system to factory settings, all saved network data will be deleted.