How to Find the Password of a Connected Wi-Fi Network on Windows 10: A Complete Guide

It's common to need to connect a new device to the network but lose or forget the password. Fortunately, the operating system Windows 10 Stores access keys to previously used wireless networks in its database. This makes it easy to recover a forgotten password combination without having to reset the router.

There are several proven methods for extracting this information, ranging from the graphical interface to console commands. The choice of a specific method depends on your level of technical expertise and the current availability of the system interface. In most cases, the process takes no more than a couple of minutes and does not require the installation of third-party software.

It is important to understand that for the procedure to be successful, the device must either already be connected to the network or have a saved connection profile. Local administrator rights may be required to perform some system requests, so make sure you are logged in with the appropriate account.

Viewing the password through the settings graphical interface

The safest and most intuitive method for inexperienced users is to use the operating system's built-in menus. This method doesn't require memorizing complex commands and visualizes each step. However, keep in mind that the menu structure may vary slightly depending on the installed version. Windows 10.

To get started, open the Start menu and go to "Settings," which is indicated by the gear icon. Next, select "Network & Internet," which displays your current connection status. If you're within range of a wireless network, the system will automatically offer to manage its settings.

In the window that opens, find the "Network and Sharing Center" link or click directly on your network name (properties). In the status window that opens, click "Wireless Network Properties." Go to the "Security" tab and check the box next to "Show characters as you type."

⚠️ Note: If the Properties button is grayed out or hidden, it may mean that your account does not have administrator rights or the network profile was previously deleted from the system.

After unmasking the characters, the desired combination will appear in the "Network Security Key" field. We recommend writing it down immediately or copying it into a text document to avoid searching again in the future.

Using the command line to recover the key

For users who prefer console commands For those without access to a graphical interface, the ideal solution is to use the Netsh utility. This tool is built into the system and allows for deep network configuration management. This method is especially useful when the graphical interface is not working correctly.

Launch the command prompt with administrator rights. To do this, enter cmd In the search box, right-click "Command Prompt" and select the appropriate option. In the window that opens, enter the command to display all saved profiles:

netsh wlan show profiles

The system will display a list of all networks the computer has connected to. Find the exact name of your network in the list. Then, use the following command, replacing "Network_Name" with the actual name of your Wi-Fi network:

netsh wlan show profile name="Network_Name" key=clear
What if the network name contains spaces?

In this case, be sure to enclose the network name in quotation marks, as shown in the example above. If you don't include the quotation marks, the system will return a syntax error and fail to process the request.

In the command output, scroll down to the "Security Settings" section. The password will be displayed in cleartext next to the "Key Contents" line. This method works even if the network is not currently active, as long as you have a saved profile.

Usage Netsh Not only does it allow you to delete old profiles, but it also allows you to export them. It's a powerful tool for system administrators, allowing you to quickly audit network connections on your computer.

Finding a password through the router settings

If none of the computer software methods work, you can always try accessing the router settings directly. This requires access to the device's web interface, which is usually accessed through a browser using the gateway's IP address.

You can find out the gateway address through the command line by entering the command ipconfigFind the "Default Gateway" line in the active connection. These are usually addresses like 192.168.0.1 or 192.168.1.1Enter this address into the address bar of your browser.

To log in, you'll need your router's administrator login and password. If you haven't changed them, they're often found on a sticker on the bottom of the device (standard admin/admin). Once logged in, go to the "Wireless" or "WLAN" section, where the "Password" or "PSK" field displays the current security key.

⚠️ Note: Changing the password in your router settings will disconnect all devices from the network. You will need to reconnect smartphones, TVs, and laptops with the new key.

Interfaces of routers from different manufacturers (TP-Link, ASUS, D-Link, and Keenetic devices vary greatly in appearance, but the logic behind the security settings is the same. Look for tabs containing the words "Security," "Safety," or "Wireless."

Comparison of access recovery methods

Choosing the optimal method depends on your specific situation and your skills. Below is a table to help you quickly navigate the available options and their features.

Method Complexity Do you need an active internet connection? Admin rights required
Graphical interface Low No (profile required) Yes
Command line Average No (profile required) Yes
Router settings High Yes (locally) Yes (router password)
Third-party software Low No Yes

As the table shows, operating system-level methods don't require an active internet connection; a saved profile is sufficient. This is critical if the network is down or requires reconnection.

Using third-party software often simplifies the process, but carries potential security risks. Built-in tools Windows 10 guarantee the absence of malicious code and compatibility with the system.

📊 What is your most common method for recovering passwords?
Through Windows settings
Command line
Via a router
Using programs

Restoring access using PowerShell

An alternative to the classic command line is a more powerful tool. PowerShell. It offers advanced capabilities for scripting automation and working with network objects. For regular users, the differences are minimal, but the syntax can be more flexible.

Launch PowerShell as administrator. Enter the following command to generate an XML file with the profile configuration, which will contain the key in plaintext:

(netsh wlan show profile name="Network_Name" key=clear) | Select-String"Key Content"

This method allows you to filter the output and immediately see the desired line without scrolling through long lists of parameters. This is especially convenient when working with large numbers of saved networks.

PowerShell also allows you to export all profiles at once, which can be useful when transferring settings to a new computer. However, for a one-time password view, the standard usage is sufficient. netsh.

⚠️ Note: When copying commands from this article, pay attention to the quotation marks. They may differ depending on your keyboard layout, which could cause an error.

☑️ Check before entering commands

Completed: 0 / 4

Possible problems and their solutions

When recovering a password, users may encounter a number of common errors. These are most often related to access rights or damaged system files. Understanding the causes helps resolve the issue quickly.

If the system says "Access Denied," make sure you're running the console as an administrator. Don't run with elevated privileges. Windows Blocks viewing of security keys to protect data.

If the network profile is damaged, you can delete it and recreate it. Use the command netsh wlan delete profile name="Network_Name", then reconnect to the network by entering the password (if you have one on the other device).

Sometimes antivirus software can block attempts to access network settings. Try temporarily disabling protection or adding an exception for system utilities.

FAQ: Frequently Asked Questions

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

Yes, if the network profile was previously saved on your computer. Windows stores the keys for every network you've ever connected to, even if you're currently out of range.

Where is the password physically located on the router?

On the factory sticker on the bottom or back of the device. Look for the "WPA Key," "Wireless Password," or "PIN" fields. This applies if you haven't changed the factory settings.

Is it safe to use third-party password viewers?

Using trusted utilities is safe, but downloading unknown software carries risks. Built-in Windows tools (cmd, settings) are the safest option, as they don't require installation.

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

If you haven't changed the password, use the default one (indicated on the sticker). If you've changed it and forgotten it, the only solution is to reset the router to factory settings using the Reset button, after which you'll have to set up your internet connection again.