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

It's extremely common to need to connect a new device to a network but have forgotten the password for your current Wi-Fi network. Fortunately, the operating system Windows 10 Stores access keys to networks the computer has ever connected to. This allows you to easily retrieve the necessary information without the need for a complicated router reset or searching for your ISP contract.

In this article, we'll cover all the available methods for recovering a forgotten password. You'll learn how to find your key through the system's graphical interface, use the powerful capabilities of the command line, and even use scripts. PowerShell to obtain hidden data. This knowledge will help you quickly restore internet access at any time.

Finding a password through the Windows graphical interface

The easiest and most secure way to find a saved password is to use the standard operating system settings. This method doesn't require any special commands and is suitable for most users. However, it only works on the network your computer is currently connected to.

First, you need to open the Network and Sharing Center. Right-click the Wi-Fi icon in the lower-right corner of the screen (in the notification area) and select Open "Network and Internet Settings"In the window that opens, find the link Network and Sharing Center, which is usually located on the right side or in the "Status" section.

In the Network and Sharing Center, you'll see your active connection. Click on the name of your Wi-Fi network (the blue link next to "Connections"). A small status window will open, where you need to click Wireless network properties. Next, go to the tab SecurityThis is where the information you are looking for is located.

⚠️ Note: If you don't see the "Security" tab or the "Show badges" button is grayed out, your account may not have administrator rights or your network profile may be corrupted.

On the security tab, find the field Network security keyBy default, the symbols are hidden by asterisks. Check the box next to the text. Show entered characters, and the system will display the password in clear text. You can copy it or rewrite it.

📊 Which password search method do you prefer?
Through Windows settings
Via the command line
Via a router
Using programs

Using the Command Prompt to View Keys

For more advanced users or in cases where the graphical interface does not work correctly, the command line is ideal. CMDThis tool allows you to manage network profiles and display their contents, including passwords, in plain text.

First, you need to run the command prompt as administrator. Click Win + X and select Windows PowerShell (Administrator) or find cmd in search, right click and select Run as administratorThis is a mandatory requirement, as requesting passwords requires elevated privileges.

Enter the command to view all saved profiles:

netsh wlan show profiles

Find the exact name of your network in the list. Then enter the command to display the details of a specific profile. Note that the network name must be enclosed in quotation marks if it contains spaces:

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

In the report that opens, scroll down to the section Security parameters. Line Key content will contain your password in cleartext. This method is universal and works even on older versions of Windows.

☑️ Check before entering a command

Completed: 0 / 4

Getting a password via PowerShell

An alternative to the classic command line is a more powerful tool. PowerShellIt not only allows you to extract passwords, but also process them, displaying only the required line, which is convenient when working with a large number of saved networks.

Open PowerShell as administrator. To list all profiles and see their passwords at a glance, you can use the following command, which automatically finds all profiles and displays their keys:

(netsh wlan show profiles) | Select-String"\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim; $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String"Key content"

This command may seem complicated, but it simply automates the brute-force process. If you want to find out the password for a specific network, it's easier to use the standard syntax. netsh, which PowerShell also executes perfectly. PowerShell's main advantage is the ability to copy output directly to the clipboard.

⚠️ Caution: When copying commands from the internet, be careful. Make sure there are no extra characters in the string that could change the command's behavior or cause a syntax error.

Usage PowerShell This is especially effective if you need to quickly access a key without switching between multiple windows. This is the preferred method for system administrators.

Viewing the password through the router's web interface

If the computer is not connected to Wi-Fi, but is connected to the router via cable EthernetOr if you want to find out the password for guests, you can access the router's settings. To do this, you'll need the gateway IP address and login information for the admin panel.

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 is indicated on the sticker on the bottom of the device. Enter the administrator login and password (often by default) admin/admin).

Interfaces from different manufacturers (TP-Link, ASUS, D-Link) are different, but the logic is the same. You need to find the section related to the wireless network. It may be called Wireless, Wi-Fi, Wireless network or WLANLook for the subsection inside Security or Security settings.

There will be a field here PSK Password, Wireless Password or PasswordYou can view it in the open view or change it to a new one. After changing the settings, don't forget to save the settings by clicking the button. Save or Apply.

Manufacturer Menu section Password field name Encryption type
TP-Link Wireless > Wireless Security Wireless Password WPA/WPA2
ASUS Wireless Network > Professional WPA Pre-Shared Key WPA2-Personal
D-Link Wi-Fi > Security Settings PSK encryption key WPA2-PSK
Zyxel Network > WLAN > Access Point Pre-shared key Mixed WPA2/WPA

Restoring access using third-party programs

There are many utilities designed for managing Wi-Fi connections. They can be useful if standard Windows tools are unavailable for some reason or if you need to recover passwords for dozens of networks at once.

One of the popular programs is WirelessKeyView from NirSoft. It doesn't require installation and immediately displays all saved keys. However, be extremely careful when downloading this software: antivirus programs may detect it as a threat, as the program essentially steals passwords.

Other programs such as WiFi Password Revealer or Magical Jelly Bean WiFi Password Revealer, work on a similar principle. They read data from the Windows registry and display it in a convenient list. Use them only on trusted computers.

⚠️ Warning: Installing unknown password recovery software carries security risks. It's best to use built-in Windows tools that don't require downloading external executable files.

What to do if your password is nowhere to be found

There are situations when none of these methods work. The computer might not save the password (if the "Connect automatically" option was checked without saving the key in some corporate profiles), or the profile might have been deleted. In this case, the last option is to reset the router.

There is a small hole on the back of the router that says ResetPress it with a paperclip and hold for 10-15 seconds until the lights flash. The router will return to factory settings.

After this, the Wi-Fi password will be the one on the sticker on the bottom of the device. You will have to reconfigure the internet if your provider requires MAC address binding or uses a different connection type. PPPoEThis method is guaranteed to provide access, but requires time to reconfigure.

If you rent a router from a provider, it's best to call technical support. They can dictate the password or reset it remotely, which is faster and more secure than a full hardware reset.

Frequently Asked Questions (FAQ)

Is it possible to find out the password for a Wi-Fi network I've never connected to?

No, it's impossible to find out the password for someone else's network that your device has never accessed using standard means. This violates the security principles of the WPA2/WPA3 encryption protocols. The only way is to have physical access to the router or know the password for its admin panel.

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

Passwords are stored in a private system registry section. Direct access to them is difficult. They are located in a path associated with profiles. WLAN, but in encrypted form. To decrypt them, the system uses the current account's privileges, so simply browsing the registry won't yield results without the use of specialized utilities or commands. netsh.

Will the command line method work on Windows 7 or 8?

Yes, team netsh wlan show profile Works on all versions of Windows starting with Windows 7. The command syntax remains unchanged, so you can safely use this instruction on older operating systems.

Why is the Network Security Key field blank or unavailable?

This can happen for two reasons. First, you're viewing the properties of a network to which your computer is connected via cable, not Wi-Fi. Second, the key isn't saved in the network profile (a rare occurrence for home networks), or the system files responsible for storing login information are corrupted.