How to find your WiFi password on your computer: full instructions

Many users are familiar with the situation of needing to connect a new device to their home network, but the WiFi password has been forgotten or lost. Fortunately, the operating system Windows stores data about previously connected wireless networks in special security vaults. This allows you to restore access to security key without having to reset your router or call your ISP.

There are several proven ways to extract this information, ranging from simple graphical interfaces to using command lineThe method you choose depends on your operating system version, your computer's access rights, and whether the device is currently connected to the network. In some cases, you may need to access the router's administrative panel.

In this article, we'll cover all current password recovery methods in detail, including working with the registry and system utilities. You'll learn how to safely retrieve saved keys and understand where the operating system stores this sensitive data. This knowledge will be useful not only for personal use but also for home network administration.

Viewing your password through network settings in Windows 10 and 11

The easiest and most secure way to find a forgotten password is to use the operating system's standard graphical interface. This method doesn't require complex commands and is available to any user with physical access to a computer that is already connected to the desired system. Wi-Fi networksThe interface may differ slightly depending on the Windows build, but the logic of actions remains the same.

First, you need to open the Network and Internet Control Panel. Right-click the connection icon in the system tray (usually a picture of a monitor or waves) and select "Network and Internet Settings." In the window that opens, find the section Network and Sharing Center or "Properties" of the current connection. This displays basic information about the connection status.

In the wireless connection status window, click "Wireless Network Properties." Go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by symbols by default. To view the password, check the box next to it. Show entered characters.

⚠️ Attention: Administrator privileges may be required to display your password in this window. If the system prompts you for user account confirmation (UAC), you will need to enter your administrator password or confirm the action.

Once the mask is removed, the required access code will appear in the text field. You can copy it manually or use the copy button if it's available in your version of the interface. This method works reliably on most modern versions. Windows, including Home and Pro editions.

📊 What router do you have now?
TP-Link
D-Link
Keenetic
ASUS
Another

Using the Command Prompt to Recover Keys

For more advanced users or in situations where a graphical interface is not available, using command line (CMD). This method not only allows you to view the password for the current network but also displays a list of all WiFi profiles ever saved on the computer. This is especially useful for security audits or clearing old connections.

The first step is to launch Command Prompt as administrator. Click Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". To list all saved profiles, enter the command: netsh wlan show profilesIn response, the system will display a list of all networks to which the computer has ever connected.

To find out the password for a specific network, use the following construction, replacing "Network_Name" with the exact name of your profile:

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 this line says "Missing," the profile doesn't contain a saved password or an error occurred while reading it.

☑️ Check before entering commands

Completed: 0 / 4

Analyzing and managing saved profiles

The Windows operating system keeps a detailed connection history, which is a convenient tool for the user, but a potential security vulnerability. Knowing how to manage these profiles allows you to not only recover passwords but also delete old, unused entries that may conflict with new router settings.

Sometimes a computer automatically connects to the network with an incorrect password (for example, after changing the router key), and the standard interface prevents you from entering a new one. In this case, you need to delete the old profile. This can be done through the same command line using the delete profile command.

The command to delete a specific profile looks like this:

netsh wlan delete profile name="Network_Name"

After running this command, Windows will "forget" the network and prompt you for the password again the next time you try to connect. This is an effective way to resolve connection issues when your device constantly displays "Unable to connect." It's also useful when moving to clear your home network list of old addresses.

Team Description of action Necessary rights
show profiles Displays a list of all saved WiFi networks. User
show profile name="..." key=clear Shows profile details including password Administrator
delete profile name="..." Deletes a network profile from memory. Administrator
export profile name="..." folder="..." Saves the profile to an XML file (the password can be hidden) Administrator

Obtaining a password through the router's web interface

If the computer isn't connected to WiFi and an Ethernet cable isn't available, the only way to find the password is to access the router's settings. This will require connecting to the device via any available means (for example, via a LAN cable or even via mobile data if the router allows remote control, although this is rare for basic models).

Open your browser and enter the IP address of your default gateway in the address bar. This is most often 192.168.0.1 or 192.168.1.1The exact address, as well as the username and password for accessing the admin panel, are usually found on a sticker on the bottom of the device. If you've changed this information previously and forgot it, you'll need to reset the router to factory settings.

After logging in, find the section responsible for the wireless network. It may be called Wireless, WiFi Settings, Wireless mode or WLANWithin this section, look for the "Security" or "Basic Settings" subsection. The "Password" (Passphrase, Pre-Shared Key) field will be displayed in plain text or as asterisks, which can be hidden or shown.

Third-party password recovery utilities

There are many programs designed to automate the password recovery process. Utilities such as WirelessKeyView from NirSoft or WiFi Password Decryptor, scan the system registry and Windows configuration files, displaying a list of all networks and keys in a convenient format. These programs are useful when you need to quickly export all passwords to a text file.

However, you should exercise extreme caution when downloading such tools. Antivirus programs often flag them as potentially unwanted software (PUP), as they use techniques similar to malware to steal data. Such utilities should only be downloaded from the developers' official websites.

The advantage of specialized software is the ability to export data in HTML, XML, or TXT format, which is convenient for system administrators. Furthermore, some programs can generate QR codes for quick connection to mobile devices, greatly simplifying life in an office or large home.

⚠️ Attention: Using third-party software to extract passwords from other people's computers without the owner's permission is a violation of data protection laws. Use these tools only on your own devices or with the consent of your network administrator.

Restoring access by resetting the router settings

If none of the software methods helped, or if you do not remember the password for the router admin panel, there is one last radical method - a complete reset of the device to factory settings (Factory Reset). This action will reset all settings, including the WiFi network name and password, to the values ​​​​specified on the factory sticker.

To perform a reset, find a small hole with the inscription on the router body Reset or RestoreIt's usually recessed into the housing to prevent accidental pressing. You'll need a thin object, such as a straightened paperclip or toothpick. With the router powered on, press the button inside the hole and hold it for 10-15 seconds until the lights flash simultaneously.

After rebooting, the router will broadcast the network with the factory default name (SSID). The connection password will also match the one printed on the label on the bottom of the device. After connecting, you will need to reconfigure your internet connection (enter your ISP login and password) if this information wasn't picked up automatically.

Frequently Asked Questions (FAQ)

Is it possible to find out the WiFi password if the computer is not connected to it?

Yes, this is possible if the computer has ever connected to this network before. Windows saves profiles for all networks. Use the command netsh wlan show profile name="Name" key=clear in the command line as administrator, even if you are currently out of network coverage.

Where are WiFi passwords stored in the Windows registry?

Wireless network data is stored in the system registry in a path associated with the user profile and the WLAN service. Directly editing the registry is difficult and dangerous, so to extract keys from these entries, it's best to use the command line or specialized utilities that can decode this data.

What should I do if the netsh command returns an "Access Denied" error?

This error means the command prompt is running as a standard user, not an administrator. Close the terminal, right-click the "Command Prompt" or "PowerShell" icon, and select "Run as administrator."

Is it possible to find out someone else's WiFi network password using a computer?

Technically, there are methods for brute-forcing passwords or exploiting vulnerabilities in the WPS protocol, but they require specialized equipment, time, and, most importantly, are illegal without the network owner's permission. This article describes only legal methods for recovering forgotten passwords.

How to view password on Mac or Linux?

On macOS, passwords are stored in Keychain Access. Find the network name in the list, open its properties, and check "Show password." On Linux, passwords are typically stored in text configuration files in the folder /etc/NetworkManager/system-connections/, access to which requires root rights.