It's quite common to need to connect a new device to a wireless network but lose or forget the access key. Fortunately, if you've previously connected your computer or laptop to the same access point, the operating system may have automatically saved the credentials. This eliminates the need to completely reset the router or search for your ISP contract.
In modern versions of Microsoft operating systems, such as Windows 10 And Windows 11The process of extracting saved keys is as simple as possible for the average user. You don't need complex third-party utilities or extensive programming knowledge; you just need to know where the necessary security parameters are hidden in the system interface.
However, it's important to keep in mind that only users with administrator rights have access to this information. If you're working on a corporate computer or device configured by a system administrator, some methods may be blocked by the organization's security policies. At home, this usually doesn't pose a problem, and you can restore access in minutes.
Viewing a password through the Windows graphical interface
The easiest and most reliable way to find the access key is to use standard network connection management tools. This method works reliably on all current OS versions and doesn't require complex commands. Simply navigate through the menus to access the wireless adapter's security properties.
First, open the Network Control Panel. You can do this by right-clicking the Wi-Fi icon in the system tray (near the clock) and selecting Network and Internet settings, and then find the link to additional settings, or simply search for "Network Status" in the system search. In the window that opens, select your active connection. Wireless network.
In the connection status window, click the button Wireless network propertiesA dialog box with several tabs will open. Switch to the tab SecurityThis is where the "Network Security Key" field is located, with the symbols hidden behind dots or asterisks to protect them from prying eyes.
☑️ Check access rights
To see hidden text, check the box next to the text Show entered charactersThe system may prompt you to confirm administrator rights via a UAC pop-up. Once confirmed, the dots will turn into readable text that can be copied or written down.
⚠️ Attention: If the Network Security Key field is grayed out, it may mean that the network profile was saved only for the current user and you are logged in with a different account, or the profile was imported without saving the key.Using the command line to retrieve data
For more advanced users or in situations where the graphical interface does not work correctly, the command line is a great tool. cmdThis method not only allows you to view the password for the current network, but also displays a list of all saved profiles, which is especially convenient when working with multiple connections.
Launch the Command Prompt as administrator. To do this, right-click the Start button and select
Windows PowerShell (Administrator)orCommand Prompt (Administrator)First, it's helpful to know the name of your network profile in the system, as it may differ from the router's SSID.Enter the command to list all saved profiles:
netsh wlan show profilesFind your network name in the list. Then use the following syntax to display details, including the key:
netsh wlan show profile name="Your_Network_Name" key=clearIn the command output, find the section Security parameters (Security settings). Line
Key content(Key Content) will contain the password you're looking for in cleartext. This method works even if you're not currently connected to the network, as long as the profile is saved to your computer's memory.What to do if the command fails?
If the system reports "Access Denied," make sure you're running the console as an administrator. If it reports "Network Not Found," check the exact profile name in the list using the show profiles command, taking into account case and spaces.
Using the console gives more detailed information about the encryption type (eg. WPA2-Personal or WPA3) and authentication type. This can be useful when diagnosing compatibility issues between older devices and newer routers.
Finding a password through the router settings
If none of the computer-based methods work, you can always check the router's settings directly. To do this, you'll need to access the device's web interface, which is usually accessed through a browser. This method is universal and works on any operating system, including Linux and macOS.
Open your browser and enter your router's IP address into the address bar. Most often, this is
192.168.0.1or192.168.1.1The exact address, as well as the login and password, are often found on a sticker on the bottom of the device. If you've changed your login information and forgotten it, you'll need to reset the router to factory settings.After logging in, find the section responsible for the wireless network. It may be called Wireless, Wi-Fi Settings or
Wireless mode. Inside this section, in the security subsections (Wireless Security), the current network name (SSID) and password (PSK Password) will be displayed.
Manufacturer Entrance address Menu section Field name TP-Link 192.168.0.1 Wireless -> Wireless Security Wireless Password ASUS 192.168.1.1 Administration -> System WPA-PSK password D-Link 192.168.0.1 Wi-Fi -> Security Settings PSK encryption key Keenetic my.keenetic.net My Networks and Wi-Fi Network password The interfaces of different router models may vary significantly, but the search logic remains the same: look for the wireless section and security settings. Don't forget to save your changes if you decide to change the password to a more complex one directly in this window.
Restoring access via PowerShell
An alternative to the classic command line is a more powerful tool. PowerShell. It offers the same capabilities but uses a modern syntax that can be more convenient for automating processes or scripts. This method is especially relevant for Windows 10 and 11 users.
Run PowerShell as administrator. The command for displaying profile information here is the same as the one used in cmd, as both tools access the same WLAN AutoConfig system service.
Enter the following command, replacing
Network_Nameto your SSID:netsh wlan show profile name="Network_Name" key=clearThe output will be identical to the command line output: you'll see a security block and a line containing the key. The advantage of PowerShell is that the output can easily be redirected to a text file for historical purposes or for sharing with a technician.
📊 Which method do you find more convenient?Through network propertiesVia the command lineVia a routerUsing third-party programsIt's worth noting that PowerShell also allows for more flexible management of network adapters, such as enabling or disabling the Wi-Fi module programmatically, which can be useful when troubleshooting an unstable connection.
Using third-party snails to manage Wi-Fi
There are many specialized programs that can display saved passwords, analyze signals, and manage connections. Popular utilities such as WirelessKeyView from NirSoft or WiFi Password Decoder can instantly show all the keys ever entered on the computer.
However, using such software requires caution. Antivirus programs may detect them as potentially unwanted programs (PUP), as they access sensitive system data. Such tools should only be downloaded from the developers' official websites.
⚠️ Attention: Be extremely careful when downloading "password recovery" tools. Many of them contain adware or viruses. Use time-tested utilities from reputable vendors.The main advantage of third-party programs is the ability to export a list of all passwords to a single file or QR code, which is convenient for quickly transferring data to guests or when moving to a new residence with a large number of smart devices.
What to do if your password is nowhere to be found
In rare cases, a computer may connect to the network automatically (for example, via the WPS button or a corporate certificate), but the password itself is not stored in plain text. This can also happen if the profile has been corrupted or deleted by system cleaners.
In this situation, there are two main options. The first is physical access to the router. If you have access to the device, many modern models have a button.
WPSBy clicking it and selecting WPS connection on your computer, you can connect without entering the key, although the password itself won't reveal this.The second, more radical method is to reset the router to factory settings. To do this, hold down the button Reset Press the key on the router body for 10-15 seconds. After this, the device will return to its out-of-the-box state, and the password will be the one on the sticker. But remember: this will require reconfiguring your internet connection (PPPoE, L2TP, etc.) if your provider doesn't use automatic detection.
Before resorting to extreme measures, try finding your contract with your provider or logging into your personal account on the service provider's website. You can often find your access details in the equipment or plan section there, or even restore them through customer support.
Is it possible to find out the Wi-Fi password on someone else's computer?
Technically, if you have physical access to the computer and administrator privileges, you can use the methods described above (cmd or network properties) to view saved keys. However, using this knowledge to access other people's networks without the owner's permission is a violation of computer security laws.
Why is the "Show characters" field inactive?
This often happens if you're trying to view the password for a network to which the computer is connected via a corporate certificate (WPA-Enterprise) rather than a simple key. It can also occur if you don't have administrator rights or if the network profile was created system-wide and doesn't store the key in plaintext.
Is it safe to store passwords in Windows?
The operating system encrypts stored passwords, linking them to the user account. As long as your computer is protected by a strong login password and is not infected with stealer viruses, storing Wi-Fi keys is considered fairly secure.
How do I view my password on a Mac if I'm on a PC?
This article is about Windows, but on macOS, passwords are stored in Keychain Access. You can find them in the Keychain Access app by finding the network name and checking the "Show password" box. You'll then be prompted to enter the password for your Apple ID or user account.