Many users are familiar with the situation of needing to connect a new device to a wireless network but completely forgetting the Wi-Fi password. Fortunately, the operating system Windows 10 Stores access keys to previously connected networks in a secure location, allowing you to easily retrieve them when needed. This eliminates the need to access router settings or search for your ISP contract.
There are several proven ways to recover a forgotten character combination, ranging from the graphical interface to console commands. It is important to understand, that to successfully complete these steps, you must have administrator rights on the computer from which you plan to retrieve data.
In this article, we'll cover all the current methods that will help you quickly resolve access issues. We'll cover both standard OS tools and more advanced system administrator tools.
Viewing the password through network settings
The easiest and safest method for the average user is to use the system's graphical interface. This method requires no knowledge of special commands and is accessible to everyone. You simply need to navigate through several menu items to get to the desired information.
First, open the Start menu and select the gear icon or search for "Control Panel." In the window that opens, find the "Network and Internet" section, then go to "Network and Sharing Center." This displays all of your computer's active network activity.
On the right side of the window, find the link with the name of your current wireless network (it's highlighted in blue next to "Connections"). Click it to open the status window. Next, click "Wireless Network Properties" and go to the "Security" tab.
⚠️ Attention: If the "Security" tab is missing or the buttons are disabled, make sure you are logged in with administrator privileges. Without these privileges, access to encryption keys will be blocked by Windows security policies.
At the bottom of the tab, you'll see the "Network Security Key" field, where the characters are hidden behind asterisks. To see the password, simply check the "Show entered characters" box. The system will instantly display the combination you're looking for in plain text.
Using the Command Prompt (CMD)
For those who prefer speed and accuracy, using the command line is ideal. This method not only allows you to view the password for the current network but also lists all saved profiles. This is especially useful if you want to find the key for a network the computer has connected to in the past but is not currently connected.
First, you need to launch the command prompt as an administrator. Right-click the Start button and select "Windows PowerShell (Administrator)" or "Command Prompt (Administrator)." In the window that opens, enter the following command to view all saved profiles:
netsh wlan show profiles
The system will display a list of all networks this PC has ever connected to. Find the desired name (SSID) in the list. Then, use the command to display details for a specific profile, adding the keyword key=clear:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the line "Key Content." This is where the password will be displayed in cleartext. This method works even if the network is currently inactive, as long as the profile is saved in the system.
☑️ Check before entering commands
Retrieving data via PowerShell
PowerShell is a more powerful alternative to the standard command prompt and is often used by system administrators. While its Wi-Fi functionality is similar to CMD, its syntax and filtering capabilities may be more convenient for experienced users.
Run PowerShell as administrator. The command to retrieve profile information is similar, but the execution environment will be different. Enter the following query:
netsh wlan show profile name="Name of Your Network" key=clear
The output interface may vary depending on your PowerShell version and Windows localization settings. Look for the "Security settings" section. In the Key Content Your password will be displayed.
The beauty of PowerShell is that it allows you to create scripts to automatically collect this information from all computers in a domain, making this method indispensable for IT professionals in corporate environments.
Comparison of recovery methods
Each of the methods discussed has its own advantages and disadvantages. The choice of a specific method depends on your situation: whether you are currently connected to the network, whether you have administrator rights, and how comfortable you are with technical tools.
Below is a table that will help you quickly navigate and choose the best course of action in your case.
| Method | Admin rights required | Works without a network connection | Complexity |
|---|---|---|---|
| Settings (GUI) | Yes | No (active network only) | Low |
| Command line | Yes | Yes (for saved profiles) | Average |
| PowerShell | Yes | Yes (for saved profiles) | High |
| Third-party software | Yes | Yes | Low |
As you can see from the table, the graphical interface is only convenient for the current network. If you need to find out the password for a guest network you connected to a month ago, the only built-in option is to use the console.
⚠️ Attention: Operating system interfaces are subject to update. The layout of menu items in new Windows 10 builds or in Windows 11 may differ slightly from that described above.
Restoring via the router's web interface
If none of the computer-based methods work (for example, you've changed your operating system or are using someone else's PC), you can view the password directly in the router settings. This will require access to the device's administrative panel.
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, login, and password for entry are usually indicated on a sticker on the bottom of the device.
After logging in, find the section related to wireless networks. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." The Security subsection will list the network name (SSID) and password (Pre-Shared Key or Password).
What should I do if I've forgotten my router password?
If you haven't changed the factory settings, try the standard combinations: admin/admin, admin/password, or admin/1234. If the password has been changed and lost, you'll need to reset the router to factory settings. Afterward, the device will return to the settings on the sticker, but you'll need to re-enter your internet settings.
Questions and Answers (FAQ)
Is it possible to find out the Wi-Fi password if the computer is not connected to it?
Yes, this is possible, but only if the computer has previously connected to this network and saved the profile. In this case, use the command line with the command netsh wlan show profile, even without connecting to the network directly.
Why does the system say "Access Denied" when I enter commands?
This means you've launched Command Prompt or PowerShell in normal mode, not as an administrator. Close the window, right-click the console icon, and select the appropriate menu item.
Is it safe to use third-party password viewers?
Using unknown software carries risks. Many "password recovery" programs contain adware or malicious code. Built-in Windows tools (CMD, settings) are much safer and more reliable.
Where are Wi-Fi passwords stored in the Windows registry?
Theoretically, they are located in a registry branch, but the data there is encrypted and protected by system keys. Directly editing the registry to extract the password is extremely difficult and is not recommended for regular users.