How to view your Wi-Fi password on Windows: full instructions

The situation where you need to connect a new device to the network but have forgotten the password is familiar to many. Fortunately, the operating system Windows 11 Stores data about previously used connections, making it easy to restore access. Unlike previous versions, the interface of the new OS has been redesigned, making finding the information you need a little more difficult, but still possible.

There are several proven methods for extracting the security key, ranging from the graphical settings interface to using system utilities. It is important to understandNote that you'll need administrator privileges on your computer to perform most operations. This is a standard security measure to prevent unauthorized access to sensitive system data.

In this article, we'll examine each available method in detail, assessing their complexity and effectiveness. You'll learn how to quickly find forgotten access codes using both standard menus and advanced command line tools. This knowledge will help you avoid unnecessary calls to your provider or searching for your contract details with your username and password.

Finding a password through the Windows 11 graphical interface

The easiest and safest way for the average user is to use the updated settings menu. Windows 11 Microsoft has redesigned the network settings structure, making profile management more intuitive. If you're already connected to the desired network or have connected to it before, the system has saved the data in its storage.

To begin, open the Settings menu by pressing the key combination Win + I Or through the Start menu. Go to "Network and Internet," then select "Wi-Fi." Here you'll see a list of available networks and control the basic functions of your wireless adapter. We're looking for control over known profiles.

Click the "Manage known networks" link. A list of all Wi-Fi networks this computer has ever connected to will open. Select the desired network from the list and click "View" or "Properties" (the name may vary depending on the build version). In the window that opens, find the "Network security key" field and click the "Show symbols" button (the eye).

  • 🔍 Open Settings via the Start menu or hotkey.
  • 📡 Go to "Network and Internet" -> "Wi-Fi".
  • 📝 Select "Manage known networks" and find the desired profile.
  • 👁️ Click the display symbols button in the security key field.

It's worth noting that this method only works for networks whose profile is saved in the system. If you've previously deleted the network or never connected to it from this PC, this method won't work. The interface may also differ slightly between different builds. Windows 11, but the logic remains the same.

📊 Which password search method do you find more convenient?
Through Windows settings
Via the command line
Via PowerShell
View on the router

Using Command Prompt (CMD) to Recover the Key

For those who prefer classic methods or are faced with the limitations of the graphical interface, the command line is ideal. It's a powerful tool built into any version. Windows, which allows direct interaction with network services. This method is universal and works even in secure mode.

Run the command prompt as administrator. To do this, enter cmd In the search box, right-click the result and select the appropriate option. First, we need to find out the exact profile name under which the network is saved in the system. Enter the command:

netsh wlan show profiles

The system will display a list of all saved profiles. Find your network name in the list. Next, enter the command to display it, adding the key key=clearThe syntax is as follows:

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

Instead of Network_Name Substitute the actual name of your Wi-Fi network. If the name contains spaces, be sure to enclose it in quotation marks. After running the command, scroll down to the "Security Settings" section. The password you're looking for will be displayed in the "Key Contents" line.

What to do if the command returns an error?

The error "WLAN AutoConfig service is not running" means the network service is disabled. Check Windows services (services.msc) and ensure the WLAN AutoConfig service is running.

⚠️ Attention: The network name is case-sensitive and contains spaces. A single character error will result in a "Group not found" message. Carefully copy the name from the profile list.

This method is especially convenient when you need to quickly copy a password without unnecessary mouse clicks. It also works more reliably on older wireless adapter drivers, where the graphical interface may not display correctly. The command is easy to remember, and it's always at hand.

Retrieving data via PowerShell

A modern alternative to the classic command line is the shell. PowerShellIt offers broader functionality and supports an object-oriented approach, although we use the same network commands for our task. This method is often preferred by system administrators.

Launch PowerShell as administrator. The interface will differ from CMD in color and fonts, but the operating principle is similar. Enter the command to view profiles:

netsh wlan show profiles

Once you've identified the desired profile name, use a similar command to output the key. PowerShell also supports XML or JSON output, which can be convenient for scripting, but for a one-time viewing, the standard text output is sufficient:

netsh wlan show profile name="Name" key=clear | Select-String"Key Contents"

Adding a filter Select-String Allows you to see only the password line at a glance, cutting off unnecessary information. This makes the output cleaner and easier to read. If you have an English-language version of the system, look for the "Key Content" line.

  • 🖥️ Run PowerShell with administrator privileges.
  • 📋 Use the command netsh wlan show profiles for the list.
  • 🔑 Apply a filter to display only the password.
  • ⌨️ Copy the result to use on other devices.

Using PowerShell is useful if the standard console is unavailable for some reason or blocked by security policies (although this is rare for an administrator). In most cases, the results will be identical to using CMD, but the text filtering tools are more flexible.

Viewing the password on the router's web interface

If none of the computer software methods help (for example, you've never connected to this network from this PC, or the system was reinstalled), the most reliable option is to check the router's settings. This will require access to the device's administrative panel.

Open your browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, username, and password are usually located on a sticker on the bottom of the device. If you've changed your login information and forgotten it, you'll need to reset the router to factory settings.

After logging in, find the section related to wireless networking. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, under the "Security" or "Security Settings" subsections, you'll find a field labeled "Password," "PSK Key," or "Wireless Password." The current access key is displayed there.

Router brand Standard address Menu section Field name
TP-Link 192.168.0.1 Wireless -> Wireless Security Wireless Password
ASUS 192.168.1.1 Additional settings -> Wireless network Authentication Method / WPA Pre-Shared Key
Keenetic 192.168.1.1 My Networks and Wi-Fi -> Home Network Password
D-Link 192.168.0.1 Wi-Fi -> Security Settings PSK encryption key

Changing the password in this interface changes it for all devices. Be careful: after saving the new settings, all connected devices will lose connection and require you to re-enter the new key. This is a good reason to upgrade your network security to a more complex combination.

⚠️ Attention: Router firmware interfaces are constantly updated. The menu item layout may differ from what's described. Look for the keywords "Security," "Wireless," or "Security."

Alternative methods and third-party utilities

There are specialized programs such as WirelessKeyView NirSoft's password recovery tools are designed specifically for recovering saved keys. They scan the registry and system files, listing all networks ever used. This is convenient if you need to retrieve many passwords at once or standard methods don't work.

However, using third-party software carries risks. Antivirus programs may flag such programs as potentially unwanted programs (HackTools), as they are also used by attackers. Such utilities should only be downloaded from the developers' official websites to avoid mining viruses or Trojans.

Another option is a QR code. Windows 11 A QR code generation feature has been added for connecting mobile devices. Go to Wi-Fi settings, select a network, and find the "Show QR code" button. By scanning it with your smartphone's camera (on Android or iOS), you can connect and, in some cases, see the password in text format in the connection notification.

  • 📱 Use the QR code to quickly connect your phone.
  • 💾 Programs like WirelessKeyView are convenient for mass recovery.
  • 🛡️ Be careful with antivirus software when running utilities.
  • 🔄 QR code is a modern and secure way to transfer a key.

☑️ Check before using third-party software

Completed: 0 / 4

For most users, built-in Windows tools are sufficient. Third-party utilities should be considered a last resort or a tool for system administrators working with a large fleet of machines. Always weigh the risks of installing unknown software.

Frequently Asked Questions (FAQ)

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

No, the operating system doesn't store passwords for networks the device has never connected to. In this case, the only solution is to look for the information on the router's sticker, log in to its admin panel (if you have physical access), or ask the network owner.

Why does the netsh command give the error "Wireless network interface wlan not found"?

This means the Wi-Fi adapter driver is not installed, the device is disabled in Device Manager, or the WLAN AutoConfig service is stopped. Check the adapter's presence in Device Manager and the status of Windows services.

Is it safe to save passwords in Windows?

Yes, Windows stores it in encrypted form, linked to the user account. However, if an attacker has physical access to your computer while it's running and has administrative privileges, they can extract this data using the methods described in this article.

How to view password on Windows 7 or 8?

In older versions of Windows, the path is different: Control Panel -> Network and Sharing Center -> Manage wireless networks. Then, right-click the network -> Properties -> Security -> Show characters. You can also use the command line.

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

If the default passwords (admin/admin) don't work, a full reset of the router using the button on the device will help. This will restore the device to its factory settings, and the password will match the one on the sticker, but you'll have to reset your internet settings.