It's common to need to connect a new device to your home network but have forgotten your Wi-Fi password. Fortunately, the Windows operating system stores the security keys for every network your computer has ever connected to. This allows you to quickly restore access without having to reset your router or find your ISP contract.
In this article we will look at the most effective methods that will help recover a forgotten password in minutes. We use both standard system graphical interfaces and more advanced tools like the command line. You can choose the method that's most convenient and intuitive for your OS version.
It is important to understand that we are talking exclusively about networks to which your device has already been connected. Hacking someone else's Wi-Fi is illegal, and the instructions below have nothing to do with it. All methods rely on the operating system's default functionality and the administrator rights that every computer owner has.
Finding a password through the Windows 10 and 11 graphical interface
The easiest way to find your security key is to use the operating system's built-in tools. If you're currently connected to the desired network, the process takes just a few clicks. In newer versions of Windows 11, the settings interface has been significantly redesigned, so let's look at both options.
For users Windows 10 The procedure is as follows: open "Settings" from the "Start" menu and go to "Network and Internet." In the window that opens, select "Change adapter settings," then double-click the active Wi-Fi connection icon. In the status window that appears, click "Wireless network properties," go to the "Security" tab, and check "Show characters as you type."
To the owners Windows 11 Microsoft has made things a bit more complicated by moving the settings to a deeper menu. Go to "Settings," select "Network & Internet," and then scroll down to "Advanced network settings." There, find the "Advanced sharing settings" link, or look for "Manage known networks" first. Select the desired network from the list and click "View" or "Show" next to the security key field.
⚠️ Attention: If the Security tab is grayed out or the Show characters check box is unavailable, it may mean that your account does not have administrator rights or your network security settings are managed by your organization's group policies.
This method is the most secure, as it doesn't require entering any commands. However, it only works if the computer has previously successfully connected to this access point and saved the connection profile. If the profile has been deleted, you'll need to use the other methods described below.
Using the command line to recover the key
For those who prefer a text-based interface or can't find the necessary menus in the graphical shell, the command line is an excellent solution. This method is universal and works on almost all versions of Windows, starting with XP. It allows you to not only view the password for the current network but also retrieve the keys for all saved profiles.
First, you need to launch the command prompt as an administrator. Right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". First, enter the command netsh wlan show profilesto see a list of all saved networks. Find your network's exact name (SSID) in the list.
Once the network name is found, enter the following command, replacing NAME to the name of your network:
netsh wlan show profile name="NAME" key=clear
In the detailed information window that opens, scroll down to the "Security Settings" section. We're interested in the "Key Content" line. The value displayed next to this line is the password you're looking for. This method is especially useful when you need to quickly copy a complex key consisting of many characters.
Viewing the password through the router's web interface
If your computer isn't connected to Wi-Fi or the network profile has been deleted, the only way to find the password is to access the router's settings. To do this, your device must be connected to the router by another means, such as a LAN cable, or you can use your smartphone if it's already connected to the network.
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, as well as the login and password, are usually located on a sticker on the bottom of the device. After logging in (the default credentials are often admin/admin), find the section related to the wireless network.
Depending on the router model (TP-Link, ASUS, D-Link, Keenetic), the tab names may vary. Look for the "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN Settings" sections. Within this section, in the "Security" or "Basic Settings" subsections, you'll find a "Password," "WPA/WPA2 Key," or "PSK Password" field. There, you can not only view the current password but also set a new one.
| Router brand | Standard IP | Menu section | Field name |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Password |
| ASUS | 192.168.1.1 | Wireless Network -> General | WPA Pre-shared Key |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | PSK encryption key |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi -> Home Network | Password |
This method gives you complete control over your network settings. You can not only restore access but also strengthen security by changing the encryption type to a more secure one. WPA2-PSK or WPA3, if your hardware supports it.
What should I do if the standard login and password don't work?
If the default credentials (admin/admin) aren't correct, they may have been changed previously. In this case, the only solution is to reset the router to factory settings using the Reset button on the device. After that, the router will need to be configured again.
Specialized programs for Wi-Fi management
There are many third-party utilities that allow you to manage wireless connections and display saved passwords in a convenient format. One of the most popular and time-tested tools is WirelessKeyView from NirSoft. It requires no installation and works immediately after launch.
The application scans the Windows registry and extracts all saved wireless network profiles. In the main program window, you'll see a list of networks, the encryption type, and, most importantly, the ASCII key (the password itself). The application supports exporting data to a text file, HTML, or XML, making it convenient for backing up all your keys.
Another useful utility is WiFi Password DecryptorIt features a more modern interface and allows you to not only view but also recover passwords that may have been damaged or hidden. However, be careful: many antivirus programs may classify such programs as potentially unwanted programs, as they access sensitive system data.
- 🔹 WirelessKeyView — a lightweight, portable utility without installation, ideal for one-time use.
- 🔹 WiFi Password Decryptor — a powerful tool with a graphical interface and recovery function.
- 🔹 NirSoft Utilities — a set of tools from a reliable developer, frequently updated.
⚠️ Attention: Download such snails only from the developers' official websites. Versions from unverified sources may contain viruses or Trojans that will steal your data.
Mobile apps and QR codes
In today's world, smartphones are often the primary device for internet access. If you have an Android smartphone that's already connected to the desired Wi-Fi network, you can easily find out the password and transfer it to your computer. In Android 10 and later, this feature is built into the system.
Go to your phone's Wi-Fi settings, tap the name of your active network, or the gear icon next to it. Select "Share" or "QR code." A code will appear on the screen. Scanning it with another device will allow you to connect without entering a password. Often, the password is also written in small print below the QR code.
For iPhone owners, the situation is more complicated due to the closed nature of iOS. A direct way to view a password in plain text in Settings only became available in iOS 16. To do this, go to "Settings" -> "Wi-Fi," tap the "i" icon next to the network, and tap the hidden dots in the "Password" field. The system will ask you to confirm the action using Face ID or Touch ID, after which the password will be displayed and can be copied.
☑️ Check before resetting your router
Access issues and administrator rights
Users often encounter a situation where everything is correct, but the system refuses to display the password. This is due to Windows security policy. Viewing security keys requires permissions. administratorIf you are working under a Guest or Limited User account, the system will block access to this data.
Corporate policies should also be considered. If the computer belongs to an organization, the system administrator may have blocked the ability to view passwords through Group Policy (GPO). In this case, even having local administrator rights may not help, as the restriction is enforced by the domain server.
Another possible cause is a corrupted network profile. If Windows didn't save the connection information correctly, the password field may be empty or contain errors. In this case, deleting the network profile ("Forget network") and reconnecting with the correct password, which can be found through the router or another device, can help.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if I have never connected to this network from this computer?
No, a computer can't know the password for a network it's never connected to. In this case, the only solution is the router (if you have physical access), another device that's already connected, or a contract with your ISP.
Where can I see my password if I have a Mac (macOS)?
On macOS, passwords are stored in Keychain Access. Open the app via Spotlight, find your network name, double-click it, check "Show password," and enter your Mac account password.
Is it safe to save a password in Windows?
Yes, Windows encrypts saved passwords. However, if an attacker with administrator rights gains access to your computer, they can easily extract these passwords using the utilities described in this article.
What should I do if my router requires a password to access its settings, but I don't remember it?
If the default password (admin/admin) doesn't work and has been changed, the only solution is to reset the router to factory settings. To do this, press and hold the Reset button on the device for about 10-15 seconds.
Can a virus steal saved Wi-Fi passwords?
Yes, malware that has gained administrator privileges can read saved profiles and send them to attackers. Therefore, it's important to have an antivirus installed and avoid running suspicious programs.