It's a common situation to need to connect a new device to a wireless network but have forgotten the password. Fortunately, the operating system Windows 10 Stores encrypted security keys for all networks the computer has ever connected to. This makes it easy to restore access to your data without having to reset the router or call your ISP.
There are several ways to extract this sensitive information, ranging from a simple graphical interface to advanced command line methods. To the user You don't need hacking skills to perform these steps; just follow the instructions carefully. We'll cover the most effective and secure methods that work on most modern laptops and desktop PCs.
Before you begin any technical manipulations, it's worth making sure that the device from which you want to find the password actually has a saved network record. If the computer has ever successfully connected to access point, the encryption key is already in the system. The main thing is to know where to look for it and how to correctly interpret the received data.
Using the Network Connections GUI
The easiest alternative way to find a forgotten character combination is to use the standard operating system settings windows. This method doesn't require entering complex commands and is ideal for users who prefer visual controls. You'll need access to the desktop and basic window navigation skills. Windows 10.
To begin, open the Start menu and go to System Settings. We're interested in the section responsible for network connections. In the window that opens, find the link "Network and Sharing Center" or go directly to the properties of your active wireless connection. This is where you'll find the basic settings for your current internet connection.
⚠️ Note: If you're not on the network you want to find the password for, this method will show details for the currently active network. To view passwords for other saved networks, use the command line described below.
In the Wireless Network Status window, click "Wireless Network Properties." A dialog box with several tabs will open. Switch to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default. To see the characters, check the "Show characters" box.
Once the mask is removed, you'll see the password in plain text. You can copy it or write it down. Please note that these actions may require permissions. administratorIf the system asks for confirmation, agree to change the settings. This method works reliably for encryption protocols. WPA2-Personal And WPA3.
Viewing passwords via the command line (CMD)
For more advanced users or in cases where the graphical interface isn't working correctly, the command line is the ideal solution. This tool provides direct access to the network profile database. WindowsThis method allows you to see passwords not only for the current network, but also for all previously saved connections.
Run the command prompt as administrator. To do this, enter cmd In the search box, right-click on the result and select the appropriate option. The first step is to display a list of all saved profiles. Enter the command:
netsh wlan show profiles
Find the desired 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, including the security key. The command syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
In the report that opens, scroll down to the "Security Settings" section. We're interested in the "Key Content" line. This is where the password you're looking for will be displayed in plain text. This method is especially useful if you need to quickly access data without unnecessary mouse clicks.
☑️ Check before entering commands
Using PowerShell for System Administrators
An alternative to the classic command line is a more powerful tool - PowerShellIt allows not only to display information but also to automate processes if required in a corporate environment. For a home user, this method may seem excessive, but it demonstrates the operating system's flexibility.
Launch PowerShell with administrator privileges. To list all WiFi profiles, you can use the same command as in CMD, or use specific cmdlet commands. However, for simplicity and compatibility, the command netsh It works here without any changes. Enter:
netsh wlan show profile name="YourNetwork" key=clear
The result will be identical to the command line output. The advantage of PowerShell is the ability to export this data to a text file or process it with a script if you need to recover passwords on multiple computers. This makes the tool indispensable for IT specialists.
⚠️ Important: When working with the command line and PowerShell, be careful about the case of characters in network names. Although the system is often case-insensitive in profile names, an exact match ensures that scripts run without errors.
PowerShell can also be used to manage wireless network adapters, enabling and disabling them, which can be useful for diagnosing connection issues. However, for the simple task of viewing a password, the standard output of the command is sufficient. Make sure you're working in a secure environment to avoid sharing data with third parties.
Third-party key recovery utilities
If built-in Windows tools are unavailable for some reason or you prefer ready-made solutions, there are specialized programs. One of the most well-known is WirelessKeyView by NirSoft. This utility scans the system database and displays all stored keys in a convenient table.
The main advantage of such programs is speed and clarity. You don't need to enter commands or search for the necessary tabs in the settings. After launching WirelessKeyView Instantly displays a list of all networks, their encryption type, and cleartext passwords. The program is free and requires no installation.
However, using third-party software carries certain risks. Antivirus programs may flag such utilities as potentially unwanted software, as they access confidential data. Download such tools only from the developers' official websites.
| Program | Type | Platform | Peculiarities |
|---|---|---|---|
| WirelessKeyView | Utility | Windows | Portable, no installation required |
| WiFi Password Decoder | Program | Windows | Graphical interface, export |
| Network Password Recovery | Utility | Windows | Support for different browsers and networks |
| Magical Jelly Bean | Set of utilities | Windows | A complete solution for keys |
Third-party software security
Using third-party password extraction utilities requires caution. Make sure you download the file from the developer's official website to avoid introducing viruses or miners. Antivirus software may block such programs from running because they access system password storage. In such cases, you should add the program to the exceptions list or temporarily disable protection, but only if you are sure of the file's source.
Restoring via the router's web interface
If your computer isn't connected to the network or you want to find the password for another device, you can use the router's settings. To do this, connect to it via cable or WiFi (if available) and log in to the web interface. The login address is usually found on a sticker on the bottom of the device.
Standard login addresses are: 192.168.0.1 or 192.168.1.1Enter them in the browser's address bar. The system will ask for the router administrator login and password. If you haven't changed them, they are often default: admin/adminOnce logged in, find the "Wireless" section.
The current PSK Password will be displayed in the Wireless Security settings. You can also change it to a more complex one here. This method is universal and works regardless of the computer's operating system, whether Windows, macOS, or Linux.
⚠️ Note: Router interfaces from different manufacturers (TP-Link, ASUS, D-Link, Xiaomi) may differ. Look for sections labeled "Wireless," "WLAN," "Wi-Fi Security," or "Wireless Security." If you reset your router to factory settings, the password will return to the one on the sticker, but all other internet service provider settings will be deleted.
Access problems and limitations
Sometimes users encounter a situation where the system prevents them from viewing their password or returns an access error. This may be due to group security policies, account restrictions, or corrupted system files. In such cases, standard methods may not work.
If you're using a corporate computer, your access rights may be restricted by the system administrator. Attempts to circumvent these restrictions may violate the organization's information security policies. At home, the lack of administrator rights on your Windows account can be a problem.
It's also worth considering that some types of corporate networks use encryption protocols other than PSK. In such cases, the password may not be stored explicitly on the device, and authentication occurs through certificates or a Radius server. In WPA2/WPA3 Personal home networks, the password is always stored in clear text for the system after the first entry.
Frequently Asked Questions (FAQ)
Is it possible to find out the WiFi password if the computer is not connected to it?
No, if the computer has never connected to this network and hasn't saved the profile, it's impossible to find the password through it. Windows only stores keys that have been successfully used to connect. In this case, only a router or other device where the network is saved can help.
Is it safe to save passwords in Windows?
For home use, this is safe if your computer is password-protected. However, if attackers with administrator rights gain physical access to your PC, they can retrieve all saved passwords. For increased security, use guest networks or change passwords regularly.
What should I do if the netsh command returns a "Network not found" error?
This means the network name in the command is misspelled. Check the exact profile name with the command netsh wlan show profilesThe name must match character by character, including spaces and case. If the profile has been deleted, this method will not restore the password.
Is it possible to view the WiFi password on a phone?
On Android 10 and above, you can view the password in the WiFi settings by scanning a QR code or opening the network properties (biometrics required). On iPhone, viewing passwords is only possible in iCloud Keychain settings on iOS 16 and above. On older OS versions, this cannot be done without root access or jailbreaking.