How to find the Wi-Fi password on a Windows 10 PC

It's common to need to connect a new device to your home network but have forgotten your Wi-Fi password. Fortunately, the operating system Windows 10 Stores data about previously connected wireless networks in its registry, making it easy to retrieve the information you need. You don't need to be a system administrator to perform this procedure, as Microsoft has provided several built-in tools for this purpose.

Restoring access is possible if your computer is already connected to the router or has been connected to it before. In this case security key is saved in the connection profile. We'll cover methods that don't require installing additional software, as well as advanced options for experienced users.

There are several ways to solve this problem, from simply viewing network properties in the graphical interface to using the console. The choice of a specific method depends on your preferences and the current system configuration. The main thing is to have physical access to the device where the profile is stored.

Viewing a password through the Windows graphical interface

The simplest and safest method, which doesn't require entering complex commands, is to use the operating system's default settings. This method is ideal for those who prefer visual management. Open the "Settings" menu and navigate to the network management section.

Press the key combination Win + R, enter the command ncpa.cpl and press Enter. The Network Connections window will open. Find your Wi-Fi adapter, right-click it, and select "Status." In the window that opens, click "Wireless Network Properties."

In the new window, go to the "Security" tab. You'll see the "Network Security Key" field, where the characters are hidden behind asterisks. Check the "Show entered characters" box. Password will immediately become visible in text form.

It's worth noting that this method only works for the network you're currently connected to. If you want to find the password for a network you've connected to in the past but are currently out of range, this method won't work.

☑️ Check before viewing

Completed: 0 / 4

Using the Command Prompt to Restore Access

For more advanced users or in situations where the graphical interface does not work correctly, the command line is a great tool. CMDThis method allows you to not only view the current password, but also display a list of all saved profiles.

Run the command prompt as administrator. To do this, enter cmd In the search box, right-click "Command Prompt" and select the appropriate option. First, enter the command to view all saved profiles:

netsh wlan show profiles

Find the name of the desired network in the list. Next, enter the command to display a specific profile, adding the parameter key=clearThis will force the system to display the key in clear text.

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

In the command results, find the line "Key Content". This is where the key you are looking for will be located. passwordThis method is especially useful if you need to quickly copy data or if the Windows interface is frozen.

What if the network name contains spaces?

On the command line, names with spaces must be enclosed in quotation marks, otherwise the system will return a syntax error.

Using the console provides more detailed information about the encryption type and security mode, which can be useful when diagnosing connection problems with other devices.

View saved passwords for all networks

You often need to remember the password not only for your current network, but also for the one you connected to a month ago at the cottage or office. Windows stores a history of all connections, and this data can be retrieved.

You can list all profiles using the command line. However, to view passwords for all networks at once, it's more convenient to use a small script or run the command sequentially for each profile. Windows 10's built-in tools don't allow you to bulk display all passwords in a single window without the use of third-party utilities.

However, you can create a text file with the list. To do this, use output redirection on the command line:

netsh wlan show profiles > C:\wifi_profiles.txt

This file will help you organize your data. Then, as you scroll through the list, use the command with key=clear for everyone you are interested in SSIDThis will take longer, but will ensure accurate data is retrieved from the system registry.

Parameter Description Where to find
Profile name Wi-Fi network name (SSID) List of profiles
Security type Encryption protocol (WPA2, WPA3) Security properties
Security key The network password itself Key Contents field
Connection mode Automatic or manual Profile settings

It's important to understand that if you changed the password on your router but didn't update it on your PC, your profile may still contain an old, invalid key. In this case, connecting to the network will be impossible until the data is updated.

📊 Which password recovery method do you find more convenient?
Through Windows settings
Via the command line
Through third-party programs
Look at the router sticker

Using third-party utilities

If the built-in tools seem too complicated or time-consuming, there are specialized programs that automate the process. Utilities such as WirelessKeyView from NirSoft, scans the registry and displays all saved keys in a convenient list.

The advantage of such programs is speed and clarity. You don't need to enter commands or search for the right tabs. However, using third-party software always carries certain risks. You should download programs only from the developers' official websites.

⚠️ Warning: Antivirus programs may flag password recovery utilities as potentially unwanted software because they have access to sensitive system data.

Many modern antiviruses, such as Kaspersky or ESET, have their own built-in password managers that can also store Wi-Fi keys if you've used their syncing features. Check these programs first.

Using third-party software is justified when you need to quickly transfer passwords to a new computer or print a list of them. In most cases, Windows 10's built-in tools are sufficient for a one-time password recovery.

Reset network settings and re-authorize

If the system isn't working properly, the network profile may be corrupted, preventing the password from displaying or causing the connection to constantly reset. In these cases, the only solution is to completely reset the network settings.

This procedure will delete all saved Wi-Fi profiles, VPN connections, and adapter settings. After restarting, your computer will behave as if it were new in terms of network connections. You will have to re-enter passwords for all known networks.

To perform a reset, go to Settings → Network & Internet → StatusAt the very bottom of the page, find the "Network Reset" link. Click it and confirm the action. The computer will restart in 5 minutes.

This method often resolves driver issues and IP address conflicts. If the password display issue persists after resetting, it's worth checking for driver updates for your wireless adapter.

  • 🔄 Resetting removes all cached DNS data.
  • 📡 Network adapters are reinstalled in the Device Manager.
  • 🔒 Windows Firewall settings are reset to default.
  • 🗑️ All saved Wi-Fi and Bluetooth profiles are deleted.

Please remember that after this operation, you will need physical access to the router or other device where the password is saved in order to re-authorize on the network.

Restoring access via a router

If none of the software methods work, or you want to change your password to a more complex one, you can always access your router's settings. To do this, connect to it via cable or Wi-Fi (if you still have access).

Enter the IP address of your router (usually 192.168.0.1 or 192.168.1.1) in the browser's address bar. You'll need your admin panel login and password. By default, these are often located on a sticker on the bottom of the device.

In the router interface, find the "Wireless" or "WLAN" section. The current password will be displayed in the "Wireless Password" or "PSK" field. You can also change it here.

⚠️ Please note: When you change the password in your router settings, all connected devices will lose internet connection and will require you to re-enter the new security key.

This method is the most reliable, as it shows the current password set directly on the provider's equipment or by the user, regardless of what your computer "remembers" or "forgot."

What should I do if I forgot my router admin password?

The only solution is to perform a hardware reset of the router using the Reset button on the case. This will return all settings, including the Wi-Fi password, to factory defaults.

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

No, this can't be done using standard Windows tools. The system only stores passwords for networks to which a successful connection has been established. If the profile is deleted or was never created, there is no data in the registry.

Where is the Wi-Fi password physically located if the router is new?

On most modern routers, the factory password (Wi-Fi Key) is printed on an information sticker on the bottom or back of the router. Look for the WPA/WPA2 Password field.

Is it safe to store passwords in Windows?

Storing passwords in Windows is secure enough for home use, as access to them is protected by account permissions. However, if attackers with administrator privileges gain physical access to your PC, they can extract this data.

Why does the netsh command give a "Network not found" error?

This means you entered the profile name incorrectly. The name must match exactly, including capitalization and spaces. Use the show profiles command to copy the exact name.