How to find your computer's Wi-Fi password: complete instructions

Many users are familiar with the situation of needing to connect a new device to their home network but hopelessly forgetting the access key. It often happens that a laptop or desktop computer has been connected to the router for a long time and is working reliably, but it's almost impossible to remember the password you entered during the initial setup. Fortunately, the operating system Windows stores this data in a secure manner, and if you have administrator rights, it can be easily retrieved.

In this article, we will take a detailed look at several proven methods that allow you to restore access Forgotten login credentials. We'll cover both the built-in GUI tools and more advanced command-line methods, as well as ways to view them through the router's web interface. This will help you avoid resetting your router to factory settings, eliminating the need to reconfigure your internet connection.

Before you begin, it's important to understand that you'll need permissions to perform most of the operations described below. administrator on the current computer. Without these rights, the system will not allow you to view saved network keys for security reasons. Also, make sure the device you plan to use to view the data is physically connected to the network or has an active wireless connection to the desired router.

Viewing a saved password through network settings

The simplest and most accessible method, which doesn't require complex commands or third-party software, is found in the operating system's standard interface. If your computer is currently connected to the desired network, Windows allows you to view the key directly in the connection properties. This method is applicable for both Windows 10, as well as for the newer one Windows 11, although the paths to the settings may differ slightly.

First, you need to open the network connections control panel. In newer OS versions, this can be done through the system settings, finding the "Network Status" section. However, the classic Control Panel approach is often faster and more familiar for experienced users. Find the active connection and go to its detailed security properties.

⚠️ Attention: If the "Security" tab is missing or grayed out in your wireless network properties, this may mean your account doesn't have sufficient permissions or the network profile is marked as public. In this case, try changing the network type to private in the general settings.

Once you reach the security tab, you'll see a field where symbols are hidden behind asterisks or dots. To reveal them, simply check the corresponding box. The system may prompt you to confirm the action by entering your account password or using biometrics, if configured. This is a standard procedure to protect against unauthorized access to confidential information.

After successful confirmation, you can copy the character combination and use it to connect other devices. This method is the most secure, as it doesn't require third-party utilities or complex scripts. It's ideal for casual users who need a quick fix without delving into technical details.

📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 8/7
Other OS

Using the Command Line to Extract Keys

For those who prefer speed and precision, or in cases where the graphical interface does not work correctly, using the command line is an excellent solution. CMDThis tool provides direct access to wireless network profiles stored in the system. This method is versatile and allows you to not only view the password for the current network but also find keys for all networks your PC has ever connected to.

To launch the command prompt, open the Start menu, type "cmd," and be sure to run as administrator. Without elevated privileges, the command won't be able to read protected data. After a black terminal window opens, enter a command that displays a list of all saved profiles. This will help you remember the exact network name if you have multiple networks.

Next, a specific command is used to display detailed information about a specific profile. The command syntax requires the network name and a parameter responsible for displaying the key in cleartext. It looks like this:

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

In the command output, among the many technical parameters, find the line "Key Content." This is where the password you're looking for will be located. This method is especially useful if you need to quickly access data without unnecessary mouse clicks.

  • 🔹 Open Command Prompt with administrator rights via search.
  • 🔹 Enter the command netsh wlan show profiles to view the list of networks.
  • 🔹 Use the command with a parameter key=clear to display the key.
  • 🔹 Copy the value from the "Key Content" line to the clipboard.

☑️ Check before entering commands

Completed: 0 / 5

Finding a password through the router's web interface

If the computer you want to view data from isn't connected to the network (for example, you reset the Wi-Fi settings on your laptop and can't log in), your only option is to access the router's settings. This requires any browser and a cable connection, or a connection from another device that already has access. The login address is usually found on a sticker on the bottom of the device.

You will need to enter the gateway IP address into the browser's address bar. The most common addresses are 192.168.0.1 or 192.168.1.1After entering the address, the system will ask for your login and password to access the admin panel. This information is often also found on the sticker, unless you've changed it. The default combinations are usually admin/admin or admin/password.

After successful authorization, the router control panel will open in front of you. Interfaces vary from manufacturer to manufacturer (TP-Link, ASUS, D-Link, Keenetic) look different, but the logic remains the same. You need to find the section responsible for the wireless network (Wireless or Wi-Fi). There, in the security subsection, the current encryption key will be displayed.

Manufacturer Typical menu path Standard IP
TP-Link Wireless -> Wireless Security 192.168.0.1
ASUS Additional settings -> Wireless network 192.168.1.1
D-Link Wi-Fi -> Security Settings 192.168.0.1
Keenetic My Networks and Wi-Fi -> Home Network 192.168.1.1
Tenda Wireless Settings -> Wireless Security 192.168.0.1

In this section, you can not only view the current password but also change it to a more complex one if you feel the current security is insufficient. After changing the settings, be sure to click "Save" or "Apply," otherwise the router will reboot without changing the settings. All connected devices will need to be reconnected with the new key.

What to do if you forgot your router password?

If you changed your router's admin password and forgot it, there's no way to reset it. The only solution is to reset the device to factory settings by holding the Reset button on the device for 10-15 seconds. After this, the router will revert to the default login and password listed on the sticker, but you'll have to re-enter all your internet settings.

Recovering via PowerShell in Windows 10 and 11

An alternative to the classic command line is a more powerful tool - PowerShellIt allows for the use of scripts and has a more flexible syntax, although for our purposes the commands will be similar. This method is advantageous because the result can be immediately copied to a variable or output to a file, which is convenient for system administrators.

PowerShell also needs to be launched with administrator privileges. Search for it, right-click, and select the appropriate option. The command for obtaining a profile is similar to CMD, but the output may be more structured. You can also use the command to export all profiles to an XML file, where the keys will be stored in plaintext, but this requires additional file parsing.

However, for a quick, one-time view, the standard netsh command, executed in PowerShell, is sufficient. The only differences are in the interface color scheme and clipboard capabilities. If the standard console is blocked for some reason by organizational security policies, PowerShell often remains accessible.

⚠️ Attention: In corporate networks, access to the command prompt and PowerShell is often restricted by group policies. Attempting to bypass these restrictions may be considered a protocol violation by security personnel. Use these methods only on personal devices or with permission from the network administrator.

Using PowerShell is especially useful if you need to automate a process or collect information from multiple computers on a network. Scripts allow you to quickly query a fleet of machines and generate a report on connected networks. While this is overkill for a home user, it's useful to know about.

Third-party Wi-Fi management software

There are many specialized utilities that make managing wireless connections easier. Programs like WirelessKeyView from NirSoft or WiFi Password Revealer Designed specifically to extract saved keys from the Windows registry, they automatically scan the system and display a list of all networks and passwords in a convenient format.

The main advantage of such programs is speed and clarity. You don't need to remember commands or search for the right settings tabs. However, using third-party software always carries certain risks. Such utilities should only be downloaded from the developers' official websites to avoid infecting your computer with viruses or miners.

Some antivirus programs may detect such programs as potentially unwanted activity (PUP), as their functionality is similar to that of password-stealing malware. Therefore, you may need to temporarily disable protection or add the program to the exceptions list before launching. Be careful when downloading; don't confuse the official website with an aggregator site, which may replace the installer.

  • 🔹 WirelessKeyView — a lightweight utility without installation, shows all keys at once.
  • 🔹 WiFi Password Revealer - simple interface, ability to export to a text file.
  • 🔹 Network Password Recovery — a powerful tool from NirSoft for recovering various network passwords.
  • 🔹 Routed Pass — a specialized program for selecting and viewing router passwords.

Common errors and problems during recovery

When attempting to view a password, users often encounter common problems. For example, the system may return the error "Windows could not save network settings" when attempting to change settings. Or the console command may return the message "Network not found in profile." This is most often due to typos in the network name, as the command is case-sensitive and space-sensitive.

Another common issue is the absence of the "Security" tab in network properties. This often happens if the network profile is set to "Public." Windows restricts access to data in such profiles for security reasons. To fix this, go to the network settings and change the profile to "Private."

It's also worth mentioning that on some corporate laptops, access to these features may be blocked by group policies. In this case, even with local administrator rights, you won't be able to see the key. This is a standard practice for protecting internal company infrastructure.

⚠️ Attention: Operating system and router interfaces are regularly updated. The layout of menu items may change in new firmware versions. If you don't see the options described, consult the official documentation for your router model or Microsoft Help.

If none of these methods help, your Windows network profile may be corrupted. In this case, you can try deleting the network profile via the command line (command netsh wlan delete profile) and reconnect by entering the password manually, if you have the opportunity to find it out from the router owner or look at the sticker.

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

No, it's impossible to programmatically find out the password for a Wi-Fi network to which your device has never connected and has no saved profile without using specialized equipment for brute-force attacks, which is an illegal and technically complex process.

Is it possible to view the Wi-Fi password on a phone?

Yes, this feature is now available on Android (versions 10 and above) and iOS (version 16 and above). On Android, go to Wi-Fi settings, select the network, and tap "Share" or "QR code," which is often where the password is written. On iPhone, open Wi-Fi settings, tap the "i" icon next to the network, and tap the hidden dots of the password to confirm the FaceID action.

What should I do if I forgot my router password and resetting it doesn't help?

If resetting with the reset button doesn't help (the button is stuck or damaged), you'll have to disassemble the device and short the contacts on the board, or reflash it via UART. However, most often, holding the reset button again for a longer period (up to 30 seconds) while the power is on resolves the issue.

Is it safe to store passwords in Windows?

Storing passwords in Windows is secure enough for home use, as they are encrypted and linked to the user account. However, if attackers with administrative rights gain physical access to your computer, they can extract this data. For increased security, use complex Windows account passwords.

How do I change my router password to make it more secure?

To create a strong password, use a combination of uppercase and lowercase letters, numbers, and special characters. Passwords should be at least 12 characters long. Avoid using personal information (birthdates, names). Change your password regularly, at least once a year.