How to view your Wi-Fi password on a Windows 10/11 computer

Many users are familiar with the situation of needing to connect a new device to their home wireless network, but the password is forgotten or written down in an inaccessible place. Fortunately, the operating system Windows Stores data about previously used connections, allowing you to recover forgotten security keys without having to completely reset your router.

In this article, we will discuss in detail several methods that allow you to find out the saved Wi-Fi passwordWe'll cover both standard graphical interfaces and more advanced tools, such as the command line, which may be needed in complex situations.

Restoring network access is a process that requires attention to detail, but it's quite manageable even for an inexperienced user. The key is to follow the steps precisely and pay attention to any system messages that appear.

Using the Windows Settings GUI

The easiest and most secure way to find the access key is to use the standard operating system settings menu. This method doesn't require complex commands and is accessible to users of any skill level. First, ensure that your computer or laptop is currently connected to the target wireless network or has at least previously connected to it.

Open the Start menu and select Settings (gear icon), or simply press the key combination Win + IIn the window that opens, go to the "Network and Internet" section. This displays the current connection status, including the network name and security properties.

In Windows 10 and earlier, you need to find the "Network and Sharing Center" link or click "Change adapter settings." In Windows 11, the interface has been updated, and the necessary options are often hidden in the "Advanced network settings" submenu.

⚠️ Note: If you are trying to view the password for a guest network or corporate Wi-Fi with authorization through a browser, you will not be able to do this using standard Windows tools, since the encryption key is not saved locally.

Once you've opened the wireless connection status window, click "Wireless Network Properties." In the dialog box that opens, go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by symbols by default.

Check the box next to "Show entered characters." The system may require administrator privileges to perform this action. If you have the appropriate privileges, the password will become visible in the text field.

This method is the most stable, but it only works for the network the device is currently connected to or has previously connected to. For other networks, you'll need to use alternative methods.

Viewing a password via the command line (CMD)

For users who prefer faster access to system settings, or in cases where the graphical interface is not working correctly, the command line is ideal. The utility netsh Allows you to manage network configurations directly, bypassing complex settings menus.

To launch the command prompt with administrator privileges, right-click the Start menu and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)." In the black window that opens, enter the following command to display a list of all saved Wi-Fi profiles:

netsh wlan show profiles

The system will return a list of all networks the computer has ever connected to. Find the desired network name (profile) in the list. Then, use the following command, substituting the name of your profile:

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 in cleartext.

Using the command line provides more detailed information about the encryption type (WPA2, WPA3) and authentication mode, which can be useful when diagnosing connection problems with new devices that cannot see the network.

What to do if the command returns an error?

If the system displays "Group Policy does not allow the user...," it means access to Wi-Fi settings is blocked by the system administrator or antivirus software. This is rare in home networks, but common in corporate environments.

Using PowerShell to retrieve data

Modern shell PowerShell offers more flexible options for working with network interfaces compared to the classic CMD. Although the syntax may seem more complex, the results are often more structured.

Run PowerShell as administrator. You can use the same command to list profiles. netsh, since it is built into the system, or you can use native PowerShell cmdlets, although for Wi-Fi they are less informative without additional modules.

However, the most efficient way in PowerShell is to run a command to output a specific profile with a switch. The syntax is almost identical to CMD, but text processing is faster:

(netsh wlan show profile name="ProfileName" key=clear) | Select-String"Key Content"

This command will immediately filter the output and show only the line containing the password, which is convenient if you need to quickly copy data. This is especially useful when working with long and complex passwords, where it's easy to make mistakes when entering them manually.

PowerShell also allows you to export the network configuration to an XML file, where the password can be stored encrypted, but for the average user, this method is overkill. Direct console output remains the most practical solution.

⚠️ Note: Command line interfaces are case-sensitive in profile names. If the network is named "HomeWiFi," entering "homewifi" may result in a profile search error.

Using scripting capabilities allows you to automate the process if you need to recover passwords for dozens of networks at once, although this is rarely necessary in everyday situations.

Checking via the router's web interface

If your computer doesn't remember the password (for example, after a system reinstallation), but you have physical access to the router, you can view the key in the router's settings. To do this, you'll need to connect your computer to the router via LAN cable or via Wi-Fi (if it still works on another device).

Open your browser and enter your router's IP address into the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password for accessing the control panel, are usually indicated on a sticker on the bottom of the device.

After logging in, find the section related to your wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." The "Security" subsection will list the encryption method and the password (PSK Key).

Web interfaces from different manufacturers (TP-Link, Asus, D-Link, Keenetic) look different, but the logic behind the settings layout is the same. The password is often hidden behind dots, but there's a "Show" or "Eye" button next to it.

📊 What router do you use at home?
TP-Link
Asus
D-Link
Keenetic
Another

The advantage of this method is that you can see the current password set on the router, even if it was recently changed and the computer hasn't reconnected yet. You can also immediately change the password to a more complex one if you suspect unauthorized access.

Comparison of access recovery methods

The method you choose depends on your current situation: whether you're currently connected to the network, whether you have administrator rights, and which version of Windows you're using. Below is a table comparing the main methods.

Method Necessary rights Complexity Speed
Windows settings User Low Average
Command line Administrator Average High
PowerShell Administrator High High
Router interface Router admin Average Low

The Windows settings method is the most user-friendly for beginners, as it doesn't require memorizing commands. However, it may not be available if the system is in tablet mode or the interface is simplified.

Command Prompt and PowerShell require administrator privileges, but they provide guaranteed results and work even in safe mode. This makes them indispensable tools for system administrators.

The router's web interface is a universal method, but it requires knowledge of the gateway's IP address and the password for the router's control panel, which is often forgotten immediately after installing the equipment.

Possible problems and their solutions

When attempting to enter a password, users may encounter errors. The problem often stems from a lack of administrator rights. Without them, the system will not allow the contents of the security field to be revealed or the command to be executed. key=clear.

Another common issue is a corrupted network profile. If Windows reports that the network is not found, try connecting to it first (by entering the password from another device, such as a phone via a QR code), and then delete the saved data.

Corporate networks may have Group Policy (GPO) settings that prohibit password viewing. In this case, bypassing this restriction using standard tools will not be possible, and you will need to contact your network administrator.

☑️ What should I do if my password is not visible?

Completed: 0 / 4

It's also worth considering that some antivirus programs have a Wi-Fi protection module that can block attempts to access network keys by third-party utilities or scripts.

⚠️ Note: If you're using public Wi-Fi (at a cafe or airport), you won't be able to view the password through Windows settings, as the connection is established through a web-based authorization portal, not a static WPA2 key.

If all else fails, the last option is to reset the router using the Reset button. This will restore factory settings, including the default password found on the sticker, but will require you to reconfigure your internet connection.

Frequently Asked Questions (FAQ)

Is it possible to view the Wi-Fi password on the Windows lock screen?

No, you must log in with administrator privileges to access network settings or the command prompt. This is a security measure to prevent data theft by unauthorized individuals.

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

Passwords are stored in the registry in encrypted form at the path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesIt is impossible to read them directly without special decryption utilities.

Will this method work for guest access?

For guest networks with web page authentication (Captive Portal), the password is not saved in Windows, as the HTTP redirection mechanism is used. Methods with netsh They will show the profile, but the security key will not be there.

How do I copy a password from the command line if I can't select the text?

Right-click the Command Prompt window title bar, select "Properties," and ensure "Mouse selection" is checked. Then, highlight the text and press Enter to copy it, or simply right-click inside the window (in newer versions of Windows).

Is it safe to use third-party password viewers?

Using third-party software (such as WirelessKeyView) carries risks. Such programs require deep system privileges and may be blocked by antivirus software as potentially unwanted software. Standard Windows tools are safer.