It's quite common to need to connect a new device to an existing wireless network but lose or forget the access key. Fortunately, the operating system Windows 10 By default, it stores passwords for all networks the computer has ever connected to for user convenience. This allows you to easily restore accessible data without having to reset the router or find your ISP contract.
There are several proven methods for extracting this information, ranging from simple graphical interface navigation to more advanced command-line tools. The method you choose depends on whether you're currently connected to the network or want to find the password for a network you've previously connected to. It's important to understand that you'll need administrator rights on your computer to perform these actions.
In this guide, we'll cover all the current methods for viewing saved security keys in detail. We'll cover standard interface tools, command line options, and third-party tools, so you can choose the most convenient solution for your needs.
⚠️ Note: All the methods described below only work if your computer has previously successfully connected to this network and saved the connection profile. If the profile has been deleted, these methods will not recover the password.
Using the Network Settings GUI
The easiest and safest way to find out WiFi password - use the standard wireless connection properties window in Windows 10This method does not require knowledge of special commands and is available to any user with physical access to an already connected computer.
First, you need to open the Network and Internet Control Panel. You can do this by right-clicking the network icon in the system tray (near the clock) and selecting "Open Network and Internet Settings." However, a quicker way to access this menu is through the classic Control Panel.
Press the key combination Win + R, in the window that appears, enter the command ncpa.cpl and press Enter. The "Network Connections" window will open, displaying all available adapters. Find your "Wireless" or "Wi-Fi" adapter, which has a "Connected" status.
Double-click your connection icon to open the status window. In the dialog box that opens, click "Wireless Network Properties." Then, go to the "Security" tab. This is where you'll find the information you're looking for, hidden by default as black dots.
Check the box next to "Show entered characters." The system will ask you to confirm administrator rights, after which your password will be displayed in plain text in the "Network Security Key" field. You can copy it or rewrite it manually.
- 🔹 Click
Win + Rand enterncpa.cplfor quick access to networks. - 🔹 Open the properties of your active Wi-Fi connection using the context menu.
- 🔹 Go to the "Security" tab and enable the display of symbols.
- 🔹 Copy the revealed password to use on other devices.
Viewing a password via the CMD command line
For more advanced users or in cases where the graphical interface does not work correctly, using the command line is ideal. Command PromptThis method allows you to not only view the password for the current network, but also display a list of all saved profiles on your computer.
Run the command prompt as administrator. To do this, enter cmd In Windows Search, right-click "Command Prompt" and select the appropriate option. First, you need to find out the exact name of the network profile if you don't remember it.
Enter the command netsh wlan show profilesThe system will display a list of all profiles ever used on this PC. Find the desired network in the list and remember its exact name, as you'll need it in the next step.
Now enter the command to display the details of a specific profile with a key. The command syntax is as follows:
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. After running the command, scroll down to the "Security Settings" section. The "Key Contents" line will display the password you're looking for in cleartext.
What to do if the command fails?
Make sure you're running the console as an administrator. Also, check that the profile name is spelled correctly; it must match character for character, including uppercase and lowercase letters.
View passwords for all saved networks
It is often necessary to find out not only the password for the current access point, but also to restore access to other networks that were used previously. Command line Allows you to display information about all saved profiles at once, including security keys, which saves time during mass migrations or setting up new equipment.
To do this, use a modified command that displays summary information. In the command prompt, run as administrator, enter:
netsh wlan show profiles key=clear
The output will be a long list, divided into blocks for each network. Each block will have a line labeled "Key Contents" in the "Security Parameters" section. Be careful when reading, as the list can be lengthy.
An alternative option for those who prefer working with files is to export profiles. However, standard Windows tools can't export all passwords to a single text file with a single command; you'll have to copy the data manually or use scripts. Visual search in the console window is often faster for one-off tasks.
Using PowerShell for System Administrators
PowerShell is a more powerful automation tool than the classic CMD. While its power is overkill for the simple task of viewing a password, knowing this method is useful for system administrators managing multiple computers running Windows 10.
In PowerShell, the process is similar to using CMD, as the command netsh is a system function and is invoked identically in both shells. However, PowerShell allows you to create more complex scripts for filtering output.
For example, you can create a query that will display only the network name and password, removing unnecessary technical information. This is done using cmdlets, but for a one-time view, a standard command is sufficient. netsh, described in the previous sections.
PowerShell's main advantage in this context is its ability to manage remotely. If you administer an organization's network, you can run this command on a user's remote computer without physically visiting their workstation, provided you have the appropriate access rights.
Third-party key recovery utilities
If using the command line seems too complicated, there are specialized programs that automate the process of extracting saved keys. One of the most well-known and time-tested tools is the utility WirelessKeyView from NirSoft.
This program requires no installation, is portable, and immediately displays a table with all saved WiFi profiles upon launch. The "Key (Ascii)" column displays the password in plain text. The program supports data export to HTML, XML, or TXT formats.
However, caution should be exercised when using third-party software. Antivirus programs may detect such snails as potentially unwanted programs (HackTools), as their operating principles are similar to those of attackers attempting to steal data.
| Method | Complexity | Admin rights required | Shows all networks |
|---|---|---|---|
| Graphical interface | Low | Yes (for viewing) | No (current only) |
| Command Prompt (CMD) | Average | Yes | Yes |
| PowerShell | High | Yes | Yes |
| Third-party software | Low | Yes | Yes |
⚠️ Note: Operating system interfaces and software versions may be updated. The layout of menu items or command syntax may change in future versions. Windows may change. If the default paths don't work, check the latest Microsoft documentation.
Frequently Asked Questions (FAQ)
Is it possible to find out a WiFi password if the computer is not connected to it right now?
Yes, this is possible if the network profile is saved on the system. You can use the command line and the command netsh wlan show profile name="Name" key=clearEven if you are currently connected to a different network or there is no internet connection, the main thing is to have a saved profile.
Why does the netsh command say "Access Denied"?
You most likely ran the command prompt without administrator privileges. Right-click the CMD or PowerShell shortcut and select "Run as administrator." Without elevated privileges, the security system Windows 10 will not allow security keys to be disclosed.
Where are WiFi passwords physically stored in Windows 10?
Passwords are stored in a protected part of the Windows registry and in system configuration files in the folder C:\ProgramData\Microsoft\Wlansvc\Profiles\InterfacesHowever, they are encrypted with system keys, so simply opening the file will only show a set of incomprehensible characters, not a readable password.
Are password recovery programs safe to use?
Using trusted utilities from reputable developers (such as NirSoft) is safe if downloaded from the official website. However, such programs are often listed in antivirus databases as "RiskWare" because they can be used to steal data if the computer is infected with a virus.