How to find your Wi-Fi password on a laptop: all the working methods

Many users are familiar with the situation of needing to connect a new device to a wireless network, but the password has long been forgotten and is unwritten. Fortunately, the Windows operating system has a built-in mechanism for storing security keys for all networks to which the laptop has ever connected. This makes it easy to restore access to data without having to reset the router or find a contract with the ISP.

In this article, we'll detail several ways to find your laptop's Wi-Fi password using standard system tools. We'll cover both the graphical interface for beginners and more advanced command-line methods for experienced users. Regardless of your operating system version, you'll be able to recover lost data.

It's worth noting that to successfully recover your access key, your device must either be currently connected to the network or have a record of a previous successful connection in its profile. If you've never connected to this network from this laptop, you won't be able to recover the password using system tools. You'll need access to the router's admin panel or physical contact with the already connected device.

Before we begin any technical manipulations, it's important to understand where the operating system stores this sensitive data. All information about wireless connections, including encryption keys, is stored in a special profile storage. Access to this storage is controlled by administrator rights, so you may need to confirm your account to complete some steps.

The easiest way: viewing through network settings

The most obvious and accessible method for most users is using the operating system's graphical interface. This method doesn't require knowledge of special commands or the installation of third-party software. It's ideal for those who want to quickly solve a problem without the risk of command syntax errors.

First, you need to open the Network and Sharing Center. In modern versions of Windows, you can do this by right-clicking the Wi-Fi or computer icon in the system tray (near the clock) and selecting "Network and Internet Settings." Next, find the "Network and Sharing Center" link or go directly to the wireless adapter's properties.

In the window that opens, find the name of your active wireless network and click it. A status dialog box will appear, where you should click "Wireless Network Properties." Go to the "Security" tab and check the "Show characters" box. The system will immediately display the password, hidden in asterisks, in the text field.

⚠️ Attention: If the "Security" tab is missing or the "Properties" button is grayed out, this may mean your account doesn't have administrator rights or the network profile is corrupted. In this case, try logging in as the root administrator.

If you are in range of a different network or Wi-Fi is turned off but the profile is saved, this specific path through Properties may not be available and you will have to use the other methods described below.

📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 7/8
MacOS/Linux

Using the command line to recover the key

For more advanced users or in situations where the graphical interface isn't working correctly, using the command line is a great solution. This method not only allows you to view the password for the current network but also retrieve the keys for all previously saved profiles, even if they're not currently active.

To launch the utility, press the key combination Win + R, enter cmd and press Enter. It's best to run the command prompt as administrator to avoid permissions issues. In the black window that opens, enter the command to display all saved profiles:

netsh wlan show profiles

The system will display a list of all networks the laptop has ever connected to. Find the required name (SSID) in the list. To view the password, enter the following command, replacing "NetworkName" with the exact name of your profile:

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

In the information, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This method is universal and works on all versions of Windows, starting with Windows 7.

What to do if the command fails?

If the system reports "Access Denied" or "Group Not Found," make sure you're running the console as an administrator. Also, check the spelling of the network name: it must match, including spaces and case. If the network name contains spaces, be sure to enclose it in quotation marks.

Viewing a password using PowerShell

A more powerful alternative to the classic command line is PowerShell. Built into all modern versions of Windows, it offers advanced capabilities for managing network configurations. For many system administrators, it's the preferred tool due to its more readable output and flexibility.

Launch PowerShell by searching for it in the Start menu or using the system search. As before, it's best to launch the terminal with administrator privileges. Enter the following command to list your profiles:

Get-NetConnectionProfile

However, to directly extract the password, it is more convenient to use the same utility. netsh, but within the PowerShell environment, since native PowerShell cmdlets for Wi-Fi may require additional modules. The command remains the same as in CMD:

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

The PowerShell interface often displays long strings better and allows you to copy text without unnecessary line breaks, which is convenient if your password is very complex and long. You can also use scripts to automatically save passwords to a text file.

Comparison of access recovery methods

Each of the methods discussed has its advantages and disadvantages depending on the specific situation. The graphical interface is the most user-friendly for beginners, but is limited by the current connection. The command line provides full access to all saved data, but requires careful command entry.

The table below provides a comparison of the main characteristics of the methods so you can choose the one that best suits your situation:

Method Complexity Available networks Requirements
Network Properties (GUI) Low Active only User rights
Command Prompt (CMD) Average All saved Administrator rights
PowerShell Average All saved Administrator rights
Third-party software Low All saved Installing software

The method you choose depends on your skills and the task at hand. If you just need to connect your phone right now, use the GUI. If you're setting up your computer after a system reinstall and need to remember passwords for all networks, the command line will be more efficient.

Using third-party utilities

If built-in Windows tools don't work for some reason or seem too complicated, you can turn to specialized software. There are many free utilities created by enthusiasts and companies for managing wireless connections.

One of the most popular programs is WirelessKeyView from NirSoft. This portable utility, requiring no installation, instantly displays all stored access keys in the system. It automatically reads data from the registry and displays it in a convenient list.

  • 🔍 WirelessKeyView — shows all saved keys, allows you to export them to a text file or HTML.
  • 📡 WiFi Password Revealer - simple interface, displays SSID, encryption type and password.
  • 🔑 Magical Jelly Bean WiFi Password Revealer — a lightweight utility with the ability to copy a password to the clipboard with one click.
⚠️ Attention: Be extremely careful when downloading third-party software. Download programs only from the developers' official websites. Antivirus programs may react to utilities like "RiskWare" or "HackTool" because they are designed to extract confidential information. This is normal, but verify the source of the file.

Using such programs is justified if you need to quickly obtain a list of all your passwords and save them to a file for backup. However, for a one-time viewing, built-in Windows tools remain the safest and most reliable option.

☑️ Network security check

Completed: 0 / 4

Restoring access via a router

If none of the methods on the laptop work (for example, the network profile was deleted or the system was reinstalled), the last reliable option is to look up the password in the router settings. To do this, the device must be connected to the router via cable or Wi-Fi (if the password is known on at least one device).

You need to open your 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, login, and password for entry are usually indicated on a sticker on the bottom of the device. Standard combinations are often admin/admin or admin/password.

After logging into the web interface, find the section related to your wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for the "Security" or "Security Settings" subsection. Your access key will be listed in the "Password" (Pre-shared Key, WPA Key) field.

Interfaces of routers from different manufacturers (TP-Link, ASUS, D-Link, Zyxel) are different, but the logic is the same. If you previously changed the password for accessing the router's admin panel and forgot it, you'll have to reset the device to factory settings using the Reset, and then set up the Internet again.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if the laptop has never connected to it?

No, this can't be done using Windows system tools. The computer doesn't store information about networks to which you haven't attempted to connect. In this case, the only solutions are to check the sticker on the router, know the password for another connected device, or physically access the router's settings.

Are password recovery programs safe to use?

Using trusted utilities from reputable developers (such as NirSoft) is safe if they are downloaded from the official website. However, such programs are often detected by antivirus software as potentially unwanted programs because they access sensitive system data. Always scan files before running them.

What should I do if the command line says "Access denied"?

This means you don't have sufficient privileges. Try running Command Prompt or PowerShell as an administrator: right-click the program shortcut and select the appropriate option. Without administrator privileges, viewing security keys is prohibited by Windows policy.

Where are Wi-Fi passwords stored in Windows 10 and 11?

Passwords are stored in a secure system WLAN profile store. They are physically located in the registry and system configuration files, but are encrypted and difficult to access directly. Standard commands netsh serve as a legal interface for decoding and displaying this data for an authorized user.

Is it possible to find out the password for the guest network?

Yes, if your laptop was connected to a guest network and saved this profile, recovery methods (via CMD or network properties) will work just like for the primary network. There are no network type restrictions (guest or primary) in the Windows profile storage mechanism.