How to Find a PC's Wi-Fi Password: Complete Methods

A forgotten Wi-Fi password instantly blocks a new device from connecting to the internet, but the Windows operating system automatically stores access keys for all previously used networks in the computer's memory. This feature allows you to recover lost data without needing ISP administrator rights or logging into the router settings, as long as your PC has already successfully connected to the network.

There are several ways to extract this information, ranging from simple graphical interfaces to advanced methods using console commands. Each method has its own characteristics and is suitable for different scenarios, such as if you don't have access to the desktop or the system is running with restricted permissions. In this article, we'll cover all the current password recovery methods for modern OS versions in detail.

Before you begin, it's worth noting that some operations, especially those involving system utilities, may require permissions. administratorIf you're working on a corporate computer, ensure your actions don't violate the organization's security policy. At home, you can safely use any of the methods described below.

Viewing a password through the Windows graphical interface

The easiest and most secure way to find the saved key is to use the standard network management tools in your operating system. This method doesn't require complex commands and is easy to understand even for novice users. It works reliably on all modern versions of Windows, including 10 and 11.

First, you need to open the Network Connections window. You can do this quickly by using the Run menu with a keyboard shortcut. Win + R and entering the command ncpa.cplIn the window that opens, find the icon for your wireless connection, right-click on it, and select "Status."

In the dialog box that appears, click "Wireless Network Properties." Go to the "Security" tab. This is where the information you're looking for is stored. You'll see the "Network Security Key" field, the contents of which are hidden by asterisks. To view the password, check the box next to "Show characters as you type."

⚠️ Attention: If the "Security" tab is missing or the fields are grayed out, this may indicate that the network profile has been deleted or corrupted. In this case, try reconnecting to the network first, entering the password from a different device, if possible.

This method only allows you to find the password for the network your computer is currently connected to. If you need to recover data from a different network, one to which your PC has previously connected but is currently inactive, you'll need to use the other methods described below.

Using the Command Prompt to Recover Keys

For more advanced users or in situations where the graphical interface does not work correctly, using the command line is the ideal solution. CMDThis tool provides direct access to the Windows Wireless Network Management service and allows you to display saved profiles in text format.

To launch the console with the required privileges, right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)." First, you need to get a list of all saved profiles. To do this, enter the command:

netsh wlan show profiles

Find the name of the network you need in the list. Then use the following command, replacing "Network_Name" with the actual name of your Wi-Fi network:

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

After running the command, scroll to the "Security Settings" section. The "Key Contents" line will display the password you're looking for in cleartext. This method is especially useful when you need to quickly copy a password to transfer it to another device.

The command line also lets you manage profiles: you can delete old or unnecessary networks to avoid getting lost in the list. However, be careful: deleting a profile will require you to re-enter your password the next time you connect.

Viewing passwords using PowerShell

An alternative to the classic command line is a more powerful tool. PowerShellIt offers more flexible options for scripting and output filtering, although its functionality is overkill for the simple task of viewing passwords. Nevertheless, many system administrators prefer to work in this environment.

Run PowerShell as administrator. The commands here are similar to those used in CMD, as they access the same system library. You can use the same syntax. netsh, or use the native PowerShell cmdlets to work with network interfaces, although the standard netsh remains the most universal solution.

One of PowerShell's advantages is the ability to output results directly to a file or format them as a table for easier reading. For example, you can generate a list of all networks and their passwords, although this requires writing a small script. For a one-time operation, standard output to the screen is sufficient.

⚠️ Attention: When working with PowerShell, ensure that the script execution policy doesn't block running commands. This isn't usually necessary for one-time commands, but it may cause restrictions when running scripts (.ps1).

If you frequently work with network settings, it might be worth creating your own script file that will automatically collect information about all known networks. This will save time in the future if you need to migrate a large number of settings to a new computer.

📊 What is your preferred way to manage network settings?
Through the graphical interface
Command Prompt (CMD)
PowerShell
Third-party programs

Obtaining a password through the router's web interface

If your computer isn't connected to Wi-Fi or the profile has been deleted, the only way to find the password is to access the router's settings. This requires a cable (LAN) or mobile data connection, as accessing the router's settings via Wi-Fi without knowing the password is impossible (unless WPS is enabled).

Open your browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password for access, are usually indicated on a sticker on the bottom of the device. The default credentials are often admin/admin or admin/password.

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

Router brand Standard IP Settings section
TP-Link 192.168.0.1 Wireless -> Wireless Security
ASUS 192.168.1.1 Wireless Network -> General
D-Link 192.168.0.1 Wi-Fi -> Security Settings
Keenetic 192.168.1.1 My Networks and Wi-Fi -> Home Network
Tenda 192.168.0.1 Wireless Settings -> Wireless Security

Router interfaces are constantly updated by manufacturers, and the layout of menu items may vary depending on the firmware version. If you can't find the section you need, use the menu search within the router interface or refer to the manual for your specific model.

⚠️ Attention: Interfaces and menu item names may change after updating your router's firmware. If you can't find these items, consult the manufacturer's official documentation for your model.

Using third-party utilities

There are many programs designed to manage wireless connections and recover passwords. One of the most popular and time-tested utilities is WirelessKeyView from NirSoft. It requires no installation and works immediately after launch.

The program scans the system registry and Windows configuration files, extracting all stored keys. The utility's interface is simple: you see a list of networks, the encryption type, and the password itself in plain text. Data can be exported to HTML, XML, or a text file for easy storage.

Another option is to use password managers such as Google Chrome or specialized key managers if you've previously synced your network data with the cloud. However, specialized utilities like WirelessKeyView provide more comprehensive access to Windows system data.

Third-party utility security

Using programs from unknown developers carries risks. Utilities like WirelessKeyView may be blocked by antivirus software as "HackTools" because they are designed to extract sensitive information. Use only trusted sources.

When downloading any software, be careful: download it only from the developer's official website. There are many counterfeit programs online that may contain malicious code. Always scan files with an antivirus before running them.

Method for resetting the router settings

If none of the software methods help, and access to the router interface is impossible (the administrator password has been forgotten), the last resort is a full reset to factory settings. This will return the router to its out-of-the-box state.

Most routers have a button on the body. Reset or WPS/ResetTo reset, press this button (often using a thin object, such as a paperclip) and hold it for 10-15 seconds until the indicators flash. After rebooting, the router will use the default login and password listed on the sticker.

It's important to understand the consequences: after a reset, your internet connection will be lost, and you'll have to reconfigure the router (enter your provider information, set a network name, and a new password). Only use this method if you're confident in your abilities and have the necessary configuration information.

☑️ Checklist before resetting your router

Completed: 0 / 4

This method guarantees you'll have access to manage the device, but it requires time to reconfigure the entire home network. For most users, it's not the most convenient, but it's often the only viable option.

Frequently Asked Questions (FAQ)

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

No, it's impossible to find the password programmatically if the device has never been authorized on the network. In this case, the only solution is access to the router or knowledge of the password by the owner.

Where can I find the Wi-Fi password on the router sticker?

Look for the words "WPA/WPA2 Key," "Wireless Password," or "Password." Please note that this only works if the password hasn't been changed by the user after purchase.

Is it safe to save passwords in Windows?

Yes, Windows stores them securely. However, if an attacker with administrator rights gains access to your computer, they can extract these passwords. Use complex passwords when logging in.

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

This means the command prompt is running without administrator privileges. Close the window and launch CMD or PowerShell by right-clicking and selecting "Run as administrator."

Is it possible to recover a password from an Android phone?

On modern versions of Android (10 and above), you can view the password in the Wi-Fi settings by selecting the network and tapping "Share" (a QR code with the password or text will appear), if the phone has previously connected to this network.