How to find the Wi-Fi password on a Windows 10 laptop

It's quite common to need to connect a new device to an existing wireless network, but the access key is lost or forgotten. Fortunately, the operating system Windows 10 Stores data about previously used connections in its database, allowing you to retrieve this information when needed. This is especially important for users who haven't changed their default settings in a while or rely on automatic connections.

There are several proven methods for recovering lost data, ranging from simple GUI operations to console commands. It's important to understand that most operations require administrator privileges due to network protocol security concerns. In this article, we'll cover effective solutions in detail.

Don't panic if you don't remember the character combination. operating system securely encrypts and stores this data for the user's convenience. The key is to act consistently and follow the instructions carefully to avoid input errors or accessing incorrect profiles.

Using default network settings

The simplest and most accessible method, which doesn't require installing additional software or delving into technical details, is to use the standard network management menu. This method is suitable for those who prefer a visual interface to the command line. However, it's important to note that this option is only relevant if your laptop is currently connected to the desired network or has previously been connected to it.

First, open the Network and Sharing Center. You can do this by right-clicking the Wi-Fi icon in the system tray (near the clock) and selecting the appropriate option, or through the Control Panel. In the window that opens, find your active wireless connection and click its name, which is usually highlighted in blue.

⚠️ Attention: If you're trying to change the password for a network the computer has never connected to, this method won't work. The system only stores keys for known profiles.

In the status window that appears, click "Wireless Network Properties." Go to the "Security" tab. This is where the string you're looking for is located. By default, the characters are hidden behind asterisks for privacy purposes. To see them, check the box next to "Show entered characters."

After removing the mask, the system may ask you to confirm administrator rights. After successful authorization, the required combination will appear in the "Network Security Key" field. Recommended Write it down or copy it immediately to avoid losing data again.

Viewing a password via the command line

A more advanced and versatile method involves using the built-in command line utility. This method is great because it allows you to access passwords for all networks ever stored on your device, not just the one you're currently connected to. To do this, we'll need the utility. netsh.

First, you need to launch the command prompt as an administrator. Right-click the Start button and select "Windows PowerShell (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 the laptop has ever connected to. Find the desired name (SSID) in the list. Then, use the following syntax to display detailed information about a specific profile, replacing "Network_Name" with the actual name of your router:

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

⚠️ Attention: The command is case-sensitive and uses quotation marks. If the network name contains spaces, quotation marks are required, otherwise the command will return a syntax error.

After running the command, scroll down to the "Security Settings" section. The "Key Contents" line will display the password you're looking for in clear text. This method is especially useful when the graphical interface isn't working correctly or when data is required for scripts.

What to do if the command fails?

Make sure you're running the console as an administrator. If the error persists, check the spelling of the profile name by copying it from the first list.

Receiving data through router settings

If you don't have a computer that's already connected to the network, or you need to find out the password for a new device, your only option is to access the router's settings. This method requires you to be connected to the router (via cable or Wi-Fi if the device already has access) and know the login and password for the administrator web interface.

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 default login and password, are usually indicated on a sticker on the bottom of the device. Popular brands such as TP-Link, Asus or Keenetic, may have their own specific addresses.

After logging in, find the section related to your wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Network," or "WLAN." Within this section, look for the "Security" or "Wireless Settings" subsection. This is where the "Password/Key/Passphrase" field is located.

📊 What brand of router do you have?
TP-Link
Asus
D-Link
Keenetic
Another

Interfaces may differ, but the logic remains the same: Wireless Network -> Security Settings -> Encryption Key. Here you can not only change the current password, but also change it to a more complex one if you feel the current security is not secure enough.

Using PowerShell for System Administrators

For users who prefer modern Windows management tools, an excellent solution would be to use PowerShellThis tool provides more flexible options for working with network profiles and is often faster than the standard command line. The method is similar to using netsh, but the syntax may be more convenient for copying and pasting.

Run PowerShell as administrator. To list all saved profiles, use the following command:

Get-NetConnectionProfile

However, to directly extract the password in text form, you will still have to resort to calling netsh within PowerShell, since native PowerShell cmdlets don't always output keys in cleartext for security reasons. The command will look like this:

netsh wlan show profile name="Network_Name" key=clear | Select-String"Key"

This approach allows you to filter the output and see only the line with the key, which is convenient when working with a large number of saved networks. Using a pipeline allows you to automate the search process, if you plan to create scripts for security auditing.

If the network name contains Russian letters, make sure the console interprets them correctly, otherwise the command may not find the profile.

Third-party password recovery utilities

There are many specialized programs that automate the process of extracting saved keys. Utilities such as WirelessKeyView from NirSoft or WiFi Password Revealer, can be useful if standard methods seem too complex. They scan the Windows registry and display all the information in a convenient table format.

However, using third-party software carries certain risks. Firstly, antivirus programs may classify such programs as potentially unwanted programs (PUPs) because they handle sensitive data. Secondly, downloading software from untrusted sources puts you at risk of infecting your computer.

⚠️ Attention: Use only trusted utilities from official developer websites. Running programs from unknown vendors with administrator privileges can compromise the entire system.

If you decide to use such software, be sure to check the downloaded file using services like VirusTotal. The advantage of such programs is the ability to export all passwords to a text or HTML file, which is convenient for backing up your settings.

Comparison table of recovery methods

To help you choose the best option, let's compare the methods discussed using key parameters. This will help you understand which option is best for your situation.

Method Necessary rights Complexity Access to history
Network settings Administrator Low Active profile only
Command line Administrator Average All saved profiles
Router settings Router password Average Current network password
Third-party software Administrator Low All saved profiles

As the table shows, the command line and third-party utilities provide the most comprehensive access to connection history. However, standard Windows tools remain the safest option, requiring no additional software installation.

☑️ Check before resetting settings

Completed: 0 / 4

Frequently Asked Questions (FAQ)

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

No, this can't be done using standard Windows tools. The system only stores keys for networks the device has previously connected to. The only option in this case is physical access to the router (if the password is on a sticker) or logging into its web interface from an already connected device.

Is it safe to save passwords in Windows?

Yes, Windows encrypts saved passwords. However, if an attacker has physical access to your computer while it's running and has administrator privileges, they can extract them using the command prompt. Therefore, it's important to protect your user account with a strong password.

What should I do if the netsh command returns the error "Network not found"?

Check the exact profile name. There may often be hidden spaces or symbols at the end of the name. Copy the name from the list of profiles (netsh wlan show profiles) and paste it into the command to view the key, enclosing it in quotation marks.

Is it possible to recover the password by resetting the router?

Resetting the router to factory settings will reset the password to the value printed on the sticker on the device. However, this will also reset all other settings (network name, encryption type, list of allowed devices), and you will have to set up your internet connection again.

Do these methods work on Windows 11?

Yes, the methods described include using the command line netsh and viewing through a graphical interface are fully relevant for the Windows 11 operating system, since the mechanisms for storing network profiles remain unchanged.