Where can I find my Wi-Fi password on a Windows 10 computer?

Needing to connect a new device to a wireless network but long forgotten the password is a common occurrence in today's digital world. Fortunately, the operating system Windows 10 By default, it saves the security keys of all networks your computer or laptop has ever connected to. This feature makes reconnecting convenient, but it often creates problems when you need to share data with guests or reconfigure the router.

Restoring access to saved data doesn't require administrator privileges beyond standard user rights or sophisticated hacking software. Simply knowing the specific system storage location Microsoft hides this information. We'll cover several methods, from the standard graphical interface to advanced scripts, allowing you to choose the most appropriate option for your situation.

It's important to understand that access to this data is only possible if your device has previously been successfully authorized to the network. If you've never connected to the desired router from this PC, you won't be able to obtain the key through the system—you'll need physical access to the router itself or the code from the sticker on its body. However, in most cases, if the computer "remembers" the network, the solution is just a couple of clicks.

Finding a password through standard network settings

The easiest and safest way to find a forgotten password is to use the built-in network connection management interface. This method requires no command input and is suitable for most users who are wary of accidentally changing system settings. First, ensure your computer is within range of the network or is already connected to it.

Go to Control Panel using the keyboard shortcut Win + R and entering the command ncpa.cpl, or find "Network and Internet settings" in the Start menu. In the window that opens, select "Change adapter settings." This will display all available network interfaces, including your wireless module. Wi-Fi.

Find your active connection, right-click it, and select "Status." In the dialog box that opens, click "Wireless Network Properties." Go to the "Security" tab. This is where your data is hidden, in the "Network Security Key" field.

By default, the characters in this field are replaced with periods or asterisks for privacy purposes. To view them, you must check the "Show entered characters" box. The system may prompt you to confirm administrator rights via a pop-up window. UAC (User Account Control), after which the password will become visible in plain text.

⚠️ Attention: If the "Security" tab is empty or the confirmation button is grayed out, this may indicate that your account lacks sufficient privileges or the network profile is corrupted. In this case, try running the browser as an administrator or using the command line described below.
📊 I'm recording on the router
I write it down in a notepad: I keep it in a password manager: I remember it by heart: I don't know it anywhere, I always forget it

Using the Command Prompt for Advanced Users

For those who prefer speed and precision, the command line CMD provides a powerful tool for managing network profiles. This method is especially useful if the graphical interface is not working correctly or if you need to find the password for a network to which the computer is not currently connected but the profile is saved in memory.

Open Command Prompt as administrator. You can do this by searching for the app in the Start menu. cmd, right-clicking and selecting the appropriate option. The first step is to list all saved Wi-Fi profiles on your device. To do this, enter the following command:

netsh wlan show profiles

The system will display a list of all networks the computer has ever connected to. Find the name of the router you need (SSID) in the list. Next, to view the security key, use the command with the profile name. Note that the network name must be written exactly as it appears in the list, including capitalization and spaces:

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

In the command output, scroll down to the "Security Settings" section. The "Key Contents" line (Key Content) will contain the desired password in cleartext. This method is secure and works even in the operating system's safe boot mode.

Viewing saved networks in PowerShell

An alternative to the classic command line is a more modern tool PowerShellIt offers advanced functionality and often performs faster when handling network requests. PowerShell's interface can be more user-friendly for users familiar with programming thanks to its support for the object model.

Launch PowerShell as administrator. Enter the following command to list all profiles:

Get-NetConnectionProfile

However, for direct password extraction it is more convenient to use a combination with netsh Within PowerShell or specific cmdlets. To immediately get the password for a specific network, you can use the following script:

(netsh wlan show profile name="Network_Name" key=clear) | select-string"Key content"

This approach allows you to filter out unnecessary information and display only the password string. This is especially convenient if you plan to copy the data to the clipboard or save it to a text file for later use on another device.

What to do if PowerShell blocks script execution?

If you see an execution policy error during startup, enter the command: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser . This will allow local scripts to run without compromising system security.

Third-party password recovery utilities

If you don't want to mess around with the command line, there are specialized programs that automate the key extraction process. One of the most well-known and time-tested is WirelessKeyView from the company NirSoftIt does not require installation and works immediately after launch.

The program scans the Windows registry and system storage devices, displaying a list of all saved networks, their SSIDs, encryption types, and, most importantly, passwords in plain text (ASCII and Hex). The utility's interface is minimalist: a table of data that can be sorted or exported to a file.

Another popular solution is WiFi Password DecoderThis tool can also recover forgotten passwords and display a QR code for quickly connecting mobile devices. Use third-party software with caution: download programs only from the developers' official websites to avoid infecting your system with mining viruses or Trojans.

Program License Availability of installation Russian language
WirelessKeyView Freeware Not required Eat
WiFi Password Decoder Free / Pro Required Eat
Magical Jelly Bean Keyfinder Freeware Required Partially
⚠️ Attention: Antivirus programs may report password recovery utilities as "RiskWare" or "HackTool." This is a false positive, as these programs use legitimate Windows APIs but have the potential to be misused. Only add them to your exceptions if you are sure of the source of the download.

Checking via the router's web interface

If your computer can't remember passwords or the system is damaged, there's a universal solution: configuring the router itself. To do this, connect to the router (via cable or Wi-Fi, if you still have access) and enter its IP address into the browser's address bar. This is usually 192.168.0.1 or 192.168.1.1.

After entering the administrator login and password (often by default this is admin/admin, if you haven't changed them), go to the wireless network section. It may be called Wireless, Wi-Fi Settings or "Wireless Mode". In the security subsection (Wireless Security) the current network key is always displayed.

Here you can not only view but also change the password to a more complex one if you suspect your neighbors are using your Wi-Fi. After changing the settings, be sure to click "Save" or "Apply," otherwise the changes will not take effect and you will need to reconnect all devices.

☑️ Router security check

Completed: 0 / 1

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, the Windows operating system doesn't have magical properties and can't hack your router's security remotely. It only stores the data you previously entered during successful authorization. Gaining access requires physical access to the router or knowledge of the password for another device that's already connected.

Why is the "Network Security Key" field grayed out and uneditable?

This field is view-only; you can't change the password directly in the adapter properties. If you want to change the password, you must do so in the router settings. If the field is unavailable even for viewing (you can't check "Show characters"), check your account permissions—administrator rights are required.

Is it safe to save passwords in Windows?

Yes, Windows encrypts saved passwords and stores them in a secure system vault. They can only be accessed by the user account that entered them or by an administrator. However, if your computer is infected with a stealer, attackers can access this data, so having an up-to-date antivirus is essential.

What should I do if the netsh command returns the error "Network out of range"?

This error may occur if the network profile is corrupted or deleted. Try running the command first. netsh wlan delete profile name="Network_Name"to delete the old profile and then reconnect to the network by entering your password. You'll then be able to request its display again.