How to View Your Wi-Fi Password in Windows 11: A Step-by-Step Guide

It's a common situation when you urgently need to connect a new device to the network but have forgotten the password. Operating system Windows 11 Stores access keys to known networks, but by default hides them from prying eyes for security reasons. This is a standard data protection protocol that prevents unauthorized access to your local network by attackers or random users. However, the device owner can always access this information if they have administrator rights.

There are several proven methods for retrieving a saved security key, ranging from built-in graphical interfaces to console commands. The method you choose depends on whether you're currently connected to a network or trying to recall the credentials for a network you've connected to in the past. It's important to understand that password recovery This is only possible for networks that have already been successfully added to the system. If the computer has never connected to the router, it won't be possible to find the code remotely.

In this article, we'll cover all the current options in detail, avoiding complex technical terms where possible. We'll cover standard operating system tools, capabilities, and more. Command Prompt and even physical access to the provider's equipment. Each method has its own nuances that must be taken into account for a successful outcome.

Using the Windows 11 GUI

The easiest and most accessible way is to use the operating system's default settings. This method is ideal for those users who don't want to mess with code and command lines. Windows 11 The settings interface has been significantly redesigned to be more modern, but the logic remains the same. You'll need to access the network connections control panel, which is hidden deep within the menu.

To get started, open the Start menu and go to "Settings." Next, select the "Network & Internet" tab in the sidebar. Here you'll see a list of available connections. If you're currently connected to Wi-Fi, click on your network name. In the window that opens, scroll down to "Wi-Fi Properties." This is where you'll find basic technical information about your current connection, including IP addresses and DNS.

In the Properties section, find the button or link labeled "Properties" (sometimes it's next to the "Delete" or "Forget" button, so be careful). In the window that opens, you'll see a field labeled "Network Security Key." By default, the characters in this field are hidden by asterisks. To see them, check the "Show characters" box. The system may prompt you to confirm administrator rights or enter your account PIN, which is a normal security procedure.

  • 🔹 Open Settings via the Start menu or a combination Win + I.
  • 🔹 Go to the "Network & Internet" section and select "Wi-Fi".
  • 🔹 Click on "Properties" for the active network and enable the display of symbols.
  • 🔹 Copy the received code or write it down.

It is worth noting that in some corporate builds Windows Access to these settings may be restricted by group policies. In this case, the system will not allow you to change display settings, and you will have to use other methods. Also, this method only works for the network the device is currently connected to.

Finding a password via the command line (CMD)

The command line is a powerful tool for system administrators and advanced users. It allows access to hidden data repositories beyond the reach of the standard graphical interface. command line You don't need any third-party programs; the built-in terminal is sufficient. This method is great because it's versatile and works even when the graphical interface freezes or glitches.

First, you need to launch the command prompt with administrator privileges. Right-click the Start button and select "Terminal (Administrator)" or "Command Prompt (Administrator)." If you're using PowerShell, don't worry, most CMD commands will work there too, but it's best to switch to compatibility mode by entering cmdThe first step is to check the list of all saved Wi-Fi profiles on this computer.

netsh wlan show profiles

After entering this command, the system will display a list of all networks this PC has ever connected to. Find the desired network name (SSID) in the list. If the list is too long, you can scroll. Next, to view the password for this specific network, enter the command, substituting the name of your profile. Please note that the network name must be written exactly as it appears in the list, including capitalization and spaces.

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

In the command output, find the "Security settings" section. There will be a line called "Key Content." The value to the right of the colon is the password you're looking for. This method allows you to find the key even for a network you're not currently connected to, as long as the profile is saved in the system.

⚠️ Attention: When entering the network name in quotation marks, make sure you use the English keyboard layout for the quotation marks themselves. Using Russian quotation marks (like "herringbones" or "lapki") will result in a command error.

☑️ Check before entering a command

Completed: 0 / 4

Viewing saved profiles in PowerShell

An alternative to the classic command line is PowerShellThis is a more modern tool with advanced scripting capabilities. Although the Wi-Fi commands are largely similar to those in CMD, the syntax may differ, and the output may be more structured. PowerShell is often faster when processing large volumes of system logs.

Launch PowerShell as administrator. Enter the following command to retrieve all profiles: Get-NetConnectionProfileIt will display a list of active interfaces. However, to extract the password in a readable format, it's more convenient to use command calls. netsh directly within PowerShell, since native cmdlets for extracting cleartext passwords may require additional modules.

However, PowerShell allows you to automate the process. You can create a script that will automatically find all profiles and display their keys. This is useful for IT professionals who need to quickly collect data from multiple computers. For a one-time use, simply enter the command netsh wlan show profile name="NAME" key=clear in the PowerShell window, the result will be identical to CMD.

  • 📡 PowerShell provides more flexible options for filtering output.
  • 📡 Supports running complex scripts for bulk data collection.
  • 📡 Compatible with teams netsh for working with wireless interfaces.

If the script does not run, check the script execution level with the command Get-ExecutionPolicyChange the policy if necessary, but only do so if you trust the source of the script.

Login to the router's web interface

If none of the computer-based methods work (for example, you reinstalled Windows and your profiles weren't saved), the last reliable option is to view the settings directly on the router. To do this, you need to access the device's web interface. This method always works if you have physical access to the router and are connected to its network (even via a cable).

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.1The exact address is indicated on a sticker on the bottom of the device. You will need your username and password to access the admin panel. If you've never changed them, they will also be indicated on the sticker (often it's admin/admin). If you've changed them and forgot, you'll have to reset the router to factory settings using the button. Reset.

After logging in, find the section related to wireless network. It may be called Wireless, Wi-Fi, "Wireless Network" or "WLAN." Within this section, look for the "Security" or "Basic Settings" subsection. There you'll find the "Password" (Passphrase, Key) field. It will be displayed either in plain text or as dots that can be hidden or shown using the eye button.

Router brand Typical IP address Settings section Password field name
TP-Link 192.168.0.1 Wireless -> Wireless Security Wireless Password
ASUS 192.168.1.1 Wireless Network -> General Authentication Method / Key
D-Link 192.168.0.1 Wi-Fi -> Security Settings PSK encryption key
Keenetic 192.168.1.1 My Networks and Wi-Fi -> Home Network Wi-Fi network password
What to do if the router's IP address is not accessible?

Make sure your computer is connected to the router via cable or Wi-Fi. Check that your network adapter is set to obtain an IP address automatically (DHCP). If that doesn't help, try resetting your TCP/IP settings with the command netsh int ip reset.

Router interfaces are constantly updated by manufacturers. Menu locations may vary depending on the firmware version. If you can't find the item you need, use the settings search within the router itself (if available) or refer to the manual on the manufacturer's official website.

Third-party utilities for access recovery

There are many utilities on the market designed specifically for viewing saved passwords. They automate the process described above and display the information in a convenient format. Popular programs include WirelessKeyView from NirSoft, WiFi Password Revealer and other similar programs. They scan the Windows registry and WLAN databases.

Using such programs requires caution. Because they handle critical security data, antivirus programs often detect them as potentially unwanted software (RiskWare or HackTool). This doesn't always indicate a virus, but it does require attention. Download such programs only from the official developers' websites to avoid introducing actual malicious code.

The advantage of third-party software is the ability to quickly export all passwords to a text file or HTML report. This is convenient when migrating to a new computer or backing up network settings. However, for one-time use, installing additional software may be unnecessary; using the command line is easier.

  • 🛡️ The programs allow you to see passwords for all networks at once in one window.
  • 🛡️ They often have a function for exporting data to a file for backup.
  • 🛡️ May require disabling your antivirus for proper operation.

⚠️ Attention: Never use cracked versions of password recovery programs downloaded from dubious torrent trackers. There's a high chance that instead of your Wi-Fi password, you'll get a stealer that will steal your bank account passwords.

Problems and solutions

Even following the instructions, users may encounter difficulties. Often, the problem lies in access rights. If you are not a computer administrator, the system will not allow you to view saved keys. In a corporate environment, these rights are strictly regulated by the IT department, and there is no legal way to circumvent them.

Another common problem is corruption of Windows system files responsible for managing network connections. In this case, the commands netsh may return the error "The WLAN AutoConfig service is not running." To resolve this, you need to open the services (services.msc), find “WLAN AutoConfig Service” and launch it, setting the startup type to “Automatic”.

It's also worth considering that some routers use special enterprise security protocols (WPA2-Enterprise), which may not store the password in clear text, but use a certificate. This is extremely rare in home networks. If standard methods don't work, you can always reset the network settings via the command line. netsh wlan delete profile name="*", but this will delete all saved passwords, so use with caution.

Keep in mind that wireless adapter driver versions also play a role. Outdated drivers may display network information incorrectly or fail to support new encryption standards. Updating drivers through Device Manager or the adapter manufacturer's website may resolve the issue with accessing settings.

📊 Which method was most convenient for you?
Windows graphical interface
Command Prompt (CMD)
Login to the router
Third-party program
Is it possible to find out a Wi-Fi password if the computer has never connected to this network?

No, this is not possible using Windows software. A computer can't "spy" on the password over the air because the traffic is encrypted. It can only be retrieved from a device that already has a saved profile or through the router's admin panel.

Is it safe to store passwords in Windows?

Yes, Windows stores them encrypted. However, if an attacker gains physical access to your unlocked computer with administrator privileges, they can use the methods described above to extract your passwords. Therefore, it's important to protect your computer account with a strong password.

What should I do if the netsh command returns an "Access Denied" error?

This means the terminal is running as a standard user. Close the command prompt, right-click it, and select "Run as administrator." Without elevated privileges, the system prohibits access to security keys.

Will Windows update reset my Wi-Fi password?

Network profiles are typically preserved during system updates. However, when upgrading to a major version (for example, from Windows 10 to 11) or using the "Reset this PC" feature to delete files, network settings may be lost. It is recommended to write down important passwords.