When friends come over or you buy a new smart gadget, you often find yourself stumped: "What's the Wi-Fi password?" Unlike older versions of the operating system, Windows 11 The settings interface has undergone significant changes, making it less obvious to find saved access keys. Many users are confused by the new "Settings" menus, wondering where the familiar "Security" tab in the wireless network properties has disappeared to.
Fortunately, Microsoft's operating system still stores all necessary data in a protected registry section or system profiles. You don't need to be a hacker or use third-party software to extract this information. All you need is administrator rights and the right tools. We'll cover all the current methods, from the graphical interface to command-line utilities.
It is important to understand that access to this data is only possible if your computer previously connected to this network. Windows automatically saves the connection profile for easy re-logging. If you've never connected to the router from this PC, you won't be able to find the password remotely—you'll need physical access to the router itself or another device where the password has already been entered.
Find your password using the new Windows 11 Settings
The easiest and safest way for most users is to use the updated Settings interface. In the latest Windows 11 builds (starting with version 22H2 and later), Microsoft has brought back the long-awaited ability to view security keys directly in the graphical menu. To get started, press the key combination Win + Ito open the main settings window.
In the left panel, select a section Network and InternetNext, in the right part of the window, find "Advanced network settings" or go directly to "Wi-Fi." If you are currently connected to a network, click on the name of your connection (usually it is at the top of the list or in the "Properties" section). If you need to find the password for a network you are not currently connected to but have connected to before, follow this path: Network & Internet → Wi-Fi → Manage known networks.
In the list of known networks, find the desired SSID (your network name) and click it. A properties page will open, displaying other information (security type, protocol), and a "View" button next to the security key field. The system may request confirmation via a PIN or biometrics (Windows Hello) for your protection.
⚠️ Attention: If you don't see the "View" button or "Manage known networks" option, your version of Windows 11 hasn't been updated to the latest version yet. In earlier builds (such as the initial 21H2), this functionality was hidden, requiring the use of a command prompt.
This method is ideal for those who are afraid of making command errors. However, it only works for networks whose profiles are saved in the system. If the profile has been deleted, this method will not help restore access.
Using the Command Prompt (CMD) to extract the key
If the graphical interface is not pleasing or your system version does not allow you to view the password through the settings, the classic one comes to the rescue command lineThis method is universal and works on all versions of Windows starting with XP, so it remains the "gold standard" for system administrators. To start, click Win + R, enter cmd and press Enter (preferably run as administrator).
The first thing you need to do is find out the exact name of the network profile saved in the system. Enter the command netsh wlan show profilesThe system will display a list of all networks the computer has ever connected to. Find the desired name in the list (in the "All User Profiles" column). Please note that the name may differ from the visible SSID if you manually changed the profile name when you first connected.
Knowing the exact profile name, use the following command to display all details, including the password:
netsh wlan show profile name="Profile_Name" key=clear
In the command output, scroll down to the "Security settings" section. We're interested in the "Key Content" line. The value next to this line is your password in cleartext.
☑️ Check before entering a command
The advantage of this method is its speed and the fact that it eliminates the need to restart services. However, it's important to follow the syntax: if the profile name contains spaces, they must be enclosed in quotation marks, otherwise the command will fail and return an error.
Viewing saved passwords using PowerShell
For more advanced users accustomed to the environment There's an alternative method with PowerShell. It's less popular than CMD, but it offers the same capabilities and is sometimes faster when processing large lists of networks. Open PowerShell (you can find it by searching in the Start menu) and enter the following command to list the profiles: netsh wlan show profile.
To immediately display the password, you can use the same command line as in CMD, since PowerShell supports the execution of system utilities netsh. Enter:
netsh wlan show profile name="Network_Name" key=clear
If you need to export information about all networks at once to a text file for analysis, you can use the output redirection command. This is useful if you're setting up an office computer and need to collect data from all previously connected access points.
It's worth noting that in PowerShell 7 and later, the syntax may differ slightly when using native modules, but legacy netsh commands remain functional and supported. This ensures that this method will work even on corporate machines with restrictive security policies.
⚠️ Attention: When working with PowerShell, pay attention to the case of letters in variable names if you're writing scripts. Netsh commands are generally case-insensitive, but profile names can be case-sensitive, especially if your network is case-sensitive.
What to do if the command returns an error?
If you receive the message "Network not found" or "Parameter not found" when entering a command, check that you entered the profile name correctly. Users often confuse the profile name (which may have been changed) with the router's actual SSID. Try copying the name directly from the profile list to avoid typos. Also, make sure you use quotation marks if the name contains spaces.
Comparison of access recovery methods
The choice of method depends on your skills and the specific situation. A graphical interface is convenient for one-time checks, a command line is for quick access without unnecessary clicks, and PowerShell is for automation. Below is a table to help you decide.
| Method | Complexity | Requirements | Speed |
|---|---|---|---|
| Windows 11 Settings | Low | Version 22H2+ | Average |
| Command Prompt (CMD) | Average | Admin rights | High |
| PowerShell | High | Knowledge of syntax | High |
| Third-party software | Low | Installing software | Low |
As the table shows, Windows 11's built-in tools cover most needs. Using third-party programs is often overkill and can pose security risks if downloaded from untrusted sources.
For regular users, it's recommended to learn the method through "Settings," as it's the most intuitive. System administrators should keep the command in mind. netsh, as it works even in the recovery environment or on stripped-down versions of the OS.
Restoring access via the router's web interface
If none of the computer-based methods work (for example, the network profile was deleted or you changed the hardware), the only option left is to view the password in the router settings. To do this, the computer must be connected to the router using any method: Wi-Fi (even without internet) or LAN cable.
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 for logging in are usually found on a sticker on the bottom of the device. If you've changed your login information before and have forgotten it, you'll need to reset the router to factory settings (press the Reset button).
After logging in, find the section labeled "Wireless," "Wi-Fi," "Wireless Network," or "WLAN." Within this section, look for the "Security" or "Security Settings" subsection. In the field there, WPA/WPA2-Personal or "Password/Key" displays the current access key. Often, there's a "Show" button or a small "eye" next to it, allowing you to see the symbols.
⚠️ Attention: Router interfaces from different manufacturers (Asus, TP-Link, Keenetic, MikroTik) vary significantly. Menus may have different names, but the logic remains the same: Wireless Network → Security → Password. Don't change other settings unless you're sure of their purpose, to avoid disrupting your internet connection.
This method is the most secure, as it shows the current password set on the device right now, regardless of what is stored in your computer's memory.
Frequently Asked Questions (FAQ)
Users often encounter common difficulties when recovering passwords. Below are answers to the most frequently asked questions to help you avoid mistakes.
Is it possible to find out the Wi-Fi password if I have never connected to this network from this PC?
No, this is impossible. Windows doesn't store passwords for networks the device has never connected to. To gain access, you'll need physical access to the router or another device where the password is stored, or knowledge of the ISP's administrative control panel password.
Why does the netsh command give an "Access Denied" error?
You most likely ran the command prompt without administrator privileges. Right-click "Command Prompt" or "PowerShell" and select "Run as administrator." Without these privileges, the system blocks access to sensitive security data.
Are password recovery programs safe to use?
Most of these programs simply execute the same commands as the command prompt, but in a sleek interface. However, downloading software from untrusted sites carries the risk of virus infection. Windows 11's built-in tools are safer and more reliable.
What should I do if the password contains special characters and doesn't work on my TV?
Check your keyboard layout and letter case. Some older devices (such as Smart TVs and set-top boxes) may not recognize rare special characters correctly. In this case, it's easier to change the password in your router settings to a simpler one (letters and numbers only) and then update it on all devices.
In summary, Windows 11 provides ample tools for managing network connections. Knowing these methods will save you from having to call your ISP or reset your router every time you buy a new gadget.