How to view your computer's Wi-Fi password if you've forgotten it: A complete guide

It's quite common to need to connect a new device to your home wireless network but lose or forget the access key. Fortunately, if you've ever connected your computer or laptop to this network, the operating system Windows Automatically saves the necessary data to its storage. You won't need to reset your router or find your ISP contract to restore access.

There are several ways to recover a forgotten password: through the system's graphical interface, using the command line, or specialized utilities. Windows stores passwords in encrypted form, but provides legal tools for the device owner to view them. In this article, we'll take a detailed look at all the current methods that will help you quickly solve the problem.

Before you begin any technical troubleshooting, make sure the device you're looking for the password on is actually connected to the desired network or has previously connected to it. If the computer has never connected to this Wi-Fi network, you won't be able to recover the key through its settings—in this case, you'll need access to the router itself. However, in most cases, simply reading the saved profiles correctly is sufficient.

Viewing the password through the Network and Sharing Center

The easiest and safest way to find the saved key is to use the standard operating system settings. This method doesn't require knowledge of complex commands and is suitable for all versions. Windows 10 And Windows 11You need to find the active connection and open its properties, where the desired character combination will be displayed in the open text.

To get started, open the Start menu and go to Settings, then select "Network and Internet." In the window that opens, find "Network and Sharing Center," or simply right-click the Wi-Fi icon in the system tray (near the clock) and select "Network and Internet settings," then "Advanced network settings."

In the window that opens, find the name of your wireless network (it will be highlighted in blue next to "Connections") and click it. A small status window will open, where you should click the "Wireless Network Properties" button.

Go to the "Security" tab. This is where the main encryption settings and access key are located. You'll see the "Network Security Key" field, where the characters are hidden by dots. To see them, check the "Show entered characters" box.

Once the mask is removed, you'll see your password. Write it down or copy it so you don't forget it again. This method only works if you have administrator rights on your computer. If the system asks you to confirm this action, click "Continue."

⚠️ Warning: If the Security tab is missing or the fields are grayed out, your user rights may be restricted by your organization's group policy or your network profile may be corrupted.
📊 What is your current Wi-Fi password status?
I remember the password, I'm just checking.
I forgot, I need to restore it urgently
The password is on the router, I'm looking for it just in case.
I need to know the password for someone else's network.

Using the command line to recover the key

For more advanced users or in situations where the graphical interface isn't working correctly, the command line is ideal. This tool allows you to interact directly with the system's wireless network management services. WLAN AutoConfigThe method is universal and produces accurate results even on older OS versions.

Launch Command Prompt as administrator. To do this, right-click the Start button and select "Windows PowerShell (Administrator)" or search for "cmd," right-click, and select "Run as administrator."

First, you need to find out the exact network profile name if it's different from the Wi-Fi name. Enter the command: netsh wlan show profilesIn the "User Profiles" list, find the name of your network. Then use the following command to display the key:

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

Instead of Your_Network_Name Substitute the actual profile name in quotation marks. After the command runs, scroll down to the "Security Settings" section. Find the "Key Contents" line—your password will be listed in cleartext.

This method is great because it works even if the network isn't currently active, as long as the profile is saved in the system. You can view the keys of all networks you've ever connected to by simply changing the profile name in the command.

☑️ Check before entering a command

Completed: 0 / 4

Finding a password through the Windows registry

The Windows registry is a hierarchical database that stores low-level system and application settings. Wi-Fi passwords are also stored here, but accessing them is difficult due to encryption. Directly reading the registry without special decryption keys is impossible for the average user, so this section explains where the information is physically located rather than recommending manual editing.

However, there are paths where profiles are stored. Navigate to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesHere you will find many folders with unique identifiers (GUIDs). Inside each folder, in the parameter ProfileName The network name is specified.

However, the security key itself isn't explicitly stored in the registry in a readable format for standard WPA2-Personal profiles. Manual attempts to find it there often lead to a dead end. Extracting the key from the system registry stores will still require using the command line described above or third-party software capable of decoding this data.

Working with the registry requires extreme caution. Any incorrect change can lead to system instability. Recommended Use this method only to find the profile name if it has been changed, not to find the password itself.

Is it possible to recover a password if you reinstall Windows?

Unfortunately, no. A clean installation of the operating system deletes all user data, including saved Wi-Fi profiles and the registry. The password can only be retrieved if it's saved on another device that has previously connected to the network, or on the router itself.

Third-party password recovery programs

If Windows' built-in tools seem too complex, you can use specialized software. There are numerous utilities designed for managing wireless connections and recovering forgotten keys. They automate the process we described in the command line section.

One of the popular programs is WirelessKeyView from NirSoft. This is a portable utility that requires no installation. Once launched, it automatically reads all saved wireless network keys from the system and displays them in a table. You can copy the password to the clipboard or save the list to a text file.

Other analogs such as WiFi Password Decoder or Free WiFi Password Recover, work on a similar principle. They scan system storage and display the results in a convenient format. However, you should be careful when downloading such software.

  • 🛡️ Download programs only from the official websites of developers to avoid viruses.
  • 🚫 Antiviruses may react to such snails as "HackTool" because they access protected data.
  • 💾 Save recovered passwords in a safe place, such as a password manager.

Using third-party software is convenient when you need to quickly download passwords from all previously connected networks at once. This saves time if you're setting up a new computer and want to transfer all settings at once.

⚠️ Warning: Be wary of cracked versions of password recovery programs. They often contain Trojans that can steal your real data. Use only verified freeware.

Comparison of access recovery methods

The password recovery method you choose depends on your situation, your level of experience, and whether you have administrator rights. Each method has its own advantages and disadvantages. Below is a table to help you decide which method to choose in your specific situation.

Method Complexity Is current network access required? Risks
Network and Sharing Center Low Desirable (for quick access) Minimum
Command line Average No (only a profile is needed) None
Third-party software Low No Viruses, false antivirus alarms
Registry High No High (registry error)

As the table shows, for most users, the best option is to use the graphical interface or command line. These methods do not require installing additional software and are completely safe for the system.

Third-party programs should only be used in extreme cases, when standard tools fail or are unavailable for some reason. Always scan downloaded utilities with an antivirus before running them.

What to do if none of the methods helped

Sometimes, a computer forgets its password, the profile is deleted, or the system returns an access error. In this case, the last option is to look at the key on the router itself. If you have physical access to the internet sharing device, you can connect to it via cable or Wi-Fi (if it's open or you're already connected).

Enter the router's IP address (usually it's 192.168.0.1 or 192.168.1.1). To log in, you'll need your administrator login and password. If you haven't changed them, they'll be found on a sticker on the bottom of the device. This is often admin/admin.

After logging in, go to the Wireless section and find the Wireless Security settings. Your password will be listed in the PSK Password or WPA Key field. You can view it and change it to a more complex one if you suspect it's been hacked.

If you've changed your router's administrator password and forgotten it, you'll need to reset it using the reset button on the device. This will restore the router to factory settings, but it will also reset your provider settings, which you'll have to re-enter.

  • 🔌 Connect your computer to the router with a LAN cable to ensure access.
  • 🏷️ Find the sticker on the bottom of the router with your login information.
  • ⚙️ Use the "Wireless Security" or "WLAN Settings" section in the router interface.

Remember that regularly changing passwords and using complex character combinations protects your network from unauthorized access. Store important data in a safe place to avoid similar situations in the future.

Is it possible to find out the Wi-Fi password on someone else's computer?

Technically, if you have physical access to a computer that has previously connected to the network and can log in with administrator privileges, you can find out the password using the methods described above. However, if the computer is locked with a Windows login password or user account, you won't be able to access saved networks without knowing this information.

Where are Wi-Fi passwords stored in Windows 11?

In Windows 11, the process has changed slightly. Go to Settings -> Network & Internet -> Wi-Fi -> Manage known networks. Select the desired network and click "View" next to the security key field. The system will ask for identification (PIN or fingerprint).

Why doesn't the netsh command show the password?

This most often occurs because you don't have administrator rights when running the command prompt. Also, make sure you're entering the profile name accurately, including capitalization and spaces. If the profile has been deleted or corrupted, the command will also fail to extract the data.

Is it safe to store passwords in Windows?

Windows uses encryption to store keys, tying them to your user account. As long as your account is protected with a strong password and your computer is virus-free, storing passwords on the system is considered secure enough for home use.