How to View Your Wi-Fi Password on Windows 10: Complete Instructions

It's a common situation to need to connect a new device to a wireless network but lose or forget the access key. Operating system Windows 10 Automatically saves the connection configuration to ensure quick access when logging in again. However, for the user, this password often remains hidden deep within the system settings.

Fortunately, developers have provided several built-in methods for extracting this information without having to reset the router or use complex hacking tools. In this article, we'll cover in detail how to find forgotten login credentials using a standard graphical interface, the command line, and specialized software.

Restoring network access is a procedure that only takes a couple of minutes if you know exactly where to click. Below are proven steps that will help you resolve the issue, whether you're currently connected to the network or not.

Using the Windows graphical interface

The simplest and most accessible method, which doesn't require entering complex commands, is to use the standard network connections menu. This method only works if your computer already connected to the desired Wi-Fi network or have previously connected to it. You need to access the active connection properties through the control panel.

To get started, open the Start menu and go to Settings by selecting the gear icon. Next, navigate to Network and Internet and look for the Network and Sharing Center link, or simply type ncpa.cpl In the "Run" window, find the icon for your wireless connection, right-click it, and select "Status."

In the dialog box that appears, click "Wireless Network Properties." Go to the "Security" tab. You'll see the "Network Security Key" field, where the characters are hidden by dots. To make them visible, check the "Show entered characters" box.

  • 📌 Open "Network Connections" via command ncpa.cpl.
  • 📌 Right-click on the active Wi-Fi connection.
  • 📌 Go to "Properties" and select the "Security" tab.
  • 📌 Activate the "Show entered characters" checkbox.

Please note that performing these actions may require administrator privileges. If the system prompts you to confirm your account, enter your password or confirm your sign-in. Without the appropriate privileges, access to critical security settings may be restricted by your organization's policies.

⚠️ Important: If the "Security" tab is missing or the buttons are grayed out, check whether your antivirus software or corporate policy is blocking access to network adapter settings.

Finding a password via the CMD command line

The Windows command line provides a more flexible tool for managing network profiles. Using the utility netsh You can not only view the current key, but also find passwords for all networks to which the computer has connected in the past, even if you are currently out of their coverage area.

To launch, open the Start menu, type cmd, right-click "Command Prompt" and select "Run as administrator." First, you need to display a list of all saved profiles. Enter the command: netsh wlan show profilesFind the name of the desired network in the list.

Knowing the exact profile name, enter the following command to display the details: netsh wlan show profile name="Network_Name" key=clearDon't forget to replace "Network_Name" with the actual name of your Wi-Fi network. In the "Security Settings" section, find the "Key Contents" line—it will contain your password in clear text.

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

This method is especially useful when the graphical interface isn't working correctly or when you need to quickly copy data. The command line ignores many visual UI bugs and directly accesses the wireless network management system services.

What if the network name contains spaces?

If the profile name contains spaces or special characters, be sure to enclose it in quotation marks, as shown in the example above. Without quotation marks, the system will treat part of the name as a separate command argument and return an error.

Using PowerShell for Advanced Users

Wednesday PowerShell is a more powerful alternative to the classic CMD and allows not only displaying information but also processing it with scripts. It's ideal for system administrators or users who need to extract passwords from dozens of profiles at once.

Open PowerShell with administrator privileges. The basic command is similar to CMD, but PowerShell syntax allows you to display only the fields you need. Enter the command: (Get-NetConnectionProfile).Nameto see a list of active profiles. Then use the cmdlet netsh inside PowerShell, as the built-in Wi-Fi modules may not be installed by default on all builds.

However, there is a native method via XML export. You can export the profile to a file where the password will be stored in plain text. The command looks like this: netsh wlan export profile name="Network_Name" key=clear folder=C:\After execution, an XML file will appear in the root of drive C, which can be opened with Notepad.

  • 🚀 Open PowerShell as administrator.
  • 🚀 Use the export profile command with a flag key=clear.
  • 🚀 Find the created XML file in the specified directory.
  • 🚀 Open the file with a text editor and find the tag keyMaterial.

Inside the XML file, look for the tag <keyMaterial>The text between this tag is your desired password. This method is useful because it allows you to back up your network settings for later import on another computer.

📊 Which method of entering commands is more convenient for you?
Classic CMD
PowerShell
Graphical interface
Third-party programs

Comparison of access recovery methods

The optimal method depends on your current situation and level of experience. A graphical interface is suitable for one-time actions, while a command line is indispensable for remote administration or when a mouse is not available.

Below is a table to help you decide on a method depending on your circumstances:

Method Necessary rights Requires connection Complexity
GUI (Properties) Administrator Yes (active profile) Low
CMD (netsh) Administrator No (any profile) Average
PowerShell Administrator No High
Third-party software Administrator No Low

As the table shows, the command line offers more flexibility, as it allows you to work with profiles to which the device is not currently connected. This is critical if you want to connect your laptop to a network it was connected to a month ago but is now out of range.

Third-party password recovery utilities

If using the console seems too complicated, there are many specialized programs on the market. One of the most well-known is WirelessKeyView from NirSoft. This is a portable utility that doesn't require installation and scans the registry and displays all saved keys.

It's important to exercise caution when using such software. Antivirus programs may react to such programs as HackTool or PUP (Potentially Unwanted Program), as their functionality can be used by attackers to steal data. You will need to add the program to the exceptions list.

Other popular analogues include WiFi Password Decoder And Magical Jelly Bean WiFi Password RevealerTheir operating principle is the same: they access the operating system API or directly read protected registry sections, decoding hashed passwords.

⚠️ Warning: Only download such snails from the official developers' websites. Versions from third-party torrent trackers may contain modified code designed to steal your real passwords.

Using third-party software is justified when the built-in Windows tools are damaged or blocked by group policies. However, for a typical home network, it's best to stick to built-in methods to avoid cluttering the system with unnecessary applications.

Restoring access if the PC is not connected

A common problem: you need to know the password to connect your phone, but your Windows 10 computer isn't currently connected to Wi-Fi (for example, after reinstalling the operating system or resetting the network settings). In this case, you won't be able to view the password through "Properties" because the profile may be inactive.

However, if you haven't previously deleted the network profile, it's still stored in memory. Use the command line method described above: netsh wlan show profiles will display a list of all networks ever used. Even without an active connection, the system remembers access keys.

If the profile has been deleted, the only option is physical access to the router. Most devices have a sticker with the factory password. If you've changed it before and haven't written it down, you'll have to reset the router to factory settings (press the Reset button), which will disconnect all devices.

  • 🔍 Check the list of profiles via CMD, even without a connection.
  • 🔍 Look at the sticker on the bottom of the router (default password).
  • 🔍 Log into your router's web interface (the password is often already saved in your browser).
  • 🔍 Use the reset button as a last resort.

☑️ Check before resetting your router

Completed: 0 / 4

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if I have never connected to this network from this PC?

No, Windows can't hack networks. It only stores keys that have been successfully entered by the user or previously obtained via WPS. If the profile isn't saved in the system, it's impossible to find the password through the OS.

Why does the netsh command say "Network profile not found"?

This means the computer has never connected to a network with that name, or the profile has been deleted. Check the spelling of the network name, including capitalization and spaces. Also, make sure you're viewing wireless network profiles, not wired ones.

Is it safe to save passwords in Windows?

Yes, they are stored encrypted in the system registry. Access to them is only possible with administrator rights. However, if an attacker gains physical access to your computer while it's running, they can extract this data in a matter of minutes.

Is it possible to view the Wi-Fi password on a phone using a computer?

Directly – no. But if the phone is connected to a PC in debug mode and has root access (Android), it's theoretically possible to extract system configuration files. It's easier to look up the password in the smartphone's settings (Android 10+ has a QR code password feature) or use the sticker method on the router.