It's quite common to need to connect a new device to your home network but lose or forget the password. Fortunately, if your computer is already connected to this network or has been connected before, the Windows operating system may have saved this information in its profile. This allows you to regain access without having to reset your router or find your ISP contract.
There are several proven methods for extracting this information using standard system tools or third-party software. In this article, we'll detail the steps for different versions of Windows, as well as a universal method for accessing the router's web interface.
It is important to understandPlease note that to perform most of the actions described below, you will need administrator rights on your computer. Without the appropriate rights, the system will not allow you to view saved security keys to protect your data.
Using the Windows graphical interface
The easiest and safest way, which doesn't require knowledge of complex commands, is to use the built-in network settings menu. This method works reliably on all modern versions of the operating system, from Windows 7 to Windows 11You don't need to install any additional software, as all the functionality is already integrated into the system.
First, open the Network and Sharing Control Panel. The interface may be slightly different in newer versions of Windows 10 and 11, but the logic remains the same. You need to find the active connection and its properties. Note that this method will only show the password for the network your computer is currently connected to.
⚠️ Note: If you are using a laptop with two network adapters, make sure you select a wireless connection and not Ethernet, as a wired connection does not have a password in the traditional sense.
After opening the wireless network properties, go to the security tab. This is where the encrypted key is stored. By default, the "Network Security Key" field is hidden behind asterisks. You need to check the "Show entered characters" box.
Security key The message will immediately become visible in plain text. You can copy it or rewrite it. This method is preferred by regular users, as it eliminates the risk of accidentally changing system settings.
Password recovery via command line
For more advanced users or when the graphical interface isn't working correctly, the command line is ideal. This tool provides direct access to wireless network profiles stored on the system. This method is universal and allows you to view passwords not only for the current network but also for all previously connected networks.
To get started, launch the Command Prompt with administrator rights. You can do this by searching in the Start menu, right-clicking, and selecting the appropriate option. In the window that opens, enter the command to display a list of all saved WiFi profiles.
netsh wlan show profiles
After running the command, you'll see a list of all networks the computer has ever connected to. Find your network name (SSID) in the list. Then, use a more detailed command to display information about a specific profile, including the key.
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the line "Key Content." This will contain the password you're looking for. This method is especially useful if you need to quickly access data without navigating through menus.
☑️ Check before entering commands
Please note that the network name in the command must match exactly, including spaces and case. If the name contains spaces, be sure to enclose it in quotation marks, as shown in the example above.
Viewing the key via PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt allows not only network management but also process automation. However, for the simple task of viewing a password, the syntax is similar to CMD, although the extension capabilities are much broader.
Launch PowerShell as administrator. Enter the command similar to the one you used in CMD, as PowerShell supports native commands. netshThis makes the transition between tools seamless for the user.
If the standard commands don't work (which is rare), you can use specific PowerShell cmdlets to manage network adapters. However, in 99% of cases, the standard syntax netsh is the most reliable and fastest solution.
Why is PowerShell sometimes better than CMD?
PowerShell has more powerful scripting and object handling capabilities, allowing you to, for example, automatically dump all passwords into a text file with a single command, but for a one-time viewing, this is overkill.
Using PowerShell is useful for system administrators who need to remotely manage network settings on multiple computers within a corporate network. For home users, the differences from CMD are minimal.
Checking via the router's web interface
If your computer isn't connected to the network or you want to find out the password for a new device, the best way is to access the router's settings. To do this, you'll need the default gateway address and your control panel login information.
Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address can be found through the command line by entering the command ipconfig and find the line "Default gateway".
After entering your login and password (often admin/admin by default, unless you've changed them), go to the wireless network section. Depending on your router model (TP-Link, ASUS, Keenetic), this section may be called "Wireless", "WiFi" or "Wireless network".
| Router brand | Typical address | Menu section | Parameter |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless / Wireless Security | Wireless Password |
| ASUS | 192.168.1.1 | Administration / System | WPA password |
| Keenetic | 192.168.1.1 | My Wi-Fi networks | Network protection |
| D-Link | 192.168.0.1 | Wi-Fi / Security Settings | PSK encryption key |
In this section, you can not only view your current password but also change it to a more complex one. After changing the settings, be sure to click "Save" or "Apply," otherwise the changes will not take effect.
Using third-party programs
There is specialized software that automates the process of extracting saved passwords. Programs like WirelessKeyView from NirSoft or WiFi Password Revealer are able to instantly display all keys stored in the Windows registry.
The advantage of these snails is the convenient data presentation: all passwords are displayed as a list that can be exported to a text file. This is convenient for backing up settings before reinstalling the system.
However, using third-party software carries certain risks. Antivirus programs may detect such programs as threats (like HackTools) because they extract sensitive information. Such utilities should only be downloaded from the developers' official websites.
⚠️ Warning: Be careful when downloading "password recovery" tools from unverified websites. Often, viruses or miners are disguised as useful software.
For one-time use, it's best to use the built-in Windows tools described above. Third-party software is recommended in situations where standard methods are blocked by group policies or system restrictions.
Common errors and access problems
When trying to find a password, users often encounter error messages. For example, Windows may report that you don't have permission to view network properties. In this case, make sure you're logged in as an administrator.
Another common issue is a profile name mismatch. The network name in the command line must be entered exactly as it is stored in the system. If the network was named "Home WiFi" and you enter "Home_WiFi," the command will return an error.
Another possible scenario is that the network profile is corrupted. In this case, the system may not display the security key even if access rights are granted. A solution may be to delete the network profile and reconnect with a known password.
If all else fails, the only option left is to physically reset the router. There's a Reset button on the device. Long-pressing it will restore factory settings, including the default password found on the sticker on the bottom of the device.
Wireless network security measures
Once you've regained access to your network, it's time to consider security. Using a weak password or encryption standard WEP makes your network vulnerable to hacking even by inexperienced hackers.
It is recommended to use an encryption protocol WPA2-PSK or modern WPA3These standards ensure reliable protection of transmitted data. Passwords must be complex and contain mixed-case letters, numbers, and special characters.
Changing your password regularly is also a good practice, especially if you occasionally have guests connecting to your network. This will minimize the risk of unauthorized access in the future.
Is it possible to find out the WiFi password on a locked computer?
No, viewing saved passwords in the system requires administrator privileges. This is a fundamental Windows security mechanism that prevents data theft by regular users or malware.
Where can I view my password if I'm using a Mac?
On macOS, passwords are stored in Keychain Access. Find the "Keychain Access" app, search for the network name, double-click it, and check the "Show password" box, confirming the action with biometrics or your account password.
What should I do if my router displays the factory password, but the internet doesn't work?
Most likely, your ISP changed the settings remotely or the PPPoE/L2TP settings are required. In this case, you should contact your ISP's technical support to confirm your connection settings.
Will the password be saved after reinstalling Windows?
No, a complete reinstallation of the operating system deletes all profiles and saved WiFi passwords. Before formatting the drive, we recommend copying any necessary data or taking a photo of the router settings.