It's quite common to need to connect a new device to your home network, but you've forgotten the Wi-Fi password or written it down in an inaccessible place. Fortunately, the operating system Windows 10 It has built-in security mechanisms that store access keys to previously used networks. This allows computer owners to easily restore the necessary information without having to reset the router or search for a contract with their provider.
There are several proven ways to extract this data: through the network connections graphical interface or using console commands. For users You don't need to be an IT expert to handle this task, as the process is fairly standardized. In this article, we'll cover all the available methods in detail so you can choose the most convenient option.
It's worth noting that most of the steps described require administrator privileges on the current device. If you're working on a corporate computer or someone else's laptop, access to certain system functions may be restricted by your organization's security policies. In this case, standard methods may not work without the appropriate permissions.
Finding a password through network settings in Windows 10
The easiest alternative way to find the saved key is to use the operating system's standard interface. This method is ideal for those who prefer working with graphical elements rather than manually entering commands. You'll need access to the Network and Sharing Center, which is hidden deep within the system settings.
To get started, open the Start menu and go to "Settings," then select "Network and Internet." Here, you'll need to find the "Network and Sharing Center" link, which is usually located at the bottom of the network status properties window. Once there, click the name of your active wireless connection.
The Wi-Fi status dialog box will open, where you should select the "Wireless Network Properties" button. In the new window, switch to the "Security" tab. This is where the "Network Security Key" field is located, its contents hidden by asterisks by default. To view the password, check the "Show characters" box.
⚠️ Note: If the Security tab is empty or the buttons are grayed out, it may mean your account does not have administrator rights or your network profile is corrupted.
This method is the most secure, as it doesn't require installing any additional software. However, it only works for the network the computer is currently connected to or for profiles the system considers active. If the network has been removed from the list of known networks, this method won't work.
Using Command Prompt to Recover Data
For more advanced users or in cases where the graphical interface does not work correctly, using the command line is a great solution. netsh (Network Shell) allows you to manage network configurations directly, providing access to details sometimes hidden in the GUI. This method is universal and works on most versions of Windows.
To launch the command prompt with administrator privileges, right-click the Start menu and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)." The first step is to get a list of all saved Wi-Fi profiles on your device. Enter the following command:
netsh wlan show profiles
The system will display a list of all networks this computer has ever connected to. Find the exact name of the desired network (profile name) in the list. Next, to view the password, use the command with the key=clear parameter. The syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. If you see an access denied message, make sure you're running the console as an administrator.
The advantage of the command line is its speed and the ability to copy the result directly to the clipboard. Furthermore, this method allows you to view technical encryption details, such as the authentication type and cipher, which can be useful when diagnosing connection issues with new devices.
Viewing the key via PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt offers advanced scripting capabilities and often performs faster when handling network requests. While the netsh command syntax remains the same, the PowerShell interface makes it easier to copy text and manage the terminal window.
Launch PowerShell from the taskbar search (right-click and select "Run as administrator"). The commands for obtaining the password are identical to those used in cmd. First, get a list of profiles:
netsh wlan show profiles
Then we'll output a specific profile. Please note that if your network name contains spaces, it must be enclosed in quotation marks. For example:
netsh wlan show profile name="Home WiFi" key=clear
Look for the field in the report Key Content. If the field is empty or "not applicable," the profile may not contain a saved password (for example, if you are using automatic connection via a smart card or an enterprise 802.1x certificate). On home networks, the password should be displayed.
| Parameter | Description | Where to look |
|---|---|---|
| Profile name | Name of the saved profile | At the beginning of the command output |
| SSID | Network name (may differ from profile) | Profile Information section |
| Authentication | Authentication type | Security Settings section |
| Cipher | Data encryption type | Security Settings section |
| Key Content | The Wi-Fi password itself | Security Settings section |
Using PowerShell is especially convenient if you need to quickly copy a long and complex password, as selecting text with the mouse often works more reliably in this window. Command history is also available, accessible via the up and down arrows on the keyboard.
Checking the password on the router case
If none of the software methods work, or you don't have access to a computer already connected to the network, it's worth looking at the physical hardware. Most modern routers have a factory sticker on the bottom or back panel of the router. It contains basic information for initial setup.
Look for the inscription WPA/WPA2 Key, Wireless Password or simply PasswordA unique code consisting of numbers and letters will be displayed next to it. This is the factory password that was active when the device was first turned on. However, if you or the technician changed the security settings during installation, this password may no longer be valid.
⚠️ Note: The factory password is only valid if you have never changed the wireless network settings since purchasing the router. Otherwise, refer to the sticker for your own written password.
Accessing the router's web interface may also require an administrator password. This is often the same as the Wi-Fi password or is listed on the same sticker (admin/admin or a unique code). By logging into the interface using the IP address (usually 192.168.0.1 or 192.168.1.1), you can view or change the current security key in the wireless mode section.
Third-party Wi-Fi management utilities
There are many specialized programs that can recover forgotten passwords. One of the most popular and time-tested utilities is Wireless Key View from NirSoft. It scans the Windows registry and displays a list of all saved networks along with their keys in a convenient table format.
Use such programs with caution. Download utilities only from the developers' official websites to avoid infecting your system with viruses. Antivirus programs may flag such tools as potentially unwanted programs (PUPs) because they access sensitive data.
Why does my antivirus complain about password viewers?
Password recovery programs use legitimate Windows API functions to read protected data. Antivirus software often flags them as RiskWare or HackTool because these same functions can be used by attackers to steal data. If you downloaded the utility from an official source, this is a false positive.
The advantage of third-party software is the ability to export all passwords at once to a text file or HTML report. This is convenient when migrating to a new computer or when providing access to guests. However, for a one-time password recovery, Windows 10's built-in tools are safer and faster.
Common mistakes and how to solve them
During the password recovery process, users may encounter various errors. Often, the issue lies in access rights: if you try to run the command prompt without administrator rights, the system will return an "Access Denied" error or simply won't display the security key. Always check the console's startup status.
Another common issue is an incorrect profile name. In the command line, the network name is case-sensitive and space-sensitive. If the name contains a space, it must be enclosed in quotation marks. A single character error will result in a "Profile not found" message.
☑️ Checklist before password recovery
It's also worth considering that some corporate networks use certificates for authentication instead of passwords. In this case, the "Security Key" field may simply not exist in the profile. Connecting to such networks usually requires contacting the organization's IT department.
If you reset your router to factory settings, all previously saved profiles on your computers will no longer work with the old password if it has been changed. In this case, the only solution is to reconnect with a new key, which you will now need to re-enter on all devices.
Is it possible to find out the Wi-Fi password if the computer is not connected to it?
No, it's impossible to directly find the current password for a network to which a device has never connected and hasn't saved a profile without access to the router. Windows only stores keys that have been successfully used to connect previously.
What should I do if the Network Security Key field is grayed out and unavailable?
This means you don't have administrator rights on the current computer. You need to either log in as an administrator or use the Command Prompt running as an administrator to bypass this restriction.
Are password recovery programs safe to use?
Using trusted utilities from reputable developers (such as NirSoft) is safe. However, be careful with unknown software, which may contain malware. Always scan files with an antivirus before running them.
Where are Wi-Fi passwords stored in Windows 10?
Passwords are stored in a protected section of the system registry and in special network configuration files. Access to them is strictly regulated by Windows permissions, preventing regular applications from reading the keys without administrator rights.