Needing to connect a new device to a wireless network but having forgotten the Wi-Fi password is one of the most common problems in today's digital environment. Users often rely on the operating system automatically saving access keys, forgetting to write down the password in a safe place. Fortunately, the operating system Windows 10 stores this data in a secure storage facility, and if you have administrator rights, retrieving it is not particularly difficult.
There are several methods for recovering lost data, from standard graphical interfaces to more advanced command-line methods. The method you choose depends on whether you're currently connected to the network or need to find out the password for a network your laptop was previously connected to. In this article, we'll cover all the current methods to help you quickly resolve your access issue.
Before attempting any hacking, ensure you have physical access to a device that's already successfully logged into the network. This is critical, as most methods rely on current active connections or the system's connection history. If the laptop has never connected to the network, finding the password through its interface won't work—you'll have to find other solutions.
Using the Windows 10 GUI
The easiest and most accessible method for most users is to use the default operating system settings. This method works if your laptop is currently connected to the desired Wi-Fi network or has connected to one in the past. The steps are intuitive and don't require any technical knowledge or additional software.
First, you need to open the Network and Sharing Center. Right-click the Wi-Fi icon in the system tray (near the clock) and select "Open Network and Internet settings." In the window that opens, find the "Network and Sharing Center" link or use the command control /name Microsoft.NetworkAndSharingCenter in the Run menu.
In the Control Center window, find your active wireless connection. Click the blue link with your network's name (usually located to the right of "Connections"). A small status window will open, where you should click "Wireless Network Properties." Go to the "Security" tab.
Here you'll see the "Network Security Key" field, which is hidden by default behind asterisks. To view the password, check the "Show entered characters" box. The system may ask you to confirm administrator rights. Accept the request, and the hidden characters will become readable text.
⚠️ Attention: If the "Security" tab is missing or the "Properties" button is grayed out, this may mean the current user account does not have sufficient privileges to view the network configuration. Try logging in as an administrator.
Viewing a password via the command line (CMD)
For users who prefer more technical methods or don't have access to a graphical interface, the command line is ideal. This method not only allows you to view the password for the current network but also list all saved Wi-Fi profiles on the device. This method requires careful command entry.
Run the Command Prompt as administrator. To do this, right-click the Start button and select Windows PowerShell (Administrator) or search for cmd In the search box, right-click and select "Run as administrator." In the window that opens, enter the command to view all profiles:
netsh wlan show profiles
The system will display a list of all networks the laptop has ever connected to. Find the required name (SSID) in the list. To find the password for a specific network, use the following construction, replacing Network_Name to the real name of your Wi-Fi:
netsh wlan show profile name="Network_Name" key=clear
In the command output, scroll down to the "Security settings" section. Find the "Key Content" line—the value on the right is the password you're looking for. This method is especially useful if the graphical interface isn't working correctly.
Using PowerShell to restore access
An alternative to the classic command line is a more powerful tool. PowerShellIt provides advanced network configuration management capabilities and often performs more reliably in an environment Windows 10The command syntax may differ here, but the principle of obtaining data remains similar.
Launch PowerShell with administrator privileges. Enter the command, which will output the profile name and public security key in a readable format. This will allow you to quickly copy the password without having to manually search through the text array.
(Get-NetConnectionProfile).Name
netsh wlan show profile name="PROFILE_NAME" key=clear
If you don't know the exact profile name, you can use the command netsh wlan show profiles, as with CMD. PowerShell also allows you to export network settings to an XML file, where the password will be stored in cleartext, but this method requires working with the file system and is less convenient for one-time use.
Using PowerShell scripts is convenient for mass management of network profiles on corporate laptops. However, for a home user, a basic command with a parameter is sufficient. key=clear, which instantly displays the required information.
What to do if the command returns an error?
If the system reports that the profile was not found, check the spelling of the network name. The case of letters in profile names in the command line is often important. Also, make sure the profile is actually saved on the system.
How to find out the password through the router's web interface
If none of the operating system methods work, or the laptop isn't connected to the network, the only other option is to resort to the "heavy artillery"—accessing the router's settings. The Wi-Fi password is stored in the router's configuration, and with access to the admin panel, you can view or change it.
To do this, connect your laptop to the router using a LAN cable or Wi-Fi (if you know the guest network password or the connection is automatic). Open your browser and enter the gateway 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.
After entering your login and password to access the admin panel (often admin/admin by default), go to the wireless network section. It may be called Wireless, Wi-Fi, Wireless mode or WLANIn the "Security" or "Wireless Network Settings" subsections, there will be a "Password" (PSK, WPA Key) field.
Below is a table with the most common addresses for entering the settings of popular router brands:
| Router brand | IP address | Default login | Default password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| D-Link | 192.168.0.1 | admin | (empty) |
| Keenetic | my.keenetic.net | admin | 1234 |
| Tenda | tendawifi.com | admin | admin |
⚠️ Attention: Router interfaces are constantly being updated. Menu locations may vary depending on the firmware version. If you can't find the item you need, consult the official documentation from your device manufacturer.
☑️ Check before logging into the router
Third-party password recovery utilities
There are many utilities on the software market designed specifically for recovering saved Wi-Fi passwords. Programs such as WirelessKeyView from NirSoft or WiFi Password Decryptor, automate the process of extracting keys from the Windows registry.
Using such programs is convenient because they display information in a structured format, often allowing you to copy a password in one click or export a list of all networks to a text file. This eliminates the need to enter long commands or search for the necessary settings tabs.
However, you should exercise extreme caution when downloading such software. Antivirus programs may detect them as hacking tools (HackTools), as their functionality is indeed used to gain unauthorized access. Download utilities only from the developers' official websites.
Most of these programs are free for personal use and require no installation (portable versions). Before running, it's recommended to temporarily disable your antivirus software if it's blocking the utility, but only if you're sure of the source of the file.
Resetting your router as a last resort
If none of the software methods work and you can't access the router settings (you've forgotten the administrator password), the last resort is a complete factory reset. This will return the router to its original state.
To reset, find the button on the router body. Reset (often recessed into the case). Press it with a paperclip or toothpick and hold for about 10-15 seconds until the indicators blink. After rebooting, the router will operate with the factory password indicated on the sticker.
It's important to understand the consequences: after the reset, you'll need to reconfigure your internet connection (enter your provider information if it's not saved automatically) and set a new Wi-Fi name and password. All connected devices will lose connection and require re-authorization.
This method is not recommended if you don't have your ISP contract or are unsure of your PPPoE/L2TP settings. In such cases, it's best to contact your ISP's technical support.
⚠️ Attention: Resetting your router will delete all customized settings, including MAC address filtering rules, static IP addresses, and port forwarding. Make sure you have a backup of your configuration or know your network settings.
Is it possible to restore settings after a reset?
Automatically – no. However, some modern routers can download a settings profile from the provider immediately after connecting to the internet, but you shouldn't count on this.
Questions and Answers (FAQ)
Is it possible to find out the Wi-Fi password if the laptop has never connected to this network?
No, the Windows operating system doesn't store passwords for networks to which the device isn't connected. In this case, the only solutions are stickers on the router, logging into the router's admin panel from another device, or asking the network owner.
Why does the netsh command give a "Group not found" error?
You're likely entering the command in PowerShell instead of Command Prompt (CMD) or using incorrect syntax. Make sure you're running CMD as an administrator and correctly specifying the profile name in quotation marks.
Is it safe to save Wi-Fi passwords in Windows?
Yes, Windows encrypts stored passwords. However, if an attacker with administrative rights gains access to your computer, they can extract these passwords. It is recommended not to save access keys on shared computers in organizations.
What should I do if the "Show entered characters" field is inactive?
This indicates restricted access rights. Try logging in as an administrator or using the command prompt running as an administrator, which bypasses some graphical limitations.
Does the router password change after a reboot?
No, the Wi-Fi password is stored in the router's non-volatile memory and remains unchanged after reboots or power surges. It only changes when you manually edit the settings or reset the device.