How to Find a Wi-Fi Password on a Computer: 4 Proven Methods

It's quite common to need to connect a new device to a wireless network but forget the password. Fortunately, if a Windows computer is already connected to the network, saving the security key is easy. The operating system automatically encrypts and stores the authentication data so the user doesn't have to re-enter it each time.

There are several effective methods for extracting this information, from simple graphical interfaces to using the command line for advanced users. Data security In this case, it's provided by local storage, access to which requires administrator rights. In this article, we'll cover in detail all the current methods for recovering a forgotten password that work on modern versions of Windows.

Before you begin, make sure your PC or laptop is actually connected to the desired network or has been connected to it before. If the device has never connected to this router, you won't be able to recover the password using software from your computer—you'll need physical access to the router itself or the information on the sticker on its body.

Viewing your password using standard Windows settings

The easiest and most secure way to find a saved password is to use the operating system's built-in graphical interface. This method doesn't require complex commands and is suitable for most users who want to quickly resolve a problem. The network settings interface in Windows 10 and Windows 11 is slightly different, but the logic remains the same.

First, you need to open the Network and Sharing Center. Press the following key combination Win + R, enter the command ncpa.cpl and press Enter. In the window that opens, find your active wireless connection, right-click it, and select "Status." Next, go to the wireless network properties and open the "Security" tab.

In the "Network Security Settings" section, you'll see the "Network Security Key" field. By default, the characters in this field are hidden behind asterisks. To see the actual password, check the "Show entered characters" box. The system may ask you to confirm your administrator rights, after which security key will become visible.

  • 🔹 Click Win + R and enter ncpa.cpl to open network connections.
  • 🔹 Select your Wi-Fi adapter, right-click and select "Status".
  • 🔹 Go to "Wireless Network Properties" → "Security" tab.
  • 🔹 Check the "Show entered characters" box to view the password.

⚠️ Important: If you don't have administrator rights on this computer, the system won't allow you to change the key display settings. In this case, you'll need to log in using an account with elevated privileges.

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

Using the command line to get the key

For those who prefer to work with the console or need to obtain information without using a graphical interface, the command line is ideal. This method is especially useful if the system's 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.

Run the command prompt as administrator. To do this, enter cmd In Windows Search, right-click "Command Prompt" and select the appropriate option. First, you need to display a list of all saved Wi-Fi network profiles. Enter the command netsh wlan show profiles and press Enter. You will see a list of all networks this computer has ever connected to.

Once you've found the desired network name in the list, use the following command to display the profile details, including the password. Replace "NetworkName" with the exact name of your Wi-Fi network:

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

In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This method allows you to quickly access network configurations without unnecessary mouse clicks.

What to do if the command fails?

If the system reports "The WLAN AutoConfig service is not running," you need to open services.msc, find the WLAN AutoConfig service, start it, and set the startup type to "Automatic."

Login to the router's web interface

If your computer isn't connected to Wi-Fi or you want to find out the password for a new device, the most secure way is to access the router's settings. To do this, your computer must be connected to the router via Wi-Fi or a LAN cable. The login address is usually found on a sticker on the bottom of the device.

Open any browser and enter the router's IP address in the address bar. The most common addresses are 192.168.0.1, 192.168.1.1 or 192.168.31.1After entering the address, the system will ask for your username and password to access the control panel. If you haven't changed them, try the default combinations: admin/admin or admin/password.

Once in the router menu, find the section related to wireless networking. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for the "Security" or "Security Settings" subsection. This is where the current password is displayed in the "PSK Password" or "Wireless Password" field.

Router brand Standard IP Default login Default password
TP-Link 192.168.0.1 admin admin
ASUS 192.168.1.1 admin admin
D-Link 192.168.0.1 admin (empty)
Xiaomi 192.168.31.1 (No) installed upon first login
Keenetic 192.168.1.1 admin indicated on the sticker

Interfaces from different manufacturers may differ significantly, but the menu structure is generally the same. The key point is to find the "Wireless Security" section or its equivalent in the Russian-language version of the firmware., where the encryption settings are stored.

⚠️ Note: If you've changed your router password and forgotten it, the only solution is to reset the device to factory settings using the Reset button. This will completely reset all internet settings.

View passwords for all saved networks

Windows stores profiles of every network you've ever connected to. Sometimes you need to remember the password not for the current network, but for one you used a month or a year ago. The standard interface only lets you view the password for the active network, but the command line gives you access to the entire history.

Using the command netsh wlan show profiles, you get a complete list. To see the password for a specific network from the list, simply substitute its name into the command with the key key=clear, as described above. This allows you to organize your data and restore access to any saved access points.

For convenience, you can export all profiles to XML files, which will also contain passwords in cleartext, but in an easily decodable encoded format. However, for one-time use, it's easier and faster to simply cycle through the list using the show command.

  • 📡 Team show profiles displays a list of all networks known to the computer.
  • 🔑 Key key=clear forces the system to display the password in plain text.
  • 💾 Data is stored in the system registry and is protected by Windows access rights.

This method is especially useful for system administrators who maintain multiple computers and need to quickly restore access to different network segments. Connection history is a powerful diagnostic and recovery tool.

Third-party password recovery utilities

There are many specialized programs that automate the process of extracting saved passwords. Utilities like WirelessKeyView, WiFi Password Revealer, and similar programs scan Windows system tables and display a list of networks with keys in a convenient format.

Using third-party software is justified if you don't want to mess around with the command line or if standard methods don't work for some reason. However, it's important to exercise caution: download programs only from the developers' official websites. Antivirus programs may treat such utilities as "HackTools," as their functionality can be exploited by hackers.

Most of these programs are free for personal use and require no installation (portable versions). They allow you to copy a password to the clipboard with one click or save a list of all networks to a text file.

⚠️ Warning: Be extremely careful when downloading Wi-Fi hacks. Many of them contain viruses or miners. Use only trusted viewing tools. already saved in the password system, and not for picking other people's passwords.

☑️ Security rules for working with passwords

Completed: 0 / 4

What to do if none of the methods helped

In rare cases, the computer may forget the password, the profile may be corrupted, or access to the router settings may be blocked by a changed administrator password. If standard recovery methods fail, the only option left is to physically reset the router.

There's a hole marked "Reset" on the back of the router. Pressing it with a paperclip for 10-15 seconds will reset the device to factory settings. After this, the Wi-Fi network will work with the name and password printed on the sticker on the device.

Keep in mind that resetting your router will require you to reconfigure your internet connection. If your ISP uses MAC address binding or specific PPPoE/L2TP settings, you'll need the information in your contract with them. Without this information, your internet connection may not work even after resetting your Wi-Fi password.

If you're unsure, it's best to contact your provider's technical support. They can remotely check the settings or provide standard data for your equipment model.

Is it possible to find out the password from a phone if it is on the computer?

Yes, if you have Android 10 or higher, you can generate a QR code with the network details in the Wi-Fi settings on your phone (if it's connected) and scan it with another device, but this won't help if the phone doesn't remember the password either.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if I'm not connected to the network?

Yes, if your computer has previously connected to this network and saved the profile. Use the command prompt and the command netsh wlan show profile name="Name" key=clearIf the profile is deleted or was never created, it is impossible to find the password programmatically from a PC.

Where can I find my router password if I haven't changed it?

Look at the sticker on the bottom or back of your router. It contains the SSID (network name) and PIN/Password. It also often contains the login address for the settings and the administrator login/password.

Is it safe to save passwords in Windows?

Yes, it's safe for home use. Passwords are stored in encrypted system files and are accessible only to the user account and administrators. The only risk is if hackers gain physical access to your computer.

Why does the netsh command say "Element not found"?

You most likely entered the network name incorrectly. The name must match exactly, including case and spaces. Use the command netsh wlan show profiles, copy the network name from the list and paste it into the command with the key=clear key.

Is it possible to recover the password if the router has been reset?

No, after a reset, all user settings, including the Wi-Fi password, are deleted. The network will start using the factory password listed on the device's sticker or will become open if that's the default password.