Needing to connect a new device to a wireless network but losing or forgetting the access key is one of the most common problems in home IT troubleshooting. Users often change the default combinations to more complex ones for security reasons, but human memory isn't always capable of retaining a set of ten random characters. Fortunately, the Windows operating system and routers themselves store this information in hidden partitions, allowing access to be restored without completely reconfiguring the equipment.
There are several proven methods to find out security key network, if you've connected to it from this computer at least once. We'll cover methods ranging from simply viewing network properties in the Windows interface to using the command line for more advanced users. The specific method you choose depends on your operating system version and your level of access to the physical device.
It's important to understand that all of the steps described below require administrator rights on the computer. If you're using a corporate device, security policies may block access to saved passwords. At home, these restrictions are rare, so you can use any of the suggested algorithms without any problems.
Finding a password through the Windows graphical interface
The easiest and safest way to find out WPA2 key or WPA3—use the operating system's standard tools if the computer is currently connected to the network or has previously connected. Windows automatically saves connection profiles, encrypting passwords, but provides a legal mechanism for authorized users to view them.
First, you need to open the Network and Sharing Center. Press the following key combination: Win + R, enter the command ncpa.cpl and press Enter. In the window that opens, find the icon Wireless network, right-click on it and select "Status." Next, go to the wireless network properties and open the "Security" tab.
At the bottom of the window, you'll see the "Network Security Key" field, where the characters are hidden by asterisks. To see the actual password, check the "Show entered characters" box. The system may ask you to confirm administrator rights—agree, and the combination will become visible.
⚠️ Attention: If the Security tab is missing or the Show characters as you type button is grayed out, this may mean that the current user does not have sufficient rights, or the network profile was saved with Group Policy restrictions.
This method works stably on all modern versions of Windows, starting from Windows 7 and ending Windows 11However, it only allows the password for the network to which the device is currently connected or has previously connected and saved the profile.
Using the Command Prompt to Restore Access
For users who prefer faster access to system settings or who are limited by the graphical interface, the command line is ideal. This method allows you to display a list of all saved networks and their passwords in plain text, which is especially convenient when working with a large number of profiles.
Launch the command prompt as administrator. To do this, right-click the Start menu and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". First, you need to find out the exact name of the network profile, which is often the same as the WiFi profile name, but may differ.
netsh wlan show profiles
Once the list is displayed, find the desired network name. Then enter the command to display detailed information, adding the key key=clear, which tells the system to show the key in clear text:
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 the password you're looking for. This method is universal and works even in cases where the graphical interface may malfunction.
Using the console, you can not only enter a password but also copy it directly to the clipboard by selecting the text with the mouse. This eliminates errors when manually entering complex characters on other devices.
Physical inspection of the router and factory settings
If none of the software methods work because the computer has never connected to the network or the profile has been deleted, the only option is to turn to the physical device. Most manufacturers leave the factory credentials on a special sticker located on the bottom or back of the case.
This sticker usually contains the following information:
- 🏷️ SSID — by default, the network name, often including the router brand (for example, TP-LINK_0254).
- 🔑 Wireless Password / PIN — factory password, which is valid until the first change by the user.
- 🌐 IP address — the address to log into the web interface (often 192.168.0.1 or 192.168.1.1).
- 👤 Login/Password — login details for the router settings.
It's worth noting that this method will only work if you or the previous owner didn't change the default password during initial setup. If the password was changed, the sticker will be useless for restoring WiFi access, but it may be useful for logging into the control panel.
⚠️ Attention: Don't confuse the WiFi password (Wireless Password) and the administrator password (Login/Password). These are two different combinations, although on some models they may be the same by default.
In modern models from Keenetic, Asus And MikroTik Security has been enhanced, and factory passwords may be missing, requiring you to enter your personal data upon first boot. In this case, look for the data you wrote down in a notepad or a file on your computer, if you saved it.
Login to the router's web interface
If your computer is connected to the router via cable or WiFi (even without internet access), you can try to reset the password through the device's web interface. To do this, you'll need the gateway IP address and your control panel login credentials.
The algorithm of actions is as follows:
- Open any browser and enter the router's IP address in the address bar (standard:
192.168.0.1,192.168.1.1,192.168.31.1). - Enter your administrator username and password. If they haven't changed, try the default ones:
admin/adminor data from the sticker. - Go to the wireless network section. Depending on your model, this may be a tab
Wireless,WLAN,WiFiorWireless mode. - Find the "Password" or "Key" field, which is often hidden by asterisks. Some interfaces have a "Show" or "Eye" button.
Interfaces from different manufacturers vary greatly. TP-Link The settings are usually located in the "Wireless" -> "Wireless Security" section. Asus — in the "Administration" -> "System" menu or directly on the main page in the "System Status" section.
| Router brand | Typical IP address | Path to WiFi settings | Standard login |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | admin |
| Asus | 192.168.1.1 | Wireless Network -> General | admin |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | admin |
| Keenetic | 192.168.1.1 | My Networks and WiFi -> Home Network | admin |
| Xiaomi | 192.168.31.1 | WiFi Settings -> Password | admin |
If your control panel is locked with an unknown password and the default combinations don't work, this method won't work without resetting the settings. Attempts to brute-force the administrator password may result in a temporary IP address block.
What to do if the router's IP address has changed?
If the default addresses don't open the setup page, find the current gateway using the command line. Enter the ipconfig command and find the "Default Gateway" line in the section for your adapter.
Resetting the router to factory settings
When the password is lost, changed, or not written down, and accessing the network is vital, a radical yet effective method remains: a hard reset. This will return the router to its out-of-the-box state, restoring the factory password from the sticker.
To perform a reset, locate the small hole on the device's case, often labeled as Reset or DefaultTake a paperclip or toothpick, press the button inside the hole, and hold it for 10-15 seconds until the router's indicator lights flash simultaneously. The device will then reboot.
Consequences of the reset:
- 🔄 The WiFi network will be named as on the sticker, and the password will be restored to the factory default.
- 📉 All user settings (PPPoE connection type, static IP, DNS) will be deleted.
- 🌐 The Internet may stop working until you reconfigure the router using the quick setup wizard.
⚠️ Attention: Before resetting, make sure you have your contract with your provider or the internet setup information (login, password, connection type). Without these, you'll be left with a working router after the reset, but without internet access.
This method requires time to reconfigure, but it guarantees you'll regain control of your device. After resetting, be sure to set a new, complex password and write it down in a safe place.
☑️ Preparing to reset your router
Specialized software and saved profiles
There are numerous WiFi connection management programs that can help extract saved passwords. However, extreme caution is advised: many of these utilities are flagged by antivirus software as potentially unwanted programs, as they use the same methods of infiltrating the system as stealer viruses.
One of the proven and safe utilities is WirelessKeyView from NirSoft. It doesn't require installation and simply reads keys from the Windows registry. Running the program as an administrator will display a list of all networks and their keys in the registry column. Key (Ascii).
Using third-party software is justified if standard Windows tools are damaged or unavailable. However, for a one-time password recovery procedure, it's easier and safer to use the built-in command line described above.
Frequently Asked Questions (FAQ)
Is it possible to find out a WiFi password if the computer has never connected to it?
Without physical access to the router or knowledge of the administrator password—no. The computer doesn't store information about networks it hasn't connected to. You'll have to use a reset or find a device already connected to that network and find the password there.
Where are WiFi passwords stored in the Windows registry?
Passwords are stored in encrypted form along the path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesHowever, you can't simply find them there—they're a set of hexadecimal characters. Deciphering them requires special permissions and algorithms, which are implemented in the commands. netsh.
Why does Windows say "Can't view your network security key"?
This message appears if your account doesn't have administrator rights. This error may also occur if the network was configured through an organization's group policy that prevents viewing keys for security reasons.
Will the router reset internet settings after a reset?
Yes, a hard reset returns your device to factory settings. All settings configured by your ISP (PPPoE, L2TP, VLAN) will be deleted. You'll need to re-enter your ISP username and password to get your internet connection working.
Is it possible to recover a password via an Android phone?
On Android 10 and above, you can save a saved WiFi password. Go to Settings -> WiFi, tap the gear icon next to the desired network, and select "Share" (QR code). The password is often displayed in text format below the QR code, or it can be scanned by another phone.