How to View Your WiFi Password on Your Computer: Complete Instructions

Many users are familiar with the situation of needing to connect a new device to a wireless network but having forgotten or lost the password for their existing Wi-Fi network. Fortunately, the Windows operating system stores data about previously connected networks in encrypted form, allowing you to restore access to the security key if necessary. This is especially true when you don't have another device already connected to the router, or when the factory data sticker on the back of the router has worn off over time.

There are several proven methods for extracting this information, ranging from standard graphical settings interfaces to console commands for experienced users. The choice of a specific method depends on the operating system version, account access rights, and comfort level with technical tools. In most cases, the process takes no more than a couple of minutes and does not require the installation of third-party software.

It's important to understand that most of the steps described below require administrator privileges on your computer. Without the appropriate privileges, the Windows security system will prevent you from viewing stored encryption keys. If you're using a corporate device, access to these settings may be blocked by your system administrator due to your organization's security policy.

Viewing the password through the Windows Network and Sharing Center

The easiest and most accessible way to find the saved key is to use the standard operating system interface. This method is suitable for all current versions of Windows, including Windows 10 And Windows 11, and doesn't require knowledge of complex commands. However, it only works if your computer is currently connected to the network whose password you want to find out, or if the network is marked as "Known."

First, you need to open your network settings. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Network and Internet Settings." In the window that opens, find the "Network and Sharing Center" link or go to "Advanced network settings" to find the properties you need. In older versions of the system, the path may be slightly different, but the logic remains the same: you need to access the list of active connections.

Once you get to the network status window, click on the name of your wireless connection (usually it is Wireless network (or your router's name). A small status window will open, where you should select the "Wireless Network Properties" button. In the new dialog box, go to the "Security" tab. This is where the main encryption settings are stored.

You'll see the "Network Security Key" field, where the characters are hidden behind black dots. To see them, simply check the "Show entered characters" box. The system may prompt you to confirm administrator rights via a UAC pop-up. After confirmation, you'll see your password in plain text.

⚠️ Attention: If the Security tab is missing or the fields are grayed out, it may mean that your network profile is corrupted or your account does not have sufficient rights to view sensitive data.
📊 Which password recovery method is most convenient for you?
Through Windows settings
Via the command line
Via a router
I always write down passwords in a notebook.

Using the command line to recover the key

For users who prefer a text-based interface or don't have access to graphical settings, the command line is the ideal solution. CMD or PowerShell. This method is versatile and allows you to not only view the password for the current network but also list all profiles ever saved on this computer. This is especially useful if you need to find the key for a network you're not currently connected to.

The first step is to launch Command Prompt as administrator. Click Win + X and select "Terminal (Administrator)" or "Command Prompt (Administrator)". In the window that opens, enter the following command to display a list of all saved profiles:

netsh wlan show profiles

The system will display a list of all networks this PC has ever connected to. Find the desired name (profile) in the list. Then, use the command to display detailed information about a specific profile by adding the parameter key=clear, which forces the key to be shown in clear text:

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

In the resulting report, find the "Security Settings" section. The "Key Contents" line will contain the password you're looking for. If you enter an incorrect network name, the system will report an error, so check the syntax carefully, especially if the name contains spaces or special characters.

☑️ Check before entering commands

Completed: 0 / 4

View passwords for all saved networks

There's often a need to download passwords for all networks a computer "remembers" at once. The standard Windows interface only allows you to access the current connection, but the command line offers more advanced options. However, the standard command netsh It only displays the password for one network at a time. For mass viewing, a slightly more complex approach or the use of scripts is required, but there is a simpler visual method using third-party snails or manual brute-force.

If you just want to quickly see the list, you can use the command:

netsh wlan show profiles

Then apply the command with the key sequentially key=clear for each profile of interest. This may take time if there are many networks. An alternative is to use PowerShell with scripts, but this requires caution, as incorrect execution of the script can lead to system instability.

It's also worth noting that Windows 10 and 11 now feature password syncing via the Microsoft cloud. If you sign in with the same account on multiple devices, your Wi-Fi password can automatically be pulled up to the new device without having to enter it. You can check this in "Accounts" -> "Sync settings."

Method Complexity Requires admin rights Works without connection
Network and Sharing Center Low Yes No (active network only)
Command line (netsh) Average Yes Yes (for saved)
Router settings Average No Yes (cable required)
Third-party software Low Yes Yes

Receiving data via the router's web interface

If your computer isn't connected to Wi-Fi (for example, because you've reset the settings or are replacing hardware), but you can connect to the router via a LAN cable or you're already logged into its interface, you can find the password in the router's settings. To do this, open a browser and enter the router's IP address in the address bar. This is most often the case. 192.168.0.1 or 192.168.1.1.

After entering the administrator login and password (often by default this is admin/admin, if you haven't changed them) go to the wireless network section. It may be called Wireless, Wi-Fi, Wireless mode or WLAN. In the "Security" subsection (Security) there is a field "Password" (Password or Pre-Shared Key).

Here you can not only view the current key but also change it to a more complex one. After changing the settings, be sure to click "Save" or "Apply." All connected devices will lose connection and will need to be reconnected with the new password.

⚠️ Attention: interfaces of routers from different manufacturers (TP-Link, ASUS, D-Link, Keenetic) vary greatly. If you can't find the item you need, check the official instructions for your model, as the menu layout may be unique.
What to do if you forgot your router password?

If you've changed your router's password and forgotten it, the only way to reset it is to reset the device to factory settings. To do this, locate the Reset button (often recessed into the device's housing) and press it with a paperclip for 10-15 seconds while the router is powered on. The router will reboot with the factory settings listed on the sticker.

Using third-party recovery utilities

There are many programs designed to manage wireless connections and recover passwords. Popular utilities such as WirelessKeyView from NirSoft or WiFi Password Decoder Allows you to export all saved keys to a text file with one click. This is convenient for system administrators managing multiple computers.

However, using such software carries certain risks. Antivirus programs often treat such programs as "hacker tools" or potentially unwanted software (PUP), as their operating principle is similar to that of password-stealing viruses. Such snails should only be downloaded from the developers' official websites.

Furthermore, many "free" versions of programs may have limited functionality or intrusive ads. For a one-time password viewing task, it's much safer and more reliable to use the built-in Windows tools described in the previous sections. This ensures the absence of malicious code and compatibility with the system.

Typical problems and solutions

When attempting to view a password, users often encounter errors. The most common is "Access Denied." This occurs if the command prompt is run as a standard user, not an administrator. Always ensure you have elevated privileges before entering commands. netsh.

Another issue is the text encoding in the command line. If the network name or password contains Russian letters, they may appear as gibberish. To fix this, enter chcp 65001 (for UTF-8) or chcp 866 (for Cyrillic DOS), which will change the console encoding to the supported one.

It's also possible that the network profile is corrupted. In this case, Windows may not display the password even if you have permission. The solution is to forget the network (click the "Forget" button in the Wi-Fi list) and reconnect, manually entering the password (if you know it from another device). The system will then create a new, correct profile.

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

No, this is not possible. Viewing saved passwords in Windows settings or via the command line requires logging in with administrator privileges. The lock screen is designed specifically to protect your data from unauthorized access.

Where are Wi-Fi passwords stored in the file system?

Profiles and keys are stored in the system folder C:\ProgramData\Microsoft\Wlansvc\Profiles\InterfacesHowever, the files are in XML format, and the keys within them are encrypted. Simply reading the file will not yield results; decryption requires special system privileges or utilities that use the Windows API.

What should I do if the "Show characters" field is inactive?

This means your current account doesn't have administrator rights. You'll need to either log in as an administrator or ask the computer owner to enter their password to confirm the action.

Will the password be reset when updating Windows?

Typically, no. A normal operating system update preserves network profiles and saved passwords. However, a complete reinstallation of Windows (including disk formatting) or the "Reset this PC" feature, which deletes files, will result in the loss of all saved passwords.

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

Legally, no. The methods described only work on networks to which your computer has previously connected and stored data. Hacking into other people's networks without the owner's permission is a violation of computer security laws.