How to Find the WiFi Password on a Windows 10 Laptop: A Complete Guide

It's a common situation to need to connect a new device to a wireless network but have hopelessly lost the password. Fortunately, if a laptop or computer running Windows 10The secret combination of characters is securely stored in the operating system registry. You won't need to reset the router or search for the device's box to restore access.

In this article, we'll detail several proven methods for extracting a security key directly from the operating system interface. We'll cover both the graphical interface, familiar to most users, and more advanced command-line methods for those who prefer speed and precision. Knowing these methods will help you avoid unnecessary trouble in the future.

It's worth noting that to successfully complete the steps below, you must have administrator rights on the device. Without the appropriate privileges, the security system Windows won't allow you to view saved credentials, as this is considered confidential information. Let's move on to the simplest and most accessible method.

Viewing a password through the Windows graphical interface

The most obvious and accessible method for any user is to use the standard network settings menu. This method doesn't require entering complex commands and is ideal if you're directly at a laptop that's already connected to the desired network. The interface may vary slightly depending on the build version. Windows 10, but the logic remains the same.

First, you need to open the Network Control Panel. This can be done by right-clicking on the icon. Wi-Fi in the system tray (lower-right corner of the screen) and select "Open Network and Internet Settings." Next, in the window that opens, find the link "Network and Sharing Center" or simply "Properties" for the current connection, depending on your interface version.

⚠️ Attention: If you're using a touchscreen laptop or Windows tablet, the context menu may not appear when you long-press. In this case, use the keyboard or access Settings from the Start menu.

Once you're in the wireless connection status window, click the "Wireless Network Properties" button. In the dialog box that opens, go to the "Security" tab. This is where the key is stored. WPA2-Personal or WPA3, which is used to encrypt traffic. By default, the "Network Security Key" field is hidden by asterisks.

To see characters, check the box next to "Show entered characters." The system may prompt you to confirm administrator rights via a pop-up window. UAC (User Account Control). Once confirmed, the asterisks will turn into readable text that can be copied or written down.

📊 Which password recovery method do you use most often?
Via network properties (GUI)
Via the command line (CMD)
Via PowerShell
Through third-party programs

Using the Command Prompt (CMD) to extract the key

For users who prefer to work with the console or who can't access the graphical interface due to system errors, the command line is ideal. This method not only allows you to view the password for the current network but also retrieve the keys for all networks the laptop has connected to in the past. This is especially useful for system administrators.

The first step is to launch the command prompt with administrator rights. Click Win + X and select "Windows PowerShell (Administrator)" or search for "cmd", right-click and select "Run as administrator". Without administrator rights, the command netsh will not be able to open saved profiles.

Enter the following command to see a list of all saved profiles:

netsh wlan show profiles

Find your network name (SSID) in the list. If the network name contains spaces, be sure to enclose it in quotation marks. Next, use the command to display detailed profile information by adding 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

In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for. This method works reliably on all versions. Windows 10 And Windows 11, regardless of the presence of graphical glitches.

☑️ Check before entering a command

Completed: 0 / 4

Getting a password via PowerShell

A powerful automation tool PowerShell offers even more flexible options for working with network configurations. Unlike the classic CMD, it allows you to use an object-oriented approach, allowing you to not only display text but also process it if necessary. The method is similar to using netsh, but the syntax may be more understandable to advanced users.

Run PowerShell as administrator. To obtain the password for a specific network, use the same utility. netsh, as it's a system command, or use native PowerShell cmdlets if they're available in your version. However, the most universal method within PowerShell remains the same:

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

This command will not only display the password but also filter the output, leaving only the line containing the key, which is very convenient when working with large logs. Please note that in the Russian version of Windows, the filter keyword may differ (for example, "Key content" or "Key content"), so it's best to display the full profile first.

If you want to see passwords for all saved networks at once, you can use a loop, but this requires writing a small script. For one-time actions, simply enter the name of the desired network. Keep in mind that PowerShell case-sensitive in some contexts, although network names are generally case-insensitive.

Login to router settings

If your laptop isn't connected to the network or you can't access saved passwords through the OS, there's still a direct way: logging into the router's control panel. 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, such as a smartphone). This method allows you not only to find out, but also change password to a new one.

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 is indicated on the sticker on the bottom of the device. You will need your login and password to access the admin panel (often admin/admin).

Router brand Standard IP Default login Default password
TP-Link 192.168.0.1 admin admin
ASUS 192.168.1.1 admin admin
D-Link 192.168.0.1 admin (empty)
Xiaomi 192.168.31.1 (No) (set during setup)

After logging in, go to the "Wireless" or "Wi-Fi" section. The current key will be displayed in the "Password" field. If the field is hidden, often clicking the "eye" icon or the "Show" button is sufficient. After changing the settings, be sure to click the "Save/Apply" button, otherwise the router will reboot with the old settings.

⚠️ Attention: Changing the password in your router settings will disable ALL devices on the network. You'll have to reconnect phones, TVs, and laptops using the new password.

Using third-party programs

There are many utilities designed for managing wireless connections that can automatically extract and save passwords. Popular programs like WirelessKeyView from NirSoft or WiFi Password Revealer make this process as simple as possible by displaying a list of all networks and keys in a convenient format.

Using such software is justified if you need to quickly download password databases from multiple computers or if standard Windows tools are not working correctly. However, be extremely careful when downloading such programs. Antivirus programs often react to them as PUP (Potentially Unwanted Program) or even viruses, since they steal (in a good sense, for the owner) stored data.

Third-party utility security

Password recovery programs are safe to use only if downloaded from the developers' official websites. Downloading such utilities from unverified torrent trackers or file-sharing sites carries a high risk of infecting your system with real password stealers, which can leak your data to third parties. Always scan your files with VirusTotal.

For use, for example, WirelessKeyViewSimply run the executable file (preferably as administrator). The program will instantly display a list of all profiles. You can copy the key to the clipboard, save it to a text file, or export it to HTML. This is convenient for backing up settings before reinstalling the system.

Possible problems and their solutions

Even following the instructions, you may encounter difficulties. Users often forget that viewing a password via CMD or configuring the network requires privileges. AdministratorIf you're working under a guest or limited user account, the system simply won't provide you with this data, and the fields will be locked.

Another common issue is a network name mismatch. In the command netsh The name must be entered exactly as it is saved in the profile, including case and spaces. If the name contains special characters, encoding errors may occur, especially in older console versions. In this case, try copying the network name from the graphical interface and pasting it into the command line.

It is also worth considering that corporate networks often use authorization protocols 802.1x or logging in via a web portal (Captive Portal). In such cases, the password in its traditional form (a string of characters) may not be stored on the device, as a certificate or temporary session token is used. Recovering such a "password" for use on another device using standard methods is not possible.

FAQ: Frequently Asked Questions

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

No, this is not possible. Windows only stores passwords that have been successfully used to connect. If the device has no record of the network, the password can only be found by connecting another device, looking at the sticker on the router, or resetting the router to factory settings (if you know the admin password or it's the default one).

Why does the netsh command say "Network not found"?

You most likely entered the profile name (SSID) incorrectly. Check the exact name using the command netsh wlan show profilesAlso, make sure you use quotation marks if the network name contains spaces, and that the command prompt is run as administrator.

Is it safe to save passwords in Windows?

Yes, Windows encrypts saved passwords and links them to your user account. However, if an attacker has physical access to your laptop while it's running and has administrator privileges, they can retrieve them. For increased security, use complex passwords and don't allow anyone else to access your account.

What should I do if I forgot my router admin password?

If you've changed your router's password and forgotten it, the only solution is to reset the device to factory settings (use the Reset button on the device). This will reset the router to its default login and password (found on the sticker), but you'll have to reconfigure all your internet settings.