Many users are familiar with the situation of needing to connect a new gadget to their home network but hopelessly forgetting the Wi-Fi password. Fortunately, the operating system Windows 10 Stores data about previously used wireless connections in a secure manner. This means you don't need physical access to the router or remember a complex password to restore access.
Restoring the security key is possible using standard system tools, without installing third-party software. However, it's important to understand that the computer must have previously successfully connected to this network and saved its settings. Otherwise, you'll have to resort to more drastic measures, such as resetting the router.
In this article, we'll take a detailed look at all the available methods for extracting saved passwords. You'll learn how to use the graphical interface, the command line, and even PowerShell to obtain the information you need. We'll also touch on security issues and explain why the system hides this data by default.
⚠️ Attention: All the methods described below only work if your computer has previously connected to this Wi-Fi network and saved its profile. If you're trying to find the password for a neighbor's network or haven't connected to it before, these methods won't work.
Using the Network Connections window
The simplest and most visually understandable way to find the security key is to use the classic wireless network properties window. This method doesn't require complex commands and is suitable for most users. Graphical interface Windows 10 allows you to view the parameters of your active connection in a few clicks.
First, open the Network and Sharing Control Panel. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Open Network and Internet settings." In the window that opens, find the "Network and Sharing Center" link, or simply search for "View network connections" in the Start search.
Once the window with the list of adapters opens, locate your wireless connection. It's usually labeled "Wireless Network" or has the name of your ISP. Double-click the icon to open the status window. Here, you'll find the "Wireless Network Properties" button.
In the new dialog box, go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default. To view the password, check the "Show characters" box. The system may request administrator privileges to confirm this action.
It's worth noting that in some corporate environments or when using certain drivers, the Security tab may be unavailable or hidden. In such cases, we recommend using the alternative methods described below.
Viewing a password via the command line
For more advanced users and system administrators, the command line is a great tool. CMDThis method gives you more control and allows you to see passwords for all networks ever saved on your device, not just the active one. Command line Works directly with Windows wireless network profiles.
To launch the tool, click Win + R, enter cmd and press Enter. It's important to run the console as an administrator, otherwise some commands may not be available. First, you need to get a list of all saved profiles. Enter the command:
netsh wlan show profiles
The system will return a list of all networks the computer has ever connected to. Find the desired name (SSID) in the list. Next, to view the password for a specific network, use the command followed by the profile name. The syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
Replace "Network_Name" with the exact name of your network that you found in the list earlier. Note the quotation marks—if the name contains spaces, they are required. After running the command, scroll to the "Security Settings" section. The "Key Contents" line will display the password you were looking for in cleartext.
What to do if the command is not found?
Make sure you enter the network name exactly as it appears in the list, including capitalization and spaces. Also, make sure the console is running as an administrator.
Using PowerShell to retrieve data
An alternative to the classic command line is a more powerful tool - PowerShellIt allows you not only to retrieve information but also to automate processes. For regular users, the difference from CMD is minimal, but the syntax may seem more restrictive.
Launch PowerShell as administrator by right-clicking the Start button and selecting the appropriate option. The command for viewing profiles is similar to the one used in CMD:
netsh wlan show profiles
To directly output the password, you can use the same construct. However, PowerShell allows you to output the data in a more readable format or export it. The basic command remains the same, as it accesses the system's network settings interface:
netsh wlan show profile name="NetworkName" key=clear
PowerShell's advantage is its ability to filter output. You can use pipeline operators to search for specific strings, which is useful when storing large numbers of networks. This is especially true for IT specialists, serving multiple devices.
⚠️ Attention: Operating system and network driver interfaces may be updated. The location of some menu items or the exact syntax of commands may vary in rare cases depending on the Windows 10 build version or the security update installed.
Checking through the router settings
If the computer can't connect to the network or the profile has been deleted, the only option is to access the router's settings. To do this, the device must be connected to the router by any means: via Wi-Fi (if the password is known to the other device) or via LAN cable.
Open your browser and enter your router's IP address into the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, username, and password for logging in are usually found on a sticker on the bottom of the device. After logging in (often using admin/admin), find the "Wireless," "Wi-Fi," or "Security" section.
In this section, the current password will be entered in the "Password," "Passphrase," or "WPA Key" field. You can also change it to something more complex and memorable. Be sure to save your changes by clicking "Save" or "Apply," after which the router may reboot.
| Parameter | Default value (example) | Where to find |
|---|---|---|
| IP address | 192.168.0.1 | Sticker on the body |
| Login | admin | Sticker / Documentation |
| Login password | admin / password | Sticker / Documentation |
| Encryption protocol | WPA2-PSK | Wireless network settings |
This will reset all settings to factory defaults, including the Wi-Fi name and password found on the sticker.
Recovery via resetting network settings
In situations where the system is unstable or network profiles are corrupted, you may need to completely reset Windows 10 network settings. This procedure will delete all saved Wi-Fi passwords, VPN settings, and adapter settings, returning them to their original state.
To reset your computer, go to Start → Settings (gear icon) → Network & Internet. At the very bottom of the Status page, find the "Network reset" link. Click it, then click "Reset now." Your computer will warn you that it will restart in 5 minutes.
After rebooting, you'll have to re-enter passwords for all known Wi-Fi networks. This method is useful if none of the password viewing methods work due to system software errors. It also helps resolve issues with frequent connection drops.
☑️ Checklist before resetting the network
Use this method only as a last resort. If your goal is simply to find out the password and not to repair the network, it's better to use the first two methods. A reset prevents you from quickly regaining access to other known networks without re-entering your credentials.
Frequently Asked Questions (FAQ)
Is it possible to find out a Wi-Fi password if the computer has never connected to this network?
No, this cannot be done using standard Windows tools. The system only stores keys that have been successfully used to connect. Retrieving the password in this case requires physical access to the router or knowledge of the password for another device that is already connected.
Is it safe to use third-party password recovery programs?
Using unknown software carries risks. Many programs that promise to "hack" or "reveal" passwords may contain malicious code. It is recommended to use only built-in Windows tools or proven utilities from reputable vendors, such as WirelessKeyView from NirSoft, downloaded from the official website.
What should I do if the command line says "Access Denied"?
This means the console is running without administrator privileges. Close the command prompt, right-click the CMD or PowerShell shortcut, and select "Run as administrator." Only then will the commands work correctly.
Where are Wi-Fi passwords stored in the Windows registry?
Technically, the data is stored in a protected section of the registry and system configuration files, but it is encrypted. Directly editing the registry to extract the password without special decryption keys is impossible and poses a risk to system stability.
Is it possible to see the password on the lock screen?
No, the Windows 10 lock screen doesn't display Wi-Fi passwords. To view them, you must be signed in with a user account that has permission to change network settings.