How to Find a Forgotten Wi-Fi Password on Your Computer: A Complete Guide

Many users are familiar with the situation of needing to connect a new device to a network but hopelessly forgetting the Wi-Fi password. Fortunately, if your computer is already connected to this wireless network or has connected before, the Windows operating system stores the access key in its records. This allows you to recover lost information without having to reset the router to factory settings.

In this article, we will take a detailed look at several proven methods that will help you Find out a forgotten Wi-Fi password on a computer with the Windows operating system. We'll cover both standard interface tools and more advanced command-line methods, and we'll also touch on wireless network security.

Password recovery via Network and Sharing Center

The simplest and most accessible method, which doesn't require installing additional software or knowing complex commands, is to use the standard Windows graphical interface. This method works on virtually all versions of the operating system, from Windows 7 to the latest Windows 11. All you need is desktop access and standard user privileges.

To begin, you need to open the Start menu and find "Settings" or "Control Panel," depending on your OS version. Next, go to the section Network and Internet and select the option "Configure adapter settings." In the window that opens, find the icon for your wireless connection, which is usually marked as Wi-Fi or Wireless network.

Right-click the connection icon and select "Status." In the window that appears, click "Wireless Network Properties." Go to the "Security" tab, where you'll see the "Network Security Key" field. By default, the characters are hidden behind asterisks, but by checking the "Show entered characters" box, you'll be able to see your password in plain text.

  • 🔍 Open the Start menu and type "View network connections" in the search.
  • 🔍 Find your active wireless connection and double-click on it.
  • 🔍 Go to the "Wireless Network Properties" tab at the bottom of the window.
  • 🔍 On the "Security" tab, activate the "Show entered characters" checkbox.

It's important to note that this method only works if the computer is currently connected to the network or has previously connected and saved the profile. If the profile has been deleted or you've never connected from this device, this method won't work, and you'll need to find alternatives.

⚠️ Note: If the Security tab is unavailable or the buttons are grayed out, make sure your account has administrator rights, as viewing security keys requires elevated privileges.

Using the command line to get the key

For users who prefer faster, more technical methods, the Windows command line is ideal. This method allows you to access saved passwords for all networks the computer has ever connected to, even if the connection is not currently active. This is especially useful if the graphical interface is not working correctly.

To use this method, you need to run the command prompt as an administrator. This can be done by finding the application in the Start menu. cmd, right-clicking on it and selecting the appropriate option. The first step is to list all saved Wi-Fi network profiles using the command:

netsh wlan show profiles

After running the command, you'll see a list of all networks. Find your network name (SSID) in the list and enter the following command, substituting your network name:

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

In the command output, find the "Security settings" section. There you'll find a line labeled "Key Content," which displays the password you're looking for in plain text. This method is one of the most secure, as it accesses the system's credential storage directly.

  • 💻 Click Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)".
  • 💻 Enter the command to display all profiles: netsh wlan show profiles.
  • 💻 Copy the exact name of the desired network from the list.
  • 💻 Enter the command with the parameter key=clear to receive the password.

It's important to remember that the command syntax is case-sensitive and space-sensitive. If the network name contains spaces, it must be enclosed in quotation marks, otherwise the system will return an error. This method also requires the WLAN AutoConfig service to be running on the system.

⚠️ Note: The command line interface may differ depending on your localized version of Windows. If the command doesn't work, try using the English names of the parameters, for example name instead of Name.
📊 What is your most common method for restoring access?
Through Windows settings
Via the command line
Via a router
Using programs

Resetting and configuring the router via the web interface

If none of the computer methods work, or if you need to find the password for a device that has never connected to the network, the only option is to access the router itself. To do this, log in to the router's web interface using a browser. This method requires the computer to be connected to the router via cable or Wi-Fi (if the guest network password is known or the connection is open).

Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1, however, the address may differ depending on the device model (for example, TP-Link, Asus, Keenetic). Login information (username and password) are usually indicated on a sticker on the bottom of the device, unless they have been changed previously.

Once in the settings menu, find the section responsible for wireless networking. It may be called "Wireless," "Wi-Fi," or "Wireless Mode." Within this section, look for the "Security" or "WLAN Settings" subsection. This is where the current encryption key is displayed, which you can copy or change to a new one.

Router manufacturer Typical IP address 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)
Keenetic 192.168.1.1 admin 1234
Tenda 192.168.0.1 admin admin

If the default credentials don't work, they were most likely changed during the initial network setup. If you don't remember the changed router administrator password, the only solution is to reset the device to factory settings. There's a button on the router for this purpose. Reset, which needs to be held for about 10-15 seconds when the power is on.

What to do if the router's IP address has changed?

If the default addresses 192.168.0.1 and 192.168.1.1 don't open the settings page, the address may have been changed. You can find the current gateway IP address using the command line. Enter the command ipconfig and find the "Default Gateway" line in the section for your adapter. The IP address listed there is the address you need to access your router settings.

Specialized programs for recovery

There are a number of third-party utilities designed specifically for managing wireless connections and recovering lost passwords. These programs automate the process of extracting keys from the Windows registry. One of the most well-known and time-tested tools is WirelessKeyView from NirSoft.

The main advantage of such programs is their portability—they don't require installation and can be launched immediately after downloading. This is especially useful if you need to quickly obtain a password on someone else's computer or in a corporate environment where software installation is restricted. The program scans system storage and displays a list of all networks and their keys in a convenient format.

However, caution should be exercised when using third-party software. Antivirus programs may recognize such programs as potentially unwanted programs (HackTool or RiskTool), as they access sensitive data. It is recommended to download such tools only from the developers' official websites.

  • 🛡️ Download the WirelessKeyView utility or an equivalent from the developer's official website.
  • 🛡️ Unzip the archive and run the executable file as administrator.
  • 🛡️ Wait for the system to scan and find your network in the list.
  • 🛡️ Copy the value from the "Key (Ascii)" column to use.

It's important to understand that such programs don't "crack" the password, but only read the key already stored in the system. If the computer has never connected to the network, the program also won't be able to reveal the password. This is a tool for access recovery, not for brute-force attacks.

Compatibility issues and encryption types

When recovering passwords, you may encounter various types of encryption used in wireless networks. Modern security standards, such as WPA2-PSK And WPA3, provide reliable protection, but can create difficulties when trying to connect older devices or using outdated recovery methods.

In the wireless network properties window, you can see the security type. If the protocol is specified WEP, then this is an outdated and extremely unreliable standard that is easily hacked. If used WPA2-Personal, the password is stored in hashed form, but Windows can display it in clear text for authorized users. When using corporate networks (WPA2-Enterprise) the password may not be displayed by standard means, since authentication occurs through the Radius server.

It's also worth considering that some laptop and Wi-Fi adapter manufacturers use proprietary drivers and management utilities that can take over network control from the operating system. In such cases, standard Windows methods may not work, and you'll have to use the driver or router interface.

⚠️ Note: If your network uses WPA3 encryption, some older operating systems (such as Windows 7 without updates) may not support displaying the key or even connecting to such a network. In this case, updating your Wi-Fi adapter drivers will help.

Security measures after access restoration

Once you've recovered your forgotten password, it's a good idea to consider your network's security. If the password was easily forgotten (for example, if it consisted of simple numbers or words), this is a sign that it's time to change it to a more complex one. A strong password should contain at least 12 characters, including uppercase and lowercase letters, numbers, and special characters.

Furthermore, if you suspect your password has been compromised or is known to unauthorized persons, changing it is mandatory. Changing the password in the router settings will disable all connected devices, and you will have to re-enter the new key on each one.

It's a good idea to check the list of connected clients in the router interface. If you see any unknown devices, it could mean someone is using your internet connection. In this case, changing the Wi-Fi password and the router administrator password is the first step to fixing the problem.

☑️ Network security check

Completed: 0 / 5

Frequently Asked Questions (FAQ)

Is it possible to find out a Wi-Fi password if the computer has never connected to this network?

No, it's impossible to find the password for a network to which the device has never connected using standard Windows tools or third-party programs. The password isn't stored in the system unless authentication has been successful. In this case, the only solution is to access the router's settings or ask other users who know the key.

Are password recovery programs safe to use?

Using trusted utilities from reputable developers (like NirSoft) is relatively safe if downloaded from official sources. However, antivirus programs may flag them as dangerous due to the nature of their operation (access to system keys). Always scan files using services like VirusTotal before running them.

What should I do if the "Show entered characters" button is inactive?

This means your current account doesn't have administrator privileges. You'll need to log in as an administrator or ask the computer owner to do so. Without administrator privileges, access to security keys is limited.

Will a factory reset reset my router's internet settings?

Yes, a hard reset will return the router to its out-of-the-box state. You'll need to reconfigure your ISP connection (PPPoE, L2TP, or DHCP), set a network name, and a new password. Make sure you have your ISP contract and the necessary configuration information before resetting.