Needing to connect a new device to your home network but losing or forgetting the security key is one of the most common IT support issues. Fortunately, the operating system Windows 10 Stores data about previously connected wireless networks in a special secure registry. This allows the computer owner to restore access to the router's settings or share the password with guests without having to physically reset the router.
Restoring access is possible using standard system tools, without installing additional software, although specialized utilities are available for advanced users. It's important to understand that you will need administrator rights on your account to perform these actions. If you're using a guest account or a restricted profile, the system may prompt you for confirmation or even block access to critical security settings.
In this guide, we'll examine three main methods for obtaining information about stored encryption keys. We'll cover the graphical interface, the command line, and third-party software. Each method has its own characteristics, advantages, and limitations, which will be detailed below.
Checking saved networks in system settings
The easiest and safest way to find out Wi-Fi password — Use the Windows Settings graphical interface. This method is ideal for users who don't want to mess with console commands. However, it's worth noting that the standard Settings menu only displays the password for the network you're currently connected to.
To get started, open the Start menu and go to Settings by selecting the gear icon. Next, navigate to Network & Internet, then Wi-Fi. Here, you'll need to find a link called "Change adapter settings" or "Network and Sharing Center," depending on your build version. Windows 10In the window that opens, click on the active wireless connection, after which a dialog box with the network status will appear.
In the status window, click "Wireless Network Properties." Go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default. To see the characters, check the "Show characters" box.
⚠️ Note: If the "Security" tab is empty or the buttons are grayed out, this may mean your account does not have sufficient permissions or the network profile is marked as "Public." On some corporate networks, access to these settings may be blocked by group policies.
Keep in mind that this method only works for the current active session. If you want to find out the password for a network you connected to a month ago but are currently in a different location, this method won't work. To view the history of all connections, you'll need to use more powerful tools, such as the command line.
☑️ Check access rights
Using the Command Prompt to View Keys
Command line (CMD) or PowerShell provide more flexible tools for managing network connections. Using the utility netsh You can list all saved profiles and display security keys in plain text. This method is considered the most reliable and works even if the graphical interface freezes.
To begin, launch the Command Prompt as administrator. Right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)." First, you need to get a list of all saved Wi-Fi profiles. Enter the command:
netsh wlan show profiles
The system will return a list of all networks this computer has ever connected to. Find the desired name (profile) in the list. Next, to find the password for a specific network, use the command followed by the profile name. The syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
Replace Network_Name The exact name of your profile from the list. Please note that if the name contains spaces, the quotation marks are required. After running the command, scroll to the "Security Settings" section. The "Key Content" line will contain the password you are looking for in cleartext.
What to do if the command returns an error?
If you see the message "Group Policy prevents the user...," it means access to the WLAN API is restricted by the system administrator. This is rare in home settings, but common in offices. The error can also occur if there's a typo in the profile name.
The advantage of the method is through netsh The ability to quickly copy the output or save it to a text file is a plus. You can add output redirection to save all network information to a file on your desktop, which is convenient for system administrators conducting security audits.
Network profile table analysis
When working with multiple networks, it's helpful to organize the information. Below is a table showing the profile data available through standard Windows diagnostic tools. Understanding these parameters will help you identify the right network among dozens of similar names.
| Parameter | Description | Where is it displayed? |
|---|---|---|
| Profile name | The SSID of the network under which it is stored in the system | List of profiles (netsh) |
| Security type | Encryption protocol (WPA2, WPA3, WEP) | Security tab |
| Security key | The network access password itself | Network Security Key field |
| Connection mode | Automatic or manual connection | Profile properties |
It is important to distinguish SSID (the network name visible during search) and the profile name (what Windows calls the saved configuration). Sometimes they're the same, but if you renamed the profile when you first connected, you need to search by the profile name. This is especially critical in the command line, as a single letter error will result in a message about the profile not being present.
The type of security also plays an important role. Old protocol WEP is considered extremely vulnerable and easily cracked. If your table shows that you are using WEP, it is strongly recommended to change the encryption type in your router settings to WPA2-Personal or WPA3Modern systems can even warn about weak security in such networks.
Third-party password recovery utilities
If standard methods seem too complicated or you require additional features, you can use specialized software. There are a number of programs available, such as WirelessKeyView from NirSoft or Wifi Password Decoder, which automatically scan the Windows registry and display all saved keys in a convenient list.
The main advantage of such snails is speed and clarity. You don't need to enter commands or search for the right tabs. The program launches and immediately displays a table with all networks and passwords. However, using third-party software carries its own risks. Antivirus programs may detect such utilities as potentially unwanted programs (PUP), as they are essentially tools for stealing passwords in the wrong hands.
Such programs should only be downloaded from the developers' official websites. Using cracked versions or downloaders from dubious sources can result in your computer being infected with real stealer viruses that will steal not only Wi-Fi passwords but also bank card information.
⚠️ Warning: Be careful when downloading free utilities. Installers often try to bundle useful programs with adware or change your browser's start page. Always select the "Advanced installation" option and uncheck any unnecessary options.
For one-time use, the command line remains a safer and cleaner option, requiring no executable installation. Third-party software only makes sense for large-scale work with dozens of computers or when exporting passwords in XML/HTML format is required.
Viewing the password through the router settings
If your computer isn't connected to the network or hasn't saved a password before, the only way to access the router's settings is to know the gateway's IP address (usually 192.168.0.1 or 192.168.1.1) and the router administrator login/password. This information is often found on a sticker on the bottom of the device.
Connect your computer to the router using an Ethernet cable. This is necessary if Wi-Fi isn't working. Open your browser and enter the IP address in the address bar. After logging in, find the "Wireless," "Wi-Fi," or "Security" section. There you'll see a "Password," "Pre-Shared Key," or "WPA Key" field, which displays the current password.
Interfaces of routers from different manufacturers (Asus, TP-Link, D-Link, MikroTik) vary greatly, but the logic is the same. Look for sections related to wireless communications. If the password is changed in the router interface, all connected devices will need to re-enter the new key.
This method also allows you to change the password to a more complex one if you suspect your neighbors have connected to your network. It's recommended to use a mix of letters and numbers and at least 12 characters for maximum security.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if I have never connected to this network from this PC?
No, Windows cannot guess or crack passwords for networks the computer has never connected to. A valid key is required to connect. If the device has never been configured, the password can only be found by asking the owner or by accessing the router's settings.
Why does the netsh command give an "Element not found" error?
You most likely misspelled the profile name. The name must match exactly, including spaces and capitalization. Try listing all profiles first with the command netsh wlan show profiles and copy the name from there.
Is it safe to save Wi-Fi passwords in Windows?
Yes, the system stores them encrypted in the registry. Access to them is only possible with administrator rights. However, if your computer is infected with a stealer, attackers can easily obtain this data. Use a reliable antivirus program.
What should I do if I forgot my router administrator password?
If the default password pair (admin/admin) isn't working, and you've changed it and forgotten, the only solution is to reset the router to factory settings. To do this, press the button Reset on the device body for 10-15 seconds. After this, the router will be as good as new, and the password will be the same as on the sticker.
Is it possible to view the password on an Android phone?
On modern versions of Android (10 and above), you can view the password via a QR code in the Wi-Fi settings by scanning it with another device or simply by looking at the screen. On older versions of Android, root access was required to view the stored keys in system files.