It's quite common to need to connect a new device to a wireless network but have forgotten or lost the password. Fortunately, the operating system Windows 10 Stores access keys to previously connected networks in a secure registry. This allows the computer owner to easily recover a lost password combination without having to reset the router or search for the ISP contract.
There are several proven methods for extracting this information, ranging from the system's graphical interface to using the command line for more advanced users. It is important to understandTo perform these steps, you must have physical access to a device that is already connected to the network or has been connected previously. In this article, we'll detail the steps to quickly restore access.
Some methods require administrator rights due to system security settings. We'll cover both standard OS tools and the router's web interface, which is especially useful if the computer isn't currently connected to the network. Key point: you can only recover the password for networks whose profile is already saved in your laptop's memory.
Viewing the password through the Network and Sharing Center
The easiest and most accessible way to find a forgotten password combination is to use the operating system's standard graphical interface. This method doesn't require any special commands and is suitable for most users. However, it only works if your laptop is currently connected to the desired wireless network or has connected to one in the past.
First, you need to open the list of available connections. Right-click the Wi-Fi icon in the lower-right corner of the screen (in the notification area) and select Open Network & Internet Settings. Next, in the window that opens, find the link Network and Sharing Center, which is usually located at the bottom of the window or in the "Status" section.
In the window that opens, find the name of your active wireless network (it's highlighted in blue next to "Connections") and click on it. A small status window will open, where you need to click the button Wireless network properties. Go to the tab Security and check the box next to the item Show entered characters.
⚠️ Attention: If the Security tab is not visible or the fields are locked, it may mean that your account does not have administrator rights or the network profile is corrupted.
After removing the camouflage in the field Network security key The desired combination will be displayed. We recommend copying or rewriting it immediately to avoid entering errors on other devices. This method is standard and does not require installing additional software.
Using the command line to recover the key
For more advanced users or in cases where the graphical interface does not work correctly, the command line is a great tool. WindowsThis method not only allows you to view the password for the current network but also displays a list of all saved profiles and their access keys. This is especially useful if you need to find the password for a network your laptop hasn't connected to in a while.
To launch the utility, press the key combination Win + R, enter cmd and press EnterFor the command to run successfully, it's recommended to run the command prompt as administrator. First, list all saved Wi-Fi profiles by entering the command: netsh wlan show profilesFind the exact name of the required network in the list.
Next, we use a command to display details for a specific profile. The command syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
Instead of Network_name Enter the name of your Wi-Fi network that you found in the previous step. Please note that if the name contains spaces, the quotation marks are required. After running the command, scroll down to the section Security parametersThe search key will be specified in the line Key content.
☑️ Check before entering a command
The advantage of this method is the ability to quickly copy the command and result text, eliminating errors when manually entering long and complex passwords. Furthermore, the console allows you to manage profiles, deleting old or unnecessary connections.
Finding the password in the router's web interface
If none of the above methods help, or if the laptop has never connected to this network (and therefore the profile is not saved), the only option is to access the router settings. To do this, you will need to connect the device to the router using LAN cable or connect to an open guest network if one is configured.
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.1However, the exact address depends on the device model and may be indicated on a sticker on the bottom of the device. After entering the address, the system will request a username and password to access the control panel.
| 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) |
| Keenetic | 192.168.1.1 | admin | admin |
After successful authorization, find the section responsible for the wireless network. It may be called Wireless, Wi-Fi, Wireless mode or WLAN. Within this section, look for the subsection Security (Security). Right there in the field PSK Password, WPA Pre-Shared Key or something similar will indicate the current password.
⚠️ Attention: Router interfaces are constantly being updated. Menu locations may vary by model. If you can't find the item you need, consult your device manufacturer's official manual.
What should I do if the default router password doesn't work?
If the default admin/admin password doesn't work, the password was previously changed. In this case, the only solution is to reset the router to factory settings using the Reset button on the router, after which you'll have to set up the internet again.
Restoring access via PowerShell
An alternative to the classic command line is a more powerful tool. PowerShellIt not only displays the password but also exports the network configuration in a readable format, which is convenient for system administrators. Run PowerShell as an administrator by searching for it in the Start menu.
The command to get the password is similar to the one used in CMD, but PowerShell can handle the output better. Enter:
netsh wlan show profile name="Name_of_WiFi" key=clear
Where Name_of_WiFi — your profile name. If you don't remember the exact name, first do netsh wlan show profilesIn the command output, look for the line Key Content (Key contents), where the password will be displayed in clear text.
This method is especially useful if the standard console produces encoding errors or does not correctly display special characters in the password. PowerShell Works better with Unicode and complex characters, ensuring that the key is displayed correctly.
Using third-party snails to manage Wi-Fi
There are many specialized programs that make it easier to manage wireless connections. Utilities such as WirelessKeyView from NirSoft or Wifi Password Decoder, scan the Windows registry and display all saved passwords in a convenient table format. They can be useful if standard system tools are unavailable for some reason.
However, using third-party software carries certain risks. Such programs should only be downloaded from the developers' official websites, as there are many counterfeit versions online that contain viruses. Antivirus programs may flag password recovery tools as potentially unwanted software (HackTools), as they use the same data access methods as attackers.
The advantage of such programs is the ability (with one click) to export all passwords to a text file or HTML document. This is convenient for backing up all your connections before reinstalling the operating system.
⚠️ Attention: Be extremely careful when downloading Wi-Fi hacks. Most of them either don't work or contain malicious code. Use only proven utilities from reputable software developers.
Common problems and solutions
Even following the instructions, users may encounter difficulties. For example, the "Network Security Key" field may remain grayed out and uneditable even with administrator rights. This often happens if the network profile was created by a different account or the system configuration file is corrupted.
In this case, delete the network profile and create it again. To do this, enter the following in the command line: netsh wlan delete profile name="Network_Name"After deleting, reconnect to the network by entering the password (if you have one on another device) or resetting the router.
Another issue is incompatible encryption types. If the router is configured for an older security standard, but the laptop requires a newer one, the connection may fail, and the password may not be visible. Make sure the encryption type is set correctly on the router. WPA2-Personal (AES), which is the most compatible and secure one at the moment.
Is it possible to find out my neighbor's Wi-Fi password?
No, it's impossible to legally find out someone else's network password without access to the router or connected device. All the described methods only work with profiles saved on your own computer. Attempting to hack someone else's network is illegal.
Where can I find a QR code with a password on Windows 10?
This feature isn't available in Windows 10, but it's added in Windows 11. In Windows 10, you can generate a QR code using third-party apps or online services by entering a known password to quickly connect your phone.
What should I do if I forgot my router password to access the settings?
If you've changed your router's admin panel password and forgot it, the only solution is to perform a full factory reset. To do this, press and hold the Reset button on the router for 10-15 seconds.
Is the password saved in the Windows registry?
Yes, Windows stores passwords in a protected part of the registry. This is where netsh commands and third-party programs retrieve them. Password files are protected by system encryption keys.