Needing to connect a new device to a wireless network but forgetting the password is one of the most common problems in home IT. Fortunately, the operating system Windows Saves information about previously connected networks in its security profile. This allows the computer owner to recover a forgotten password without having to reset the router or contact the ISP.
There are several proven methods to find out security key (PSK) directly through the OS interface or using system utilities. The choice of a specific method depends on the operating system version, user access rights, and whether the device is currently connected to the network. Below, we'll discuss the most effective solutions.
Some methods require administrator privileges because they affect system security settings. If you're working on a corporate computer, access to these features may be restricted by your organization's security policies. At home, you typically have full control over your machine.
Viewing a password through the Windows graphical interface
The easiest and most secure way to find a saved password is available to every user through the standard network connections menu. This method requires no command input and works equally well in Windows 10 and newer versions. The only requirement is that the computer must be connected to a Wi-Fi network or have a saved connection profile.
To begin, open the Network Control Panel. In modern versions of the interface, you can do this by right-clicking the network icon in the system tray and selecting Open Network & Internet SettingsNext you need to find the link Network and Sharing Center or go straight to managing known networks.
In the window that opens, find the list of available adapters and select your wireless connection. It is usually labeled as Wireless network or the name of your router. After opening the connection status, click the button Wireless network propertiesA dialog box with tabs will open in front of you, where we are interested in the section Security.
On the Security tab, you'll see a field displaying the network security key. By default, the symbols are hidden by asterisks. To see them, check the box next to the item. Show entered charactersThe system may prompt you to confirm administrator rights, after which the password will become visible in plain text.
⚠️ Attention: If the "Properties" button is grayed out or hidden, make sure you're using an account with administrator privileges. On corporate networks, access to Wi-Fi properties is often blocked by group policies.
Using the Command Prompt to Restore Access
For more experienced users who prefer the command line, the operating system offers a powerful tool netshThis method not only allows you to view the password for the current network but also displays a list of all previously saved profiles. This method is especially useful if the graphical interface is not working correctly.
First, you need to launch the command prompt as administrator. Press the key combination Win + X and select Windows PowerShell (Admin) or Command Prompt (Administrator)In the window that opens, enter the command to display all saved profiles:
netsh wlan show profiles
Find your network's exact name (SSID) in the list. Then, use the following command, substituting your network name for the example:
netsh wlan show profile name="Network_Name" key=clear
After running the command, the system will generate a detailed profile report. We are interested in the section Security parameters. In the line Key content The password you're looking for will be displayed in clear text. This method works even if you're not currently connected to the router, as long as the profile was previously saved.
Checking via the router's web interface
If your computer isn't connected to Wi-Fi or the profile has been deleted, the only way to find the password is to access the router's settings. To do this, you'll need to connect to the router via an Ethernet cable or via WPS, if supported and enabled.
Open any browser and enter the device's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password for accessing the router, are usually indicated on a sticker on the bottom of the router. The standard authorization data is often admin/admin.
After successful authorization, go to the wireless network settings section. It may be called Wireless, Wi-Fi or Wireless modeFind the subsection inside Security or Wireless SecurityIt is here in the field PSK Password or Password The current access key is displayed.
| Router manufacturer | 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 | 1234 |
Interfaces may vary between models, but the logic remains the same: look for the section related to wireless connection. If you've previously changed the router password and forgot it, you'll have to perform a factory reset (hard reset), which will require you to reconfigure your internet connection.
☑️ Preparing to log into the router
Third-party Wi-Fi management utilities
There is specialized software that automates the process of viewing saved networks. One of the most popular and time-tested utilities is WirelessKeyView from NirSoft. The program requires no installation and works immediately after launch.
The utility scans the system registry and extracts all saved wireless network keys. In the main program window, you'll see a list of SSIDs and their corresponding security keys in hexadecimal and ASCII formats. The data can be copied to the clipboard or saved to a text file.
Using third-party software carries certain risks. Download programs only from the developers' official websites to avoid virus infections. Antivirus programs may flag such utilities as potentially unwanted programs (PUPs) because they access confidential data.
⚠️ Attention: Using password interception software on other people's networks is illegal. All described methods are intended solely for restoring access to your own networks.
Why does my antivirus complain about WirelessKeyView?
Antivirus programs classify such programs as "HackTool" or "RiskTool" because they can extract passwords. If you downloaded the utility from the official website nirsoft.net, this is a false positive, and the program can be added to the exceptions list.
Working with the Windows Registry
For advanced users who want to understand where data is physically stored, you can consult the system registry. The keys are stored in encrypted form along the path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesHowever, direct reading will not yield results in an understandable form without deciphering.
A more useful section is the WLAN profile storage. The system uses a complex encryption mechanism tied to the user account. Directly editing or manually extracting the password from here is virtually impossible without specialized scripts or the aforementioned utilities.
It's recommended to use this method only to diagnose the presence of profiles or to remove them in the event of connection errors. For viewing passwords, the command line or GUI remain much more effective and secure.
Restoring access on mobile devices
It often happens that you need to know the password not for a PC, but to connect another device, and the easiest way to view it is on an already connected smartphone. On Android (versions 10 and above) and iOS (versions 16+), this feature is built into the system.
On Android, go to Wi-Fi settings, select the desired network and press Share or QR codeThe password is often displayed in text format beneath the graphic code. On an iPhone, in the Wi-Fi settings, tap the information icon (i) next to the network and tap the hidden password field. The system will prompt you for FaceID or TouchID and display the symbols.
This method is especially convenient when you don't have a computer with a saved profile handy, but you do have a phone that's already successfully connected to the hotspot. After viewing the profile, you can manually enter the combination on your PC or scan the QR code with your laptop's camera, if it has that feature.
Frequently Asked Questions (FAQ)
Is it possible to find out the password if the computer has never connected to this network?
No, the operating system only stores passwords that have been entered for a successful connection. If the PC has never connected to the router, the system has no security key information. In this case, the only solution is to look for a sticker on the router or access its settings via a cable.
What should I do if the netsh command says "Wireless interface element not found"?
This error means there are no drivers for the Wi-Fi adapter in the system, or the adapter itself is disabled. Check Device Manager to ensure the wireless module is enabled and working properly. Also, make sure you're running the command prompt as an administrator.
Is it safe to save passwords in Windows?
Yes, Windows stores them in encrypted form, linked to your account. However, if an attacker gains physical access to your computer and administrator privileges, they can extract this data using specialized tools. Never save personal passwords on public computers.
How to reset a forgotten router password?
If you don't remember your Wi-Fi password or the router settings, a hard reset will help. There's a small hole with a button on the router body. Press and hold it for 10-15 seconds (usually with a paperclip) while the router is powered on. This will reset the router to the factory settings indicated on the sticker.