It's extremely common to need to connect a new device to a wireless network but hopelessly forget the access key. Router owners often replace the default password with complex combinations that are quickly forgotten after a few months. Fortunately, the operating system Windows 10 stores this information in an open form for already connected devices, allowing for quick access restoration.
There are several proven methods for extracting saved credentials, ranging from simply viewing them in a graphical interface to using console commands. It's important to understand that most methods require physical access to a computer that already has an active wireless network connection or has previously connected to one. The system stores passwords in encrypted form, but provides built-in tools for the administrator to decrypt them.
In this article, we'll detail the steps to take for various scenarios. We'll cover standard operating system tools, command line options, and extreme measures like resetting the router. Follow the instructions carefully to avoid errors when entering system commands.
Viewing a password through the Windows graphical interface
The easiest and safest way to find a forgotten key is to use the default network settings in your operating system. This method doesn't require installing any third-party software and is available to any user with desktop access rights. First, make sure your laptop or PC is connected to the correct Wi-Fi network.
Right-click the connection icon in the system tray (usually in the lower right corner) and select "Network and Internet settings." In the window that opens, find the "Network and Sharing Center" link or go to "Change adapter settings." Here, find your active wireless connection, right-click it, and select "Status," then "Wireless network properties."
In the dialog box that opens, switch to the "Security" tab. This is where the "Network Security Key" field is located, its contents hidden by asterisks. To see the characters, check the "Show entered characters" box. The system may ask you to confirm administrator rights—this is a standard data protection procedure.
Sometimes users encounter a situation where the field remains unavailable. This can be due to organizational group policies if the computer is corporate, or due to network adapter driver errors. In this case, it's worth trying updating the drivers through Device Manager or using an alternative method via the command line.
Using Command Prompt to Recover Data
For more advanced users or in cases where the graphical interface does not work correctly, the command line is ideal. CMDThis tool allows you to interact directly with a Windows network profile, extracting stored encryption keys from it. The console must be run as an administrator.
To open the command line, press the key combination Win + R, enter cmd and press Ctrl + Shift + EnterAfter the black window with the cursor appears, enter the command to view all saved Wi-Fi profiles:
netsh wlan show profiles
Find your network name (SSID) in the list. Next, use the command to display detailed information about a specific profile, adding the key parameter to display the key in plaintext:
netsh wlan show profile name="Your_Network_Name" key=clear
Please note that the network name must be enclosed in quotation marks if it contains spaces. In the command output, scroll down to the "Security settings" section. There you'll find the "Key Content" line, which displays the password you're looking for. This method works even if you're not currently connected to the network, as long as the profile has been previously saved on the system.
☑️ Check before entering commands
Finding the password in the router's web interface
If none of your computers remember the password, but you have access to the router itself (via cable or Wi-Fi from another device), you can find the key in the router settings. To do this, log in to the admin web interface by entering the device's IP address in the browser. These are most often 192.168.0.1 or 192.168.1.1.
After entering your login and password (often admin/admin by default if they haven't been changed), go to the wireless network section. It may be called Wireless, Wi-Fi, Wireless mode or WLANWithin this section, look for the "Security" or "Wireless Network Settings" subsection. There will be a "Password" or "PSK Key" field.
Interfaces from different manufacturers vary greatly. TP-Link This is usually the Wireless tab, ASUS - the Wireless section in the left menu, Keenetic — the "My Wi-Fi Network" icon. In some modern firmware, the password is hidden by dots by default, but there's a "Show" button shaped like an eye next to it.
⚠️ Attention: If you've changed your router's password and forgotten it, you can only restore access to the web interface by performing a full factory reset (Hard Reset), which will result in the loss of all user configurations.
The table below lists addresses and standard login details for popular router models, which may be useful if you've never changed the factory settings:
| Manufacturer | 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 | 192.168.1.1 | admin | 1234 |
| Tenda | 192.168.0.1 | admin | admin |
Viewing a password using PowerShell
An alternative to the classic command line is a more powerful tool. PowerShellIt's built into all modern versions of Windows and provides flexible options for managing network profiles. This method is especially useful if the standard console is unavailable or blocked for some reason.
Launch PowerShell as administrator by right-clicking the Start button and selecting the appropriate option. To display a list of all saved Wi-Fi profiles, enter the following command:
netsh wlan show profiles
To immediately view the password for a specific network, you can use the same command as in CMD, as PowerShell supports calling system utilities. However, to automate the process, you can create a script that will display all passwords at once. Enter the following:
netsh wlan show profile name="Network_Name" key=clear
The output will be similar to the CMD output: the "Key Contents" line will appear in the "Security Settings" section. PowerShell also allows you to export the configuration to an XML file, where the password will be stored in cleartext, but this method requires additional knowledge to parse the XML structure.
Is it possible to recover a password if the profile has been deleted?
No, if a Wi-Fi profile is removed from the list of known networks in Windows, the operating system no longer stores its key. In this case, the only solution is to repair the router itself or reset the router.
Resetting your router as a last resort
If none of the software methods work and you've lost access to your router's settings, your last option is to perform a full factory reset. This will return the router to its original state when you purchased it, including the default Wi-Fi password found on the sticker on the bottom of the router.
To perform a reset, locate the small hole marked on the back of the router. Reset or DefaultTake a paperclip or toothpick, press the button inside the hole, and hold it for about 10-15 seconds until the indicators on the case flash simultaneously. After rebooting, the device will operate with factory settings.
After this procedure, you will need to reconfigure your connection to your ISP (enter your PPPoE login and password or set up a dynamic IP address), as well as set a new name and password for your wireless network. All previous settings, including MAC address filtering and port forwarding, will be lost.
⚠️ Attention: Before resetting, make sure you have a contract with your internet provider or access to your personal account to restore your internet connection settings. Without this information, your internet will not work.
This method guarantees access, as you'll know the password immediately after the reset (it'll be on a sticker). However, it requires time to reconfigure the entire home network, so use it only in a desperate situation.
Problems and solutions
Users may encounter various technical obstacles during the password recovery process. Often, the problem isn't Windows itself, but a driver conflict or security settings issue. If the system reports "Windows cannot save network settings," try deleting the entire network profile from the command prompt and reconnecting.
Another common issue is incompatibility of encryption standards. If the router is configured for an outdated protocol WEP or specific WPA3Old devices or drivers may display security settings incorrectly. In such cases, it is recommended to update your router firmware to the latest version.
It's also worth considering that some antivirus programs have their own network protection modules that can block access to system Wi-Fi settings or hide security keys. Try temporarily disabling your antivirus's firewall to run diagnostics.
Understanding how Windows network profiles work allows you not only to recover lost data but also to manage connections effectively. Regularly backing up your settings or using password managers will help prevent similar situations in the future.
Is it possible to find out a Wi-Fi password if the computer has never connected to this network?
No, the Windows operating system does not store passwords for networks the device has never connected to. In this case, the password can only be retrieved from another device that already has access, through the router's web interface, or by resetting the router.
Where can I find the password on the router itself if I haven't changed it?
The factory password (WPA Key or Wireless Password) is always located on a sticker attached to the bottom or back of the device. Look for the lines "PIN," "WPA Key," or "Password." If you've previously changed the password, the factory password will no longer work.
Is it safe to save a password in Windows?
Yes, Windows stores passwords in a protected system registry. They can only be accessed with administrator privileges. However, if someone with administrator privileges gains access to your computer, they will be able to see your saved networks.
What should I do if the "Show entered characters" field is inactive?
This means your current account doesn't have administrator privileges. You'll need to log in as an administrator or ask the computer owner to enter the password to confirm your actions.