How to find the Wi-Fi password on a Windows 10 computer

Many users are familiar with the situation where they need to connect a new device to the network, but they've completely forgotten the Wi-Fi password. Fortunately, the operating system Windows 10 has built-in functionality that allows you to save access keys to previously connected networks. This means that if your laptop or PC has ever successfully connected to the router, the authorization data is securely hidden in the system registries.

There are several proven methods for extracting this information, from a simple GUI to using the command line for advanced users. Security In this case, data recovery requires administrator rights, so you won't be able to simply view the keys without the appropriate permissions. In this article, we'll detail all the available methods to quickly restore internet access.

Before taking any action, make sure the device you're looking for the password on is actually connected or has previously connected to the desired access point. If the computer has never connected to this router, you won't be able to recover the password programmatically from this specific device. The password is stored only on the device that has already undergone the authorization procedure on this network.

Finding a password through the Windows graphical interface

The easiest and most accessible method for most users is to use the standard operating system setup windows. This method doesn't require knowledge of special commands and is suitable for those who prefer visual control. However, it's worth keeping in mind that in recent updates Windows 10 Microsoft has slightly changed the logic for displaying some settings, moving them to the new Settings app.

First, you need to open the Network and Sharing Center. You can do this by right-clicking the Wi-Fi icon in the system tray (near the clock) and selecting the appropriate option, or through the Control Panel. In the window that opens, find your active wireless connection and click it. A status window will open, where you should select "Wireless Network Properties."

Next, go to the "Security" tab. This is where the main encryption parameters and an access key. By default, the "Network Security Key" field is 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 security procedure.

It's important to note that this method only works for the network you're currently connected to or for profiles saved in the system. If you've changed your router or updated drivers with a full reset, old entries may be deleted. In this case, you'll need to use other methods or view the data on another device that remembers the password.

Using Command Prompt to Recover Data

For users who are not afraid of the black console screen, the command line (CMD) provides a more flexible and powerful tool for managing network profiles. This method not only allows you to view the password for the current network, but also displays a list of all saved profiles and obtain keys for networks the computer has connected to in the past, even if they are currently out of range.

To launch the console with administrator rights, press the key combination Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". First, you need to know the exact name of the network profile. Enter the command netsh wlan show profiles and press Enter. You'll see all saved networks in the "User Profiles" list.

Once you have found the network name you need, use the following command to display detailed information, including the password:

netsh wlan show profile name="Network_Name" key=clear

Instead of Network_name Enter the exact name of your Wi-Fi network that you saw in the list. Note that if the name contains spaces, quotation marks are required. In the report that opens, look for the "Security settings" section, and within it, the "Key Content" line. This is where the password you're looking for will be displayed in cleartext.

☑️ Check before entering a command

Completed: 0 / 4

This method is especially useful for system administrators or when setting up a large number of devices in an office. It allows you to quickly copy a password by simply highlighting the text in the console window and paste it onto other devices. The key is to follow the command syntax, as Windows sensitive to letter case and the presence of extra characters.

Viewing saved profiles using PowerShell

An alternative to the classic command line is a more modern tool - PowerShellIt offers similar functionality, but with more convenient data output formatting and the ability to use complex scripts. Many users may find this interface more user-friendly, as it is better integrated with modern system components.

Launch PowerShell as administrator. To list all profiles, you can use the same command as in CMD: netsh wlan show profilesHowever, to immediately obtain the password in a readable format, you can combine commands. Enter the following query:

netsh wlan show profile name="Network_Name" key=clear | Select-String"Key Contents"

This command will filter out a huge amount of technical information and leave only the password line. This saves time when you need to quickly find data among dozens of saved networks. If you want to see all profiles and their passwords at once (which is less secure), you can use a loop, but for one-off tasks, a specific network is better.

What to do if the command fails?

If the system reports "Access Denied," make sure you're running the shell as an administrator. If the error is related to the profile name, check the exact spelling of the network name, including spaces and special characters, using double quotes.

Usage PowerShell It also allows you to automate the process if you need to export network data to a flash drive or a text file. This can be useful when migrating to a new computer or backing up network settings before reinstalling the system. However, keep in mind that files containing passwords in cleartext require enhanced security.

Comparison of password recovery methods

The choice of password retrieval method depends on your current situation, your level of access to the system, and your personal preferences. Each method has its advantages and limitations. The graphical interface is ideal for beginners, the command line is ideal for precision and access to connection history, and PowerShell is for advanced scenarios.

The table below provides a comparison of the main characteristics of the methods considered, which will help you choose the best option:

Method Complexity Access to history Admin rights required
Graphical interface Low Active network only Yes (for viewing)
Command Prompt (CMD) Average All saved profiles Yes (required)
PowerShell Medium/High All saved profiles Yes (required)
Third-party utilities Low Depends on the program Yes

As the table shows, the command line and PowerShell provide the most comprehensive access to information. The graphical method is limited to the currently active connection or requires additional steps to switch between profiles in older OS versions. Security All methods are based on the user account.

If you frequently configure networks, it makes sense to master the commands netsh, as they are universal and work on most versions of Windows, from XP to Windows 11. This knowledge can be a lifesaver in situations where the graphical interface is not working correctly or is frozen.

📊 Which password recovery method do you find most convenient?
Via network properties (GUI)
Via the command line (CMD)
Via PowerShell
Using third-party programs

Third-party key recovery programs

There are many utilities on the software market designed specifically for managing Wi-Fi connections and recovering forgotten passwords. Popular programs such as WirelessKeyView from NirSoft or WiFi Password Revealer, automate the process we discussed in the command line. They scan the registry and display the data in a convenient window.

⚠️ Attention: Download such snails only from the official websites of the developers. Antivirus programs often react to them as HackTool or RiskWare, as their functionality can be exploited by attackers to steal data. This is a false positive, but the risk of downloading a virus from a fake website is real.

The main advantage of such programs is speed and clarity. You don't need to enter commands; simply run the .exe file, and all passwords will be displayed in a list. Some of them allow you to export data to HTML, TXT, or XML formats, which are convenient for backup. However, using third-party software always carries potential risks, especially if you're unsure of the download source.

Furthermore, some antivirus software may block such programs, considering them an attempt at unauthorized access. If you are using a corporate computer, installing such software may violate policy. information security organizations and call alerts from the system administrator.

Restoring access via the router's web interface

If none of the computer methods work (for example, you changed the operating system and the profiles weren't saved), the last reliable option is to view the password in the router's settings. To do this, connect your computer to the router via a LAN cable or Wi-Fi (if it's still working on another device) and log in to the control panel.

The login address is usually written on a sticker on the bottom of the device and looks like this 192.168.0.1, 192.168.1.1 or a domain name (eg tplinkwifi.net). After entering the administrator login and password (often admin/admin), you'll be taken to the settings menu. Find the "Wireless" or "Wi-Fi" section. Your password will be listed in the "Password," "WPA Pre-Shared Key," or "Security Key" fields.

⚠️ Attention: Router interfaces from different manufacturers (ASUS, TP-Link, D-Link, Keenetic) vary significantly. Menu names may vary, and the layout of options may change with firmware updates. If you can't find the option you need, consult the official manual for your specific model.

This method is the most universal, as it does not depend on the computer's operating system. Even if you switch to Linux or macOS, your router settings will remain the same. Furthermore, from the control panel, you can not only view but also change the password to a more complex one that's easier to remember.

Please note that to access your router settings, you may need the device's administrator password, which is different from your Wi-Fi password. If you've changed it and forgotten it, you'll need to reset the router to factory settings using the Reset, which will require you to reconfigure your Internet connection.

Frequently Asked Questions (FAQ)

Is it possible to find out a Wi-Fi password if the computer has never connected to it?

No, this is impossible using software from this computer. The password is stored only on devices that have already been authenticated or in the router's settings. If the device is "clean," the only solution is physical access to the router or knowledge of the password from another connected device.

Is it safe to save passwords in Windows?

Yes, the system encrypts saved passwords. However, if an attacker gains physical access to your computer while it's running or has administrator privileges, they can retrieve them via the command line. For maximum security, use complex passwords and don't allow unauthorized access to your administrator account.

What should I do if the netsh command says "Network not found"?

This means there is no profile with that name in the computer's memory. Check the exact network name (case is important) using the command netsh wlan show profiles to view a list of all saved networks and make sure you enter the name from there.

Is it possible to recover the guest network password?

Guest networks often have limited key expiration dates or specific security rules. The recovery process is the same (via CMD or network properties), but if the router is configured to generate temporary passwords (vouchers), the old password may no longer be valid, even if the system remembers it.