It's quite common to need to connect a new device to a wireless network but lose or forget the password. Fortunately, the operating system Windows 10 Stores data about previously used connections in encrypted form, allowing you to restore access to the access key without complex manipulation. Users don't need to be system administrators to perform this procedure, as Microsoft provides several built-in methods for this task.
In most cases, key recovery takes just a few minutes and doesn't require installing any additional software. All you need is physical access to a computer that's already successfully connected to the desired access point or has previously connected to one. In this article, we'll cover all the current methods, from simple graphical interfaces to advanced console commands, so you can choose the most convenient option.
Using the Network Connections GUI
The easiest and safest way to view the saved key is to use the standard operating system settings. This method doesn't require command line knowledge and is suitable even for inexperienced users. First, open the Network and Sharing Control Panel, which displays the current connection status. You can do this from the taskbar by right-clicking the Wi-Fi icon and selecting "Open Network and Internet Settings," then "Network and Sharing Center."
In the window that opens, find the active wireless connection and click on its name (blue link). A dialog box will appear with a general description of the status, where you need to select the button Wireless network properties. Next, go to the tab SecurityThis is where the main encryption parameters and access key are located. By default, the "Network Security Key" field is hidden behind asterisks to protect it from prying eyes.
To see characters, check the box next to "Show entered characters." The system may request administrator privileges to confirm this action. After entering your account password or confirming via UAC, hidden characters will be converted to readable text. This method works reliably on all builds. Windows 10 And Windows 11.
⚠️ Note: If the "Security" tab is missing or the Properties button is grayed out, this may indicate that the current user does not have sufficient permissions or the network profile is corrupted. In this case, try running the command prompt as administrator.
Recovering the key via the CMD command line
For those who prefer speed and accuracy, using the built-in utility is an excellent solution. netshThis tool allows you to manage network interfaces using text commands. To launch the console, press the key combination Win + R, enter cmd and press Enter, or search for "Command Prompt" in the Start menu. To gain full rights, it's recommended to run the terminal as an administrator, although standard user rights are often sufficient for viewing passwords.
The first step is to get a list of all saved Wi-Fi profiles on this computer. Enter the command netsh wlan show profilesThe system will respond with a list of all networks the device has ever connected to. Find the exact name of the desired network (Profile Name) in the list. Next, use the command to display detailed information about a specific profile.
netsh wlan show profile name="Network_Name" key=clear
Instead of Network_name Please insert the actual name of your router, enclosed in quotation marks. Parameter key=clear This is critically important, as it is what tells the system to reveal the contents of the security key. In the "Security settings" section, find the "Key Content" line. The value next to it is the password you're looking for.
☑️ Check before entering a command
Using PowerShell for Advanced Users
A powerful tool PowerShell provides even more flexible options for working with network configurations. It's built into modern versions of Windows by default. You can launch it by finding it in the Start menu or through search. As with CMD, it's best to use administrator mode for guaranteed results, although basic queries often work in user mode.
The command to extract a password in PowerShell looks a little different, but uses the same mechanism. netsh Under the hood. You can enter the following script, which will automatically find the profile and display the password:
(Get-NetConnectionProfile).Name
However, a more universal method remains direct integration with netsh within PowerShell. Simply enter:
netsh wlan show profile name="NAME" key=clear
Where NAME — is the name of your Wi-Fi profile. PowerShell has the ability to process command output. You can use filters to search for a specific string with a key, which is useful for automation or working with a large number of profiles. For example, adding | Select-String "Key Content", you will receive only a line with the password, without unnecessary text.
Why is PowerShell sometimes better than CMD?
PowerShell processes objects, not just text. This allows you to create complex scripts that can, for example, automatically export all Wi-Fi passwords to a text file or transfer them over the network. For the average user, the difference is minor, but for a system administrator, it's a powerful tool.
Viewing the password through the router settings
If the computer isn't connected to the network or the profile has been deleted, the only option is to access the router's settings. To do this, you'll need to know the default gateway IP address. This is usually found on a sticker on the bottom of the router and often looks like this: 192.168.0.1 or 192.168.1.1Enter this address into the address bar of any browser.
After entering the address, the system will ask for your username and password to access the control panel. If you've never changed this information, it's also located on the device's sticker (often it's admin/admin). Once inside the interface (web interface), find the section related to the wireless network. It may be called Wireless, Wi-Fi, Wireless mode or WLAN.
Inside the section, look for the "Security" or "Wireless Network Settings" subsection. There will be a field there. WPA Pre-Shared Key, Wireless Password or "Password." This is where you set the key that is distributed to all devices. Changing it here will change the password for the entire network, and all devices will need to reconnect.
| Router brand | Typical address | Menu section | Field name |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Wireless Password |
| ASUS | 192.168.1.1 | Administration -> System | WPA-PSK password |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | PSK encryption key |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi | Network password |
| Tenda | 192.168.0.1 | Wireless Settings | Wireless Password |
⚠️ Note: Router firmware interfaces are frequently updated. Menu locations and field names may differ from those shown in the table. If you cannot find the option you need, please refer to the official documentation from the manufacturer of your model.
Third-party password recovery utilities
There are many specialized programs designed to manage wireless connections and recover lost data. One popular tool is WirelessKeyView from NirSoft. This utility requires no installation (it's portable) and immediately displays a list of all saved Wi-Fi profiles and their corresponding keys in plain text upon launch.
Another option is the program WiFi Password DecoderIt works on a similar principle, scanning the Windows registry and system files where network configurations are stored. Such programs are useful when you need to quickly dump all passwords into a text file or when standard Windows methods fail for some reason.
However, you should exercise caution when using third-party software. Download programs only from the developers' official websites to avoid infecting your computer with viruses or miners. Antivirus programs may flag such utilities as potentially unwanted programs (PUPs) because they access confidential information.
Resetting your router as a last resort
If none of the software methods work, or you can't access the router settings and don't have a connected computer handy, the only other option is a complete factory reset. This will return the router to its original state, including the default Wi-Fi password found on the sticker.
To perform a reset, find a small hole with the inscription on the router body Reset or RestoreThere's usually a button inside. With the power on, press it with a thin object (like a paperclip or toothpick) and hold for 10-15 seconds. The lights on the front panel should blink or go out, indicating the reboot has begun.
After this procedure, the network will operate with the factory name and password (from the sticker). You will need to reconfigure your internet connection (PPPoE, L2TP, etc.) if your provider requires hardware authentication. This method is effective, but it requires time to reconfigure the entire home network.
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, but only if the network profile was previously saved on this computer. Windows stores connection history. If you deleted the network using "Forget" or never connected from this PC, you won't be able to find the password programmatically through Windows—you'll need access to the router or other device where the password is saved.
Are password recovery programs safe to use?
Using trusted utilities from reputable developers (such as NirSoft) is safe. However, many antivirus programs may flag them as "HackTools" because they extract sensitive data. It's important to download software only from official sources to avoid the introduction of actual malicious code.
What should I do if the netsh command says "Network not found"?
This means the profile name was misspelled. Capitalization is important. Enter the command netsh wlan show profiles Once again, copy the network name exactly as it appears in the list and paste it into the command with the key key=clear, be sure to enclose it in quotation marks.
Where is the password physically located on the router?
Most modern routers have a sticker on the bottom or back panel. It contains the SSID (default network name), the IP address for accessing settings, the administrator login/password, and the Wi-Fi PIN or password (often referred to as the WPA Key or Wireless Key).