How to find out the password for the Wi-Fi network your computer is connected to

It's quite common to need to connect a new device to a wireless network but forget or lose the password. Fortunately, the Windows operating system has a built-in mechanism that automatically saves access keys for previously used access points. This eliminates the need to remember complex combinations of characters and allows users to rely on the computer's digital memory.

There are several methods for recovering lost data, ranging from standard interface settings to using the command line. It's important to understand that you must have administrator rights to successfully complete this operation, as you're accessing secure network information. Modern operating systems provide a high level of security, hiding this data by default.

In this guide, we'll cover proven methods to help you quickly retrieve your saved access key. Whether you use the classic interface or prefer console commands, you'll find a solution that works for you. Just follow the instructions carefully and take into account the specifics of your operating system.

Using the Windows 10 and 11 GUI

The simplest and most accessible method for most users is accessing the standard network settings through a graphical interface. This method doesn't require knowledge of complex commands and is suitable even for inexperienced users who are wary of accidentally changing system settings. Viewing hidden symbols takes just a few minutes and is accomplished with just a few clicks.

First, you need to open the Network Control Panel. In operating systems Windows 10 And Windows 11 The paths may differ slightly, but the logic remains the same. You can right-click the connection icon in the system tray and select the appropriate menu item, or go through the system settings. A window will open displaying the current connection status.

In the window that opens, find the "Wireless Network Properties" button or a similar option that leads to connection details. Here, you'll find the "Security" tab, which displays the basic encryption settings. This section contains the "Network Security Key" field, which is hidden by default with asterisks or dots to protect it from prying eyes.

To see the actual password, check the "Show entered characters" checkbox. The system may prompt you to confirm administrator privileges via a UAC pop-up. After confirmation, the masking characters will be replaced by the actual password, which you can copy or write down. This method works reliably on all current OS builds.

⚠️ Note: If the "Show characters as you type" option is grayed out, this may mean you are not a device administrator or your user profile is corrupted. In this case, try logging in with an account with extended privileges.

Viewing a password via the CMD command line

For those who prefer more technical methods or can't use a graphical interface, there's a powerful tool: the command line. Using the console allows you to access hidden network profiles that your computer has connected to in the past, even if the connection is currently inactive. This is especially useful if you need to find the password for a network that isn't currently active.

The first step is to launch the Command Prompt as an administrator. To do this, press the key combination Win + X and select "Windows Terminal (Admin)" or "Command Prompt (Admin)". In the window that opens, enter a command to display a list of all saved Wi-Fi profiles. This will allow you to verify that the desired profile is actually saved in the system.

netsh wlan show profiles

Once the list is displayed, find the name of the network you're interested in. Next, use the command to display detailed profile information, adding the key=clear parameter. This is key, as it forces the system to reveal the hidden security key in plaintext. The command should look like this:

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

In the command output, scroll down to the "Security settings" section. There you'll find the "Key Content" line, which contains the password you're looking for. This method is universal and works on most versions of Windows, starting with Windows 7. It also allows you to quickly copy the error text if access is denied.

⚠️ Note: When entering the network name in quotation marks, be sure to maintain capitalization. If the name contains spaces, the quotation marks are required, otherwise the command will return a syntax error.

What to do if the command doesn't work?

If the system reports "WLAN AutoConfig service is not running," you need to open services (services.msc), find WLAN AutoConfig, and start it. Without this service, Wi-Fi management is impossible.

View passwords for all saved PowerShell networks

An alternative to the classic command line is a more modern system management tool—PowerShell. This method not only allows you to view the password for a single network but also download a list of all ever-saved passwords in plain text. This is convenient for backing up your network settings or for security audits.

Run PowerShell as administrator. Unlike CMD, you can use more complex scripts and objects here. To list profiles, use the command netsh wlan show profiles, similar to what's used in the command line. However, to extract the keys, we'll use PowerShell-specific syntax.

Enter the following command, which will automatically go through all profiles and attempt to display their keys:

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

The output will be a long list, with each network's SSID and corresponding security key in the "Key Content" field. You can copy the entire output and paste it into a text editor to search for the desired string. This is especially useful if you've forgotten the exact network name.

Using PowerShell offers more flexible options for filtering output. For example, you can redirect output to a file to avoid scrolling through a huge amount of text in the terminal window. This is a professional approach to managing network configurations in a corporate environment.

Using third-party recovery utilities

If Windows' built-in tools seem too complex or inconvenient, there are specialized password managers. They automatically scan the system, find saved Wi-Fi profiles, and display them in a convenient table format. These utilities often offer additional functionality, such as generating QR codes for quickly connecting smartphones.

One of the popular programs is WirelessKeyView from NirSoft. This lightweight application requires no installation and displays all saved keys immediately upon launch. The program's interface is minimalist: you see a list of networks, the encryption type, and the password itself. Data can be exported to HTML, XML, or a text file.

Another option is the utility Wifi Password DecoderIt works on a similar principle, decoding data stored in the Windows registry. The main advantage of such programs is the speed of results. You don't need to enter commands; simply open the application. However, be careful when downloading such tools.

📊 Which password recovery method is best for you?
Windows graphical interface
Command Prompt (CMD)
PowerShell
Third-party programs

⚠️ Caution: Download password recovery utilities only from the developers' official websites. Antivirus programs often label such programs as "HackTools" because they can be used by hackers to steal data.

When using third-party software, be sure to scan your files with a malware scanner. While useful, such tools access sensitive information, so only trusted vendors with a good reputation in the community should be used.

Checking router settings via the web interface

If none of the computer-based methods work (for example, the system was reinstalled and the passwords were not saved), the last reliable option is to view the settings directly on the router. To do this, the computer must be connected to the router, either via cable or Wi-Fi (even if you don't know the password, as long as the connection is there). You will need access to the admin panel.

Open your browser and enter your router's IP address into the address bar. This is most often 192.168.0.1 or 192.168.1.1The exact address can be found on a sticker on the bottom of the device. After entering the address, the system will ask for your username and password to access the settings. If you haven't changed them, they'll also be listed on the sticker (often admin/admin).

After successful authorization, locate the section responsible for your wireless network. It may be called "Wireless," "Wi-Fi," "WLAN," or "Wireless Network." Within this section, look for the "Security" or "Security Settings" subsection. This is where the "Password" (Passphrase, Pre-Shared Key) field is located.

This field will display the current access key. You can view it in plain text, copy it, or change it to a new one. Changing the password in the router settings will require reconnecting all devices on the network with the new key, which is a good reason to update your network security.

Parameter Description Where to look
SSID Your wireless network name Wireless Settings
Security Mode Encryption type (WPA2/WPA3) Wireless Security
Pre-Shared Key The Wi-Fi password itself Wireless Security
Channel Signal broadcast channel Wireless Settings

☑️ Checking access to the router

Completed: 0 / 4

Security measures and password storage

Once you've managed to find or recover your password, the question arises of how to store it securely. Writing down complex combinations on pieces of paper isn't always reliable, as they're easy to lose. It's recommended to use password managers, such as KeePass or built-in solutions in browsers that encrypt data and protect it with a master password.

It's also worth considering regularly changing your access keys, especially if you have many guests connecting to your network. Regularly rotating passwords reduces the risk of unauthorized individuals retaining access to your internet permanently. Guest access can be enabled in your router settings, isolating guests from your main local network.

Remember that knowing your Wi-Fi password gives you access not only to the internet but also to local resources, such as network printers or shared folders. Therefore, securing your wireless perimeter is critical to ensuring overall digital hygiene in your home or office.

Frequently Asked Questions (FAQ)

Is it possible to find out a Wi-Fi password if the computer is not connected to it right now?

Yes, this is possible if the computer has previously connected to this network and saved the profile. Use the command netsh wlan show profile name="Name" key=clear in the command line with administrator rights.

Where are Wi-Fi passwords stored in the Windows registry?

Passwords are stored in a secure area of ​​the registry and system files in encrypted form. Direct reading of these files without special decryption keys is impossible, so it's easier to use standard netsh commands.

What should I do if the "Show characters" field is grayed out and cannot be clicked?

This means you don't have administrator rights. You need to log out of your current account and log in as a user with administrator rights, or ask the computer owner to enter the password.

Will the router reset the password if I view it through the settings?

No, simply viewing the settings does not change the password. However, if you accidentally click "Save" after changing the password field, the key will change and all devices will be disabled.