How to view your Wi-Fi password on a Windows 10 computer

It's quite common to need to connect a new device to the network but have lost or forgotten the password. Fortunately, the operating system Windows 10 Stores data about previously connected wireless networks, allowing you to restore access without a complete reset of the router. This is especially convenient when you don't have another authorized device at hand and urgently need internet access. In this article, we'll cover all available methods for extracting this information, from simple graphical menus to advanced console commands.

It's worth noting that most of the steps described require administrator rights on the current computer. Windows security protects stored encryption keys, so you won't be able to view them without the appropriate permissions. We'll cover methods that work even if the device isn't currently connected to the network but has previously successfully logged on. Remembering keys — a standard OS function that we will use to solve the problem.

It's important to understand that the methods described below are specific to local data recovery on your PC. If the computer has never connected to the desired access point before, it will be impossible to find the password without physical access to the router or another authorized device. We'll start with the simplest and most intuitive method, which doesn't require entering complex commands.

Viewing a password through the Windows graphical interface

The most accessible method for the average user is to use the operating system's default settings. This method doesn't require opening the command prompt or PowerShell, reducing the risk of accidentally entering syntax errors. All steps are performed through the familiar "Settings" window and the Network Control Panel. First, you need to ensure that your computer is currently connected to the network whose password you want to find out, or at least within range.

Go to the menu Start and select the gear icon to open "Settings." In the window that opens, find the "Network & Internet" section. Here, in the left column, select "Wi-Fi" (or "Status," depending on your Windows 10 build). Next, you'll need to find the link "Network and Sharing Center" or "Change adapter settings." In the classic interface window that opens, find your active wireless network connection and left-click it.

In the status dialog box that appears, click "Wireless Network Properties." Go to the "Security" tab. This is where the hidden characters of your password are displayed in the "Network Security Key" field. To see them, check the "Show entered characters" box. Security key will immediately become visible in text form, and you will be able to copy or write it down.

⚠️ Attention: If the "Security" tab is unavailable or the "Show characters as you type" button is grayed out, this means your current account doesn't have administrator privileges. You'll need to log in with an account with full privileges or ask an administrator to perform this task.

This method is ideal for quickly restoring access while you're at a physical computer. However, it has a limitation: you can only view the password for the network your PC is currently connected to. If you need to remember the password for a network you've connected to in the past but are currently out of range, this method won't work. In that case, you'll have to resort to more powerful system tools.

📊 How do you usually store Wi-Fi passwords?
I write it down in a notebook
I store it in the router's memory
I use password managers
I never change the factory one.

Using the CMD command line to recover

The Command Prompt (CMD) is a powerful operating system management tool that provides access to hidden Windows features. It can not only view the current password but also find keys for all networks ever saved in the user profile. This method is universal and works even if the network adapter is temporarily disabled or the computer is not currently connected to the internet. The only requirement is that the system has a saved network profile.

First, you need to launch the command prompt as an administrator. Right-click the "Start" button and select "Windows PowerShell" or "Command Prompt (Administrator)." In the black window that opens, enter the following command to view a list of all saved profiles:

netsh wlan show profiles

The system will display a list of all networks this computer has ever connected to. Find the desired name (SSID) in the list. Be careful to spell the name exactly, as it is case-sensitive and space-sensitive. If the network name contains spaces, be sure to enclose them in quotation marks when entering the name in the following command. Once you've chosen a name, use the following syntax to display the key:

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

In the command output, find the "Security settings" section. The "Key Content" line will display the password you're looking for in clear text. netsh command is a standard Windows network shell tool, so it's included in all versions of the system since XP. This makes the method extremely reliable for system administrators.

☑️ Check before entering a command

Completed: 0 / 4

The advantage of this method is that you can quickly copy the network name and paste it into the command, minimizing the risk of typos. Furthermore, the command line is significantly faster than the graphical interface, which is valuable when working on older or slower computers. If you're uncomfortable with text input, you can use a more modern alternative—PowerShell, which offers similar functionality with a slightly more flexible syntax.

Retrieving data via PowerShell

PowerShell is an enhanced version of the command line that provides deeper access to the system and Windows objects. It's as good as CMD for viewing Wi-Fi passwords, but some users find its output more structured. As with the previous command, you'll need to run PowerShell with administrator privileges. You can find it by searching for "PowerShell" in the Start menu.

The procedure is almost identical to working with CMD. First, we need to find out the exact names of the saved profiles. Enter the following command and press Enter:

netsh wlan show profiles

Once the list is displayed, find the desired network. Next, use the command to display the full profile and reveal the security key. The syntax remains the same as in the classic command line, as PowerShell can execute netsh commands:

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

In the execution results, look for the block Security settings. Field Key Content will contain your password. PowerShell allows you to use more complex scripts to automatically collect passwords from all networks at once, but for a one-time access recovery, a basic command is sufficient. This method is especially convenient if you're accustomed to working in PowerShell and use it for other administrative tasks.

⚠️ Attention: When entering the network name, be careful with the case. If the network is called "HomeWiFi," entering "homewifi" may result in a "Group or resource not found" error. Copy the name directly from the profile list to avoid errors.

Comparison of access recovery methods

The choice of password recovery method depends on your computer skills and the current situation. A graphical interface is suitable for beginners who are wary of entering command errors, while console methods provide more information and are faster. Below is a table comparing the key features of the methods discussed, so you can choose the best one for you.

Method Necessary rights Complexity Access to network history
Graphical interface Administrator Low Current network only
Command Prompt (CMD) Administrator Average All saved profiles
PowerShell Administrator Average All saved profiles
Third-party software Administrator Low All saved profiles

As you can see from the table, console methods win in functionality, allowing you to retrieving passwords from networks to which you are not currently connected. The only critical requirement for all methods is that the device making the request must have administrator rights. Without these rights, the operating system will block access to sensitive data for security purposes.

If you frequently need to manage network connections, it's a good idea to learn basic CMD or PowerShell commands. These are standard across all versions of Windows and don't require any additional software, which is especially important on corporate computers, where installing third-party software may be prohibited by security policies.

Third-party password management programs

In addition to the built-in Windows tools, there are many third-party utilities designed specifically for managing wireless connections. Programs like WirelessKeyView from NirSoft or WiFi Password Revealer They can automatically scan the registry and display all saved keys in a convenient list. Such utilities often have the ability to export passwords to a text file or HTML, which is convenient for backing up settings.

However, using third-party software carries certain risks. Firstly, many antivirus programs may classify such programs as potentially unwanted programs (PUPs) because they access sensitive data. Secondly, downloading software from untrusted sources puts you at risk of infecting your computer with a virus. Therefore, if you decide to use this method, download programs only from the developers' official websites.

The advantage of such programs is their clarity: you see a list of all networks at once, without having to enter commands for each one individually. This saves time when you need to recover passwords for a large number of access points. However, for a one-time operation, Windows 10's built-in tools are a safer and more reliable choice, as they don't require downloading and installing files.

⚠️ Attention: Operating system interfaces and security updates may change. If the menu paths described differ from yours, use the Windows settings search (press Win+S and type "wi-fi") or refer to the official Microsoft documentation for your OS version.

Frequently Asked Questions (FAQ)

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

Yes, this is possible, but only if the computer has previously connected to this network and saved the profile. Built-in Windows tools cannot "hack" networks; they only display the data stored in the system. If the profile is deleted or the computer has never connected to the network, it is impossible to find the password from a PC without access to the router.

What should I do if the command line says "Access denied"?

This error means you launched Command Prompt or PowerShell without administrator privileges. Right-click the program shortcut and select "Run as administrator." Only in this mode will the system allow viewing security keys.

Where is the password physically located if I can't find it anywhere?

If none of the computers remember the password, look at the sticker on the bottom or back of the router itself. The factory password (WPS PIN or Wireless Key) is often listed there. If the password has been changed and is forgotten, you'll have to reset the router to factory settings using the Reset button, after which it will revert to the settings on the sticker.

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 use the methods described in this article to view them. Therefore, it's important to protect your computer account with a strong password.