How to find your WiFi password on Windows 10

Needing to connect a new device to an existing wireless network but forgetting the password is a common occurrence in home and office computer use. Fortunately, the operating system Windows 10 has a built-in mechanism for storing security keys for all networks it has ever successfully connected to. This means that if your laptop or desktop PC is currently connected to the network or has previously connected to one, retrieving saved data is easy.

There are several proven methods for obtaining this information, ranging from simply viewing the connection properties in the graphical interface to using more advanced command-line tools. The method you choose depends on whether you're currently connected to the network or need to find the password for a network the computer previously connected to but is currently inactive.

It's important to understand that you'll need administrator rights on your device to perform these actions. Without the appropriate privileges, the security system Windows will not allow access to stored encryption keys, which is a normal protection against unauthorized access by outsiders to your local network.

Viewing the password through the Network and Sharing Center

The easiest alternative way to find a forgotten security key is directly through the operating system's standard interface. This method is ideal for users who don't want to delve into technical details and prefer to work with familiar settings windows. To get started, open the Start menu and enter "View network connections" in the search bar, or simply navigate to it through the Control Panel. Control Panel → Network and Internet → Network and Sharing Center.

In the window that opens, find your active wireless connection, which is usually indicated as Wi-Fi or the name of your router. Left-click on this name to open the status window. Here, you'll find the "Wireless Network Properties" button at the bottom of the dialog box. Clicking it will open a new interface with security and connection tabs.

Go to the "Security" tab. You'll see the "Network Security Key" field, where the characters are hidden behind asterisks or periods. To display the password in plain text, check the "Show entered characters" box. Immediately after doing this ASCII code is converted into readable text that can be copied or rewritten.

⚠️ Attention: If the Security tab is missing or the Properties button is grayed out, it might mean you're using a Guest account without administrator rights, or your organization's security policy blocks you from viewing this data.

📊 What is your most common method for restoring access?
Through Windows settings
Via the command line
I'm looking at the router's sticker.
I'm asking the provider

Using the command line for the current network

For more experienced users or in cases where the graphical interface does not work correctly, using the console is a great solution. CMDThis method allows you to quickly access your network configuration without having to navigate through menus. Launch the Command Prompt as administrator: right-click the Start button and select "Windows PowerShell (Administrator)" or search for cmd in the search and select "Run as administrator".

In the black terminal window, enter the command to display the wireless network profile. The command syntax is precise, so double-check your network name. Enter the following line and press Enter:

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

The system will return a detailed connection profile report. Find the "Security settings" section. The "Key Content" line will display the password you're looking for in clear text. This method is especially useful because it works even in the rare cases where the Windows graphical interface freezes.

It's worth noting that this method only works with the network the device is currently connected to or whose profile is saved in the system. If you're trying to find the password for a network that has never been used on this PC, this method won't work, as the system simply doesn't have the saved data to generate the report.

Retrieving passwords for all saved networks

Situations often arise when you need to know not only the current password but also the keys for other networks the computer has connected to in the past (for example, a home network, a summer cottage, or an office network). The command line allows you to display a single list of all saved profiles and their passwords, which significantly saves time.

To do this, open the command prompt again with administrator privileges. Enter the following command, which will display all profiles with keys:

netsh wlan show profiles key=clear

The result will be a long list. You'll need to scroll up or use the search function to find the desired network name (SSID). Under each name, there will be a "Security Settings" section, with the password listed in the "Key Content" field. This is a universal method. audit all wireless connections stored in Windows memory.

What to do if the password is not displayed?

If the "Key Content" field is empty or says "not applicable," this means the profile was saved without a password (open network) or the data was corrupted during a driver update. In this case, resetting the network settings is the only solution.

For convenience, you can save this entire report to a text file to avoid searching through the text stream. Use output redirection by adding a space-separated construct > c:\wifi_passwords.txt at the end of the command. The password file will appear in the root of the C drive and can be opened with any text editor.

Finding a key using PowerShell

An alternative to the classic command line is a more powerful tool - PowerShellIt provides more flexible options for working with Windows network objects. This method can be useful if the standard commands netsh For some reason, they do not correctly handle encoding or network names with Cyrillic characters.

Open PowerShell as administrator. To list all profiles, use the cmdlet Get-NetConnectionProfileHowever, to directly extract the password, it's more convenient to use a command chain that accesses the WLAN profile store. Enter the following command:

(Get-NetConnectionProfile).Name

This command will display the names of active profiles. To obtain the password for a specific profile in PowerShell, you can use the netsh system utility, as native cmdlets for extracting keys in cleartext may not be available in standard modules without additional scripting. Therefore, the PowerShell + netsh combination remains the most effective:

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

⚠️ Attention: PowerShell interfaces may vary depending on the Windows 10 version (Home, Pro, Enterprise). In some enterprise builds, script execution may be blocked by security policy.

Using PowerShell makes sense in automation scenarios where you need to collect network data from multiple computers within an organization. For a home user, the speed difference between CMD and PowerShell is negligible, so choose the tool you're most comfortable with.

We look at the password through the router settings

If your computer isn't connected to the network or you want to know the password for connecting a new device and don't have another device with saved access, you can use the signal source—your router. To do this, your device must be connected to the router via an Ethernet cable or Wi-Fi (if you know the password for your current network or the connection is automatic).

Open your browser and enter your 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 username and password for accessing the control panel (admin/admin), are usually located on a sticker on the bottom of the device. After logging in, find the "Wireless" or "Wi-Fi" section.

In the wireless settings, you'll see a field labeled "Password," "WPA Pre-Shared Key," or "Password." This will display the current access key. The advantage of this method is that you see the current password, even if it was recently changed and the computer hasn't updated its information yet.

Parameter Description Where to find
SSID Wireless network name Wireless/Basic Settings Tab
Security Mode Encryption type (WPA2-PSK) Wireless Security Tab
Passphrase The Wi-Fi password itself Password/Key field
WPS Status Quick connection status WPS section

Third-party utilities and programs

There are many specialized programs such as WirelessKeyView from NirSoft or WiFi Password Revealer, which are designed specifically for extracting saved keys. These utilities scan the Windows registry and system databases, displaying a list of all networks and passwords in a convenient table format.

Using third-party software has its advantages: you don't need to remember commands, the interface is intuitive even for a beginner, and exporting data to a TXT or HTML file is a single click. However, be extremely careful when downloading such programs. Antivirus programs often flag them as HackTools or PUP (Potentially Unwanted Program), as their functionality can be used by attackers.

Download such snail-based programs only from the developers' official websites. Using cracked versions or programs from dubious torrent trackers can lead to infection of the system with real malware that will steal not only Wi-Fi passwords but also banking information.

⚠️ Attention: Many free password recovery tools may contain hidden miners or adware. Be sure to check the downloaded file on VirusTotal before running it.

☑️ Security when using third-party software

Completed: 0 / 4

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if the computer is not connected to it?

Yes, this is possible, but only if the network profile has been previously saved on this computer. Windows stores profiles of all networks you've ever connected to. Use the command netsh wlan show profile name="Name" key=clear in the command line.

Why is the Network Security Key field grayed out and unavailable?

This happens if your account doesn't have administrator rights. The field may also be unavailable if you're trying to view the properties of a guest network or a network managed by corporate security policies.

Is it safe to save passwords in Windows?

Generally speaking, yes, since they are stored encrypted and accessible only to the current user with administrative rights. However, if an attacker with administrative rights gains physical access to your computer, they can extract these passwords using the command line.

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

Check the exact network name (SSID). It must match exactly, including spaces and case. A list of all saved networks can be obtained with the command netsh wlan show profiles.