It's quite common to need to connect a new device to the network but lose or forget the access key. Fortunately, if you've previously connected a laptop or desktop computer to this router, the operating system has saved the necessary data in its storage. Windows stores connection profiles in encrypted form, but provides standard tools for viewing them.
In this article, we'll cover several proven methods for retrieving saved keys without resetting your router or using third-party software. You'll learn how to use the standard system interface, as well as how to access data via console commands if the graphical interface is unavailable.
Regardless of the version of your operating system, be it Windows 10 or newer Windows 11, the basic principles of working with network profiles remain similar. The key is to have administrator rights on the device you plan to use. This is a mandatory security requirement that prevents regular users from changing critical network settings.
View your password through network settings in Windows 10 and 11
The easiest and most secure way to find the access key is to use the standard operating system settings. This method doesn't require knowledge of complex commands and is suitable for most users. In the latest versions Windows The interface may differ slightly, but the logic of actions remains the same.
First, you need to open the Run window. This can be done by pressing the following key combination: Win + R on the keyboard. In the input field that appears, type the command ncpa.cpl and click "OK." The "Network Connections" window will open, displaying all available network adapters.
Find your active wireless network adapter in the list. It's usually labeled "Wireless Network" or "Wi-Fi." Right-click it and select "Status." In the window that opens, click "Wireless Network Properties." Then, go to the "Security" tab.
This is where the information you're looking for is located. You'll see the "Network Security Key" field, where the characters are hidden behind dots or asterisks. To see the password in plain text, you need to check the "Show entered characters" box. After that, password will become visible and you will be able to copy it or write it down.
⚠️ Attention: If the "Security" tab is missing or the options are grayed out, make sure you're logged in with administrator privileges. Standard users may not have access to change network security settings.
Using the command line to retrieve data
If the graphical interface does not work correctly or you prefer to use the console, the command line CMD This will provide quick access to saved profiles. This method is especially useful when you need to find the password for a network to which the computer is not currently connected, but has connected previously.
To launch the console, press Win + R, enter cmd and press EnterTo see a list of all saved Wi-Fi profiles on your computer, enter the command netsh wlan show profilesThe system will display a list of all networks that have ever been connected to from this device.
Find the name of the desired network in the list. Then use the command to display detailed profile information. The command syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
Replace Network_Name with the exact name of your Wi-Fi router. If the name contains spaces, be sure to enclose it in quotation marks. After running the command, scroll to the "Security Settings" section. The "Key Contents" line will contain the key you're looking for. security key.
What to do if the command fails?
If the system displays "Access Denied," run the command prompt as administrator. To do this, search for "CMD" in the search bar, right-click, and select the appropriate option.
This method is universal and works even when the wireless adapter drivers are unstable, but the profile is saved in the system. The command line directly accesses the system registries and configuration files, bypassing the graphical shell.
Viewing passwords using PowerShell
A powerful tool for system administrators and advanced users is PowerShellThis shell provides more flexible options for working with network settings compared to the standard command line. It allows not only passwords but also more detailed profile management.
Launch PowerShell as administrator. To do this, right-click the Start button and select "Windows PowerShell (Administrator)" or "Windows Terminal." Enter the following command to list your profiles:
netsh wlan show profiles
While the basic command is similar to CMD, PowerShell allows for more efficient processing of the output. You can use filters to search for a specific network. However, for simply viewing the key, the standard command is sufficient. netsh, as it is built into the Windows network stack and is accessible from any shell.
Advantage of using PowerShell The advantage of this feature is its automation capabilities. You can create a script that will output passwords for all saved networks to a text file. This is useful when migrating to a new computer or setting up a network for a large number of users.
Comparison of Wi-Fi key access methods
The choice of method depends on your computer skills and the current situation. The graphical interface is more intuitive, but the command line is faster. Below is a table comparing the main features of various password recovery methods.
| Method | Complexity | Requires admin rights | Speed |
|---|---|---|---|
| Network Settings (GUI) | Low | Yes | Average |
| Command Prompt (CMD) | Average | Yes | High |
| PowerShell scripts | High | Yes | High |
| Third-party software | Low | Yes | Instant |
As the table shows, the standard interface is optimal for one-time tasks. However, if you frequently configure networks, knowing console commands will significantly speed up the process. Command line provides direct access to data, eliminating unnecessary mouse clicks.
It is worth noting that some corporate security policies may block access to certain network properties tabs or prohibit the execution of commands. netshIn such cases, standard methods may not work, and you will need to contact your system administrator.
☑️ Check before resetting your router
Viewing the password through the router's web interface
If your computer isn't connected to Wi-Fi or the password isn't saved anywhere, your only option is to access the router's settings. To do this, your device must be connected to the router via LAN cable or via Wi-Fi (if the password is known on at least one device, for example, on a phone).
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 is indicated on the sticker on the bottom of the device. You will need to enter your username and password to access the control panel. By default, this is often admin/admin.
After logging in, go to the wireless network section. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Under "Security" or "Security Settings," you'll see the current network name (SSID) and password. You can also change the key to a more complex one here.
⚠️ Attention: Interfaces of routers from different manufacturers (TP-Link, ASUS, D-Link, Keenetic) vary greatly. If you can't find the item you need, check the official instructions for your model, as the menu layout may change depending on the firmware version.
This method is the most reliable, as it displays the current hardware settings, not the data stored on a specific computer. If the password was changed on another device, you will only see the current value through the web interface.
Recover access without a password
As a last resort, if none of these methods work and access to the router is lost (the administrator password has been changed and forgotten), the last option is to reset the device to factory settings. There's a button on the router body. Reset, usually recessed into the body.
To reset the router, turn it on, locate the reset hole, and press it with a paperclip or needle for 10-15 seconds until the lights blink. After the reset, the router will return to its factory settings. The Wi-Fi password will be set to the one on the sticker on the bottom of the device.
After this, you will need to reconfigure your internet connection (PPPoE, L2TP, or dynamic IP), as all custom settings will be lost. This method should only be used when other options have been exhausted, as it requires time to reconfigure the network.
Remember that regularly changing passwords and using complex combinations protects your network from unauthorized access. Store important data in a secure location, such as a password manager, to avoid similar situations in the future.
Is it possible to view a Wi-Fi password if the computer is not currently connected to the network?
Yes, if you've connected to this network before. Windows stores profiles of all networks you've successfully connected to. Use the command prompt and the command netsh wlan show profile to access data.
Where are Wi-Fi passwords stored in the Windows registry?
The data is stored in a protected section of the registry and system configuration files. Directly editing the registry to extract passwords is difficult because the keys are encrypted. It's easier to use built-in commands. netsh.
Is it safe to use third-party password viewers?
Using unknown programs carries risks. They may contain viruses or transmit your data to third parties. We recommend using only built-in Windows tools or verified open source code.
What should I do if the Security tab is grayed out and unavailable?
This means your account doesn't have administrator privileges. Log in as an administrator or ask the computer owner to view the password.