It's quite common to need to connect a new device to an existing network but have lost or forgotten the password. Fortunately, the operating system Windows Stores data about previously used connections in a secure format. This makes it easy to restore forgotten password combinations without having to reset the router or reinstall drivers.
There are several proven ways to extract this data: through the system's graphical interface, using the command line, or by logging into the router's control panel. Each method has its own characteristics and is suitable for different OS versions. In this article, we'll take a detailed look at How to find out the Wi-Fi connection on a computer, using standard tools.
It's important to understand that for this procedure to be successful, your computer must be connected to the desired network or have a history of connections to it. If the device has never connected to this router, standard password recovery tools will not work, as the system simply has no way to retrieve this data.
Viewing your password through network settings in Windows 10 and 11
The simplest and most accessible method is to use the operating system's built-in settings. This method doesn't require knowledge of complex commands and is suitable for most users. The interface may differ slightly in recent versions of Windows, but the logic remains the same.
First, open the Network and Sharing Center. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Network and Internet settings." Next, look for the link "Network and Sharing Center" or "Advanced network settings," depending on your OS version.
In the window that opens, find your active wireless connection and click its name. A status dialog box will open, where you should select "Wireless Network Properties." Go to the "Security" tab and check the box next to "Show characters as you type."
⚠️ Important: If the "Security" tab is unavailable or the fields are locked, make sure you are logged in with administrator rights. Without the appropriate rights, the system will not allow you to view saved security keys.
After removing the mask, the password you're looking for will appear in the "Network Security Key" field. You can copy it or rewrite it. This method works reliably if your computer is currently connected to the router.
Using Command Prompt to Recover Data
For more advanced users or in cases where the graphical interface is not working correctly, using the command line is an excellent solution. netsh Allows you to manage network configurations and display hidden parameters in text form.
Run the command prompt as administrator. To do this, click Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". First, you need to find out the exact name of the network profile stored on the system.
Enter the command netsh wlan show profiles and press Enter. You'll see a list of all networks your computer has ever connected to. Find the required name (SSID) in the list and use it to get detailed information.
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 your password in cleartext. This method is especially useful if you need to quickly copy data or if the graphical menu freezes.
☑️ Check before entering commands
Viewing saved passwords via the Windows registry
The Windows registry is a centralized database where hardware and program settings are stored. While this is a more complex process, it allows you to see all saved profiles, even if they are not currently active.
Open the registry editor by typing regedit in the search bar. Follow the path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesNetwork identifiers are stored here, but the passwords themselves are stored elsewhere, often in binary form, making this method less convenient for the average user.
A more efficient registry path involves the WlanSvc keys, but Microsoft is constantly changing its data storage structure for security reasons. Therefore, for simple password viewing, it's best to use the command line or GUI, leaving the registry for in-depth diagnosis of connection issues.
Why are passwords in the registry encrypted?
The system encrypts sensitive data to prevent malware from easily stealing it. Directly reading the registry often reveals an incomprehensible string of characters without further decryption.
How to find out the password through the router's web interface
If your computer isn't connected to the network or you need to find the password for a new device, you can access the router's settings. To do this, the device must be connected to the router via cable or Wi-Fi (if you have the Wi-Fi password written down somewhere).
Open your browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1, 192.168.1.1 or 192.168.31.1The exact address is usually indicated on a sticker on the bottom of the device. You will need your username and password to access the admin panel.
After logging in, find the section related to wireless networking. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." In the "Security" subsection, you'll see a "Password/Key" field that displays the current access key.
| Router brand | Typical address | Menu section | Field name |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Password |
| ASUS | 192.168.1.1 | Wireless network | WPA Pre-Shared Key |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | PSK encryption key |
| Keenetic | 192.168.1.1 | My Network -> Wi-Fi Network | Password |
| Tenda | 192.168.0.1 | Wireless Settings | Wireless Password |
If the default credentials (admin/admin) don't work, they may have been changed previously. In this case, you'll need to reset the router to factory settings, which will result in the loss of all current configurations.
⚠️ Please note: Router firmware interfaces are frequently updated. Menu locations and item names may differ from those listed in the instructions. Always consult the latest documentation from your equipment manufacturer.
Wi-Fi password recovery software
There is specialized software that automates the process of extracting saved keys. Utilities such as Wireless Key View from NirSoft or WiFi Password Decoder, scan the system and list all known networks.
Using third-party software carries certain risks. Downloading programs from untrusted sources can infect your computer with viruses. Furthermore, many antivirus programs may classify such utilities as potentially unwanted software because they use methods similar to hacker tools.
It's recommended to use such programs only in extreme cases when built-in Windows tools don't work. Be sure to create a system restore point before running them. Keep in mind that these programs also require administrator privileges to run.
What to do if your password is nowhere to be found
If none of these methods have helped, the last option is to physically access the router or reset it. If you have access to the router, look at the sticker on the router. The factory Wi-Fi password is often listed there.
If you've changed your password and can't remember it, but need to connect urgently, you can reset it. There's a small hole with a button on the router body. Press it with a paperclip and hold it for 10-15 seconds until the indicators reset.
After resetting, the router will return to factory settings. Wi-Fi will work with the password on the sticker or without a password (open network). You will need to reconfigure your internet connection (PPPoE, L2TP, etc.), so make sure you have your ISP details.
To avoid similar problems in the future, experts recommend storing important data in a secure location or using password managers. You can also print a QR code with your network details so guests can connect by scanning it without being prompted for a password.
Is it possible to find out the password if the computer has never connected to this network?
No, the operating system doesn't store passwords for networks the device hasn't connected to. The only options are to look at the password on the router's sticker, ask the owner, or access the router's settings via a cable.
Is it safe to save a password in Windows?
Yes, it's safe if you're the only user of the computer and have a strong login password set on the device. If others have access to the PC, they could theoretically use the methods described in this article.
Why does netsh say "Access Denied" when I enter the command?
This means the command prompt is running as a standard user. Close the window, right-click "Command Prompt," and select "Run as administrator."
Where can I find the password on my router if the sticker has worn off?
If the sticker is illegible and the default password (admin/admin or the one specified in the instructions) doesn't work, a full reset using the Reset button will help. This will restore the factory settings.