How to View Your WiFi Password on a Windows 10 Computer: Complete Instructions

It's quite common to need to connect a new device to a wireless network but have lost or forgotten the password. Fortunately, the operating system Windows 10 It has built-in security mechanisms that store access keys to previously used networks in encrypted form. This allows the user to recover a forgotten password combination without having to completely reset the router or contact the ISP.

There are several proven methods for extracting saved data. Some require minimal steps through a graphical interface, while others require the use of a console. It's important to understand that you must have administrator rights on the device to successfully complete the procedure. In this article, we'll cover each method in detail so you can choose the most appropriate one for your situation.

It's worth noting that viewing the password is only possible if your laptop or PC has previously successfully connected to this access point. If the device has never connected to the network, recovering the key using software won't work. In such cases, you'll need physical access to the router or another device where the data may be stored.

Recovering the key via network settings

The easiest and safest way to find a forgotten password is to use the standard graphical interface Windows 10This method does not require entering complex commands and is suitable for most users. Network and Sharing Center hides symbols with asterisks, but allows you to easily reveal them. To get started, open the Start menu and go to Settings by selecting the gear icon, or simply press the key combination Win + I.

After opening the settings window, select the "Network and Internet" category. This displays the current connection status. If your laptop is connected to Wi-Fi, the network name and "Connected" status will be displayed at the top of the window. Look for the "Network and Sharing Center" link, which is usually located at the bottom of the window or in the right column.

In the window that opens, find the "Connections" line and click on the blue text with the name of your wireless network. A small status dialog box will open. Here, you'll find the "Wireless Network Properties" button. Clicking it will take you to a menu containing the connection's technical parameters.

⚠️ Note: If you see the "Properties" button grayed out, you're in the wrong menu. Make sure you clicked the network name in the "Connections" line and not any other interface elements.

In the new window, switch to the "Security" tab. This is where the key encryption settings are located. You'll see the "Network Security Key" field, where the characters are hidden behind dots. To display them, check the "Show entered characters" box. Once you do this, the hidden password will immediately become visible in plain text.

Using the command line to extract data

For more advanced users or in cases where the graphical interface does not work correctly, the command line is a great tool. Windows. Utility netsh Allows you to manage network settings and display saved profiles in text format. This method is especially useful if you need to find the password for a network to which the computer is not currently connected, but for which the profile is saved.

First, you need to launch the command prompt as administrator. Right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)." The first step will be to display a list of all saved Wi-Fi profiles. Enter the command:

netsh wlan show profiles

Find the name of the desired network in the list. Pay attention to the exact spelling of the name, including case and spaces. Then use the command to display a specific profile. The key here is the parameter key=clear, which instructs the system to show the key in clear text.

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

After running the command, scroll down to the "Security Settings" section. The "Key Contents" line will contain the password you're looking for. This method is secure and works even if the network adapter is temporarily disabled, as long as you have a saved profile.

What if the network name contains spaces?

If the network name consists of multiple words, such as "Home Wi-Fi," be sure to enclose it in quotation marks in the command line. Without quotation marks, the system will only interpret the first word as the profile name and return an error.

Checking via PowerShell

An alternative to the classic command line in Windows 10 offers a more powerful tool—PowerShell. It offers advanced capabilities for working with network interfaces. While the syntax may seem complex to beginners, the results are often more structured. This method is advantageous because it allows you to not only view the password but also analyze other connection security parameters.

Run PowerShell as administrator. You can use the same utility to get the password. netsh, as it's built into the system core, or you can use native cmdlet commands. However, the fastest way to get a clean result is a combination of profile query and output filtering.

Enter the following structure, replacing the network name with your own:

(Get-NetConnectionProfile).Name

This command will display the name of the active profile. However, to obtain the key itself, it's still more convenient to return to the tried and tested method. netsh, since direct PowerShell commands for extracting cleartext passwords require writing complex scripts. Therefore, in PowerShell, we often use the same commands as in CMD, but with the ability to copy text with the mouse, which was difficult in older versions of the console.

If you just want to quickly copy a command for review, use this template. It's universal for all versions of Windows, starting with Vista.

Comparison table of recovery methods

To help you choose the right option, we've prepared a comparison chart. It will help you evaluate the pros and cons of each method depending on your current situation and level of access to the system.

Method Necessary rights Complexity Connection required
Network Settings (GUI) User Low Desirable
Command Prompt (CMD) Administrator Average No
PowerShell Administrator High No
Third-party utilities Administrator Low No

As the table shows, the graphical interface is the simplest, but requires the profile to be active or easily accessible. The command line offers more flexibility and doesn't rely on the current connection status, but requires careful command entry.

The choice of method depends on your preference. If you're concerned about syntax errors, it's better to use the settings menu. However, if you need to quickly retrieve data for multiple networks, the command line is more efficient.

Using third-party software

There are many specialized programs such as WirelessKeyView from NirSoft or WiFi Password RevealerThese utilities are designed specifically for extracting saved keys from the Windows registry. They automate the process, eliminating the need for the user to enter commands or search for the necessary tabs in the settings.

The main advantage of such programs is the ability to see all saved networks and their passwords in one list. This is convenient when transferring settings to a new computer or distributing passwords to guests. However, using third-party software carries certain risks. Such programs should only be downloaded from the developers' official websites.

  • 🔍 WirelessKeyView — a lightweight utility that does not require installation and displays all WEP/WPA keys.
  • 🔓 WiFi Password Revealer — a simple interface that allows you to copy passwords in one click.
  • 🛡️ Antivirus warning — Antiviruses may react to such programs as threats, since they gain access to confidential data.

Be careful when downloading such tools. Malware often disguises itself as "password recovery tools." Always scan files using services like VirusTotal before running them.

⚠️ Warning: Antivirus software may block password viewers, classifying them as data theft tools (HackTools). Only add the utility to your exceptions if you are sure of the download source.
📊 Which password recovery method do you find most convenient?
Via Windows settings (GUI)
Via the command line (CMD)
Using a third-party program
Resetting the router to factory settings

Resetting the router as a last resort

If none of the software methods work, or you don't have access to the computer where the password was saved, you can still physically access the router. Most routers (TP-Link, ASUS, D-Link, Zyxel) have a sticker with factory data on the back panel. This sticker lists the default SSID and password (PIN or Key), unless they were changed by the user during initial setup.

If the password has been changed and forgotten, and it's impossible to view it on connected devices, you'll need to reset the router to factory settings. There's a recessed button on the device for this purpose. ResetYou need to press it with a thin object (a paper clip) and hold it for about 10-15 seconds until the indicators blink.

After resetting, the router will return to its out-of-the-box state. You can connect to it using the information on the sticker and set a new password. However, keep in mind that this will disconnect all devices, requiring them to be reconnected. You will also need to reconfigure your ISP connection type (PPPoE, L2TP, etc.) if this information isn't received automatically.

  • 📠 Search for a sticker - Inspect the bottom of the router, information is often located there.
  • 🔌 Physical access — this method won't work if the router is located in the provider's electrical box.
  • ⚙️ Resetting — Be prepared to enter the Internet login and password provided by your provider.

This method is drastic and is recommended only as a last resort. Before resetting, make sure you have a contract with your provider or network login information.

☑️ Checklist before resetting your router

Completed: 0 / 4

Questions and Answers (FAQ)

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

No, the Windows operating system doesn't store passwords for networks the device has never connected to. In this case, the only solution is to remove the router sticker, log in to the router's admin panel (if connected via a wired connection), or reset the settings.

Why is the Security tab grayed out or hidden?

This can happen if your account doesn't have administrator rights, or if you're trying to view the properties of a guest network with limited access rights. It can also occur when using some corporate security policies.

Is it safe to save passwords in Windows?

Yes, Windows encrypts stored passwords. However, if an attacker with administrator rights gains access to your computer, they can retrieve them using the command prompt, as described above. Use strong passwords when logging into the system itself.

What should I do if the netsh command returns the error "Network out of range"?

This error means the profile name was entered incorrectly. Check the exact network name using the command netsh wlan show profiles and copy it exactly, respecting the case and spaces.

Is it possible to recover a password on macOS in the same way?

No, Apple Mac computers use a different key storage system called Keychain Access. Windows commands don't work there.