It's quite common to need to connect a new device to your home network but have forgotten or lost the password. Fortunately, the operating system Windows 10 Stores data about previously used connections securely, allowing the computer owner to easily restore access to them. This built-in password storage eliminates the need to reset the router or search for the ISP contract.
There are several ways to extract this sensitive information, ranging from simple graphical menus to advanced command line tools. The method you choose depends on whether your device is currently connected to the network or you simply need to remember a forgotten password. Below, we'll cover all available options in detail.
It's important to understand that you'll need administrator privileges to complete most of the procedures described. This is a standard security measure to prevent unauthorized access to network settings by third-party programs or users without the appropriate access level.
Viewing the password through the network graphical interface
The easiest and most accessible method for most users is to use the standard wireless connection properties window. This method is ideal if you're using a computer that's currently connected to the desired access point. You don't need to know any special commands or install any additional software.
To get started, open the Settings menu via the Start button and go to Network & Internet. Here, you'll need to find Network and Sharing Center, which is often hidden in advanced settings or on the right side of the screen, depending on your build version. Windows 10In the window that opens, find the active wireless connection and click on its name.
A small status window will appear, where you should click "Wireless Network Properties." Go to the "Security" tab. This is where the information you're looking for is stored. By default, the "Network Security Key" field is hidden by asterisks. You need to check the "Show characters" box.
⚠️ Important: If the Properties button is grayed out or the system requires you to confirm your rights, make sure you are logged in using an account with administrator rights.
Once the mask is removed, you'll see your password in plain text. You can copy it or rewrite it manually. This method works reliably on all operating system versions, including the latest updates, and doesn't require an internet connection, as all data is read locally.
Using the Command Prompt to Restore Access
For those who prefer speed and accuracy, using the built-in command line utility is an excellent solution. The method using netsh Allows you to not only view the password for the current network but also display saved keys for any networks the computer has connected to in the past. This is especially useful if the desired network is currently inactive.
To use this method, open the command prompt. You can do this through the search by entering cmd, making sure to run as administrator. First, it's helpful to get a list of all saved profiles. Enter the command netsh wlan show profiles and press Enter. The system will display a list of all network names that have ever been remembered.
netsh wlan show profile name="Network_Name" key=clear
In this team instead Network_Name You need to enter the exact name of your Wi-Fi network. Note that if the name contains spaces, it must be enclosed in quotation marks. After running the command, scroll to the "Security Settings" section. The password you're looking for will be displayed in the "Key Contents" line.
What should I do if I get an access error?
If the system displays "Access Denied," check if the command prompt is running as an administrator. It's also possible that the network profile has been deleted or corrupted.
The advantage of this method is its versatility. Even if the graphical interface freezes or malfunctions, console commands usually execute without errors. Furthermore, you can immediately copy the result to the clipboard by selecting the text with the mouse.
Analyzing saved profiles via PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt provides advanced capabilities for managing network configurations and is often used by system administrators. The command syntax is slightly different, but the principle remains the same: we request stored credentials from the system.
Run PowerShell as administrator. To list all profiles, enter the command netsh wlan show profiles, similar to working in CMD. However, PowerShell allows for more complex scripts to automatically extract all passwords at once into a text file, which is convenient for backing up settings.
To view the password of a specific network one-time, use the same command netsh, as it's a system command and works in both shells. The main difference with PowerShell is its ability to process command output. You can add output redirection to the command to save the output to a file on your desktop.
netsh wlan export profile key=clear folder="C:\Temp"
This command will create XML files for each saved profile in the specified folder. Inside these files, the password will be stored in the tag keyMaterial in cleartext. This is a convenient way to retrieve all passwords at once, for example, if you're reinstalling the system and want to preserve all access rights.
Checking via the router's web interface
If none of the computer-based methods work, the "gold standard" is always accessing the router's settings. This method requires your device to be connected to the router (via cable or Wi-Fi), even if the internet isn't working. The wireless network password is stored in the router's configuration.
To log in, open your 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 username and password for accessing the admin panel, are usually located on a sticker on the bottom of the device. If you've changed this information previously and forgotten it, this method may not be available without resetting the router.
After logging in, find the section related to wireless networking. It may be called "Wireless," "Wi-Fi," "WLAN," or "Wireless Network." Inside, look for the "Security" or "Security Settings" subsection. This is where you'll find the "Wireless Password," "WPA Pre-Shared Key," or "Password" field, which you can change or simply view.
tr>
| Router brand | Typical IP address | Settings section | Password field name |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Wireless Password |
| ASUS | 192.168.1.1 | Wireless Network -> General | WPA Pre-Shared Key |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | PSK key |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi -> Home Network | Password |
⚠️ Note: Router interfaces are frequently updated. The menu item layout may differ from that described. Look for sections related to wireless security.
Changing the password in this interface will immediately apply to all devices. Old connections will be disconnected, and devices will require a new key. This is a good way not only to find out but also to strengthen your network security if you suspect your password has been compromised.
Third-party Wi-Fi management utilities
There are many programs designed specifically for managing wireless connections. They often offer a more user-friendly interface than standard Windows tools and allow you to quickly view, export, and even generate QR codes with passwords. However, using such software requires caution.
One of the popular utilities is WirelessKeyView from NirSoft. It automatically reads all saved keys from the Windows registry and displays them in a clear list. The program requires no installation, is portable, and displays the network SSID, encryption type, and the key itself in both HEX and ASCII formats.
Another option is - WiFi Password RevealerThis program is easy to use: after launching, it immediately displays all known networks and their passwords. The interface is minimalist, allowing you to quickly find the information you need without delving into technical details. Most such programs are free for home use.
☑️ Third-party software security
The main risk when using third-party software is the potential presence of viruses or miners in versions downloaded from unverified sources. Antivirus programs often treat such programs as "HackTools" because they access system passwords. Use them only if you completely trust the source.
Problems and possible errors when extracting a key
Even when following instructions, users may encounter unexpected difficulties. Often, the problem lies not with the method, but with the system state or access rights. Understanding the causes of errors will help you resolve them more quickly and regain access to the information you need.
One common error is the message "Windows could not display your settings" when attempting to open network properties. This can occur if the network profile is corrupted. In this case, deleting the profile via the command line will help (netsh wlan delete profile name="Name") and reconnect by entering the password again.
It's also worth considering that on corporate networks, access to security properties may be blocked by group policies. In this case, standard password viewing methods won't work, as the network administrator has prohibited users from manipulating these settings for security reasons.
Keep in mind that the operating system may be updated, and the settings paths may change. If you're using a very old or, conversely, a pre-release build of Windows, the layout of interface elements may differ from the default.
Frequently Asked Questions (FAQ)
Is it possible to find out a Wi-Fi password if the computer is not connected to it?
Yes, this is possible if the computer has previously connected to this network and saved the profile. Use the command prompt and the command netsh wlan show profile name="Name" key=clearIf the profile is deleted, you won't be able to recover the password from this computer.
Where can I find the password on the router sticker?
There's usually a sticker with technical information on the bottom or back of your router. Look for the "Wireless Key," "WPA Key," "PIN," or "Password" fields. Note that this password only works if you haven't changed the factory security settings.
Is it safe to save passwords in Windows?
Yes, Windows stores them encrypted in the system registry. They can only be accessed with administrator rights. However, if someone else with administrator rights is using the computer, they could theoretically extract this data.
What should I do if I forgot my router admin password?
If you've changed your router's password and forgotten it, the only solution is to perform a full reset to factory settings. To do this, press the reset button on the router for 10-15 seconds. This will reset the network settings and password to the factory defaults (as indicated on the sticker).