Needing to remember a saved wireless network access key is a common occurrence. This might be necessary to connect a new gadget or laptop, or to transfer data to guests when you don't remember the password combination. Fortunately, the Windows operating system stores this data in a secure location, and it can be retrieved using built-in tools without installing third-party software.
In this article, we'll look at several proven methods for removing a Wi-Fi password from a computer using the system's graphical interface and console commands. Administrative rights Most of the steps described won't require any additional steps if you're already connected to the network or have previously connected to one. The only requirement is physical access to the device where the profile is saved.
Before we begin, it's worth clarifying that we're talking specifically about viewing a saved key, not hacking someone else's network. All methods described below are legal and intended for managing your own connections. Menu interface may differ slightly depending on the version of the operating system, but the logic of actions remains the same for all modern builds.
View your password through network settings in Windows 10 and 11
The easiest and safest way to find a forgotten password is to use the standard network connection management menu. This method doesn't require any command knowledge and is suitable for most users. Open the Network and Sharing Center, which displays the current connection status.
Right-click the Wi-Fi icon in the system tray (near the clock) and select "Network & Internet settings." In the window that opens, find the "Network and Sharing Center" link (in Windows 10) or go to "Advanced network settings" (in Windows 11) to find the menu you need. A window will open with a list of active connections.
Click on the name of your wireless network (blue text with a link). A small status window will open, where you need to click the "Wireless Network Properties" button. Go to the "Security" tab. This is where the information is stored. network security key, hidden by asterisks.
⚠️ Note: To display hidden characters in the "Network Security Key" field, you will need local administrator rights. If you are using a guest account, the system will ask for an administrator password or simply prevent you from unchecking the box.
Check the box next to "Show entered characters." Hidden characters will be converted to readable text that can be copied or rewritten. This method works reliably, but has a limitation: it only displays the password for the network the computer is currently connected to.
Using the command line to get the key
If the graphical interface isn't working correctly or you need to find out the password for a network you're not currently connected to but have a saved profile, the command line can help. This is a more flexible tool that allows you to manage all your saved profiles. Launch the command line as administrator by entering cmd in the search and selecting the appropriate item.
First, you need to list all networks that have ever been connected to this computer. To do this, enter the command netsh wlan show profilesFind the exact name of the desired network in the list. Pay attention to case and spaces, as the name must be specified exactly.
netsh wlan show profile name="Network_Name" key=clear
Replace Network_Name to the actual name of your Wi-Fi network. After the command runs, scroll down to the "Security settings" section. The "Key Content" line will contain the password you're looking for in plaintext. This method is useful because it allows you to quickly obtain data without having to navigate through menus.
It is important to understand that command line Provides access to all saved profiles, even if the network is currently out of range. This is convenient for restoring access to a new router if the old one hasn't been reset yet, but the computer remembers the settings. However, be careful when entering commands to avoid accidentally changing the settings.
What to do if the command doesn't work?
If the system reports "Network not found," check the spelling of the name. If "Access denied," run the console as administrator. In rare cases, an antivirus may block access to system network settings.
Viewing saved profiles using PowerShell
For users who prefer more modern management tools, PowerShell offers similar functionality, but with the ability to handle more complex data processing. This method is especially useful if the standard console produces errors or if you need to export data. Launch PowerShell by typing its name in the Start menu search.
Enter the command to display all profiles: netsh wlan show profilesAs in CMD, you'll see a list. To view the password for a specific network, use the same syntax, as PowerShell supports native netsh commands. The only difference is the execution environment, which may be preferable for scripts.
- 🔹 Enter
netsh wlan show profile name="Name" key=clearto view details. - 🔹 Use the up/down arrow keys to navigate through the command history in the terminal window.
- 🔹 Copy the result by right-clicking on the window title and selecting Edit -> Select.
The advantage of PowerShell is its automation capabilities. You can create a script that will dump passwords for all saved networks into a text file. However, for a one-time view, this may be overkill. The key here is to specify the profile name correctly, otherwise system will return a search error.
Reset network settings and delete profiles
Sometimes the question "how to remove a password" doesn't mean viewing it, but rather completely deleting the old profile so the computer stops trying to connect with invalid credentials. This is especially true if you've changed your router or access point password, but Windows still tries to use the old credentials. To do this, you need to forget the network.
Go to "Settings" -> "Network & Internet" -> "Wi-Fi." Select "Manage known networks." Find the desired network in the list and click "Forget." This will remove the profile and its associated security key. You'll need to enter a new password the next time you connect.
An alternative method via the command line allows you to do this faster, especially if there are many networks. Use the command netsh wlan delete profile name="Network_Name"This action is irreversible without re-entering the key, so make sure you know it or have it written down somewhere else.
| Action | Graphical interface | Command line | Result |
|---|---|---|---|
| View | Wireless network properties | show profile key=clear | The key is visible in the text |
| Removal | Forget the network | delete profile | Profile deleted |
| List of networks | Wi-Fi settings | show profiles | Full list |
| Reset all | Network reset | del profile * | Complete cleaning |
After deleting the profile, the computer will behave as if it is seeing this network for the first time. Deleting a profile does not change the password on the router itself., it simply clears the computer's memory of previous access settings. This is an important distinction that is often confused by beginners.
Third-party utilities for access recovery
While Windows' built-in tools are quite powerful, there are specialized programs that visualize the password recovery process. Utilities like WirelessKeyView by NirSoft or WiFi Password Decryptor scan the registry and system storage, displaying a list of all keys in a convenient format.
Using third-party software is advisable if standard methods fail or if the system files responsible for network management are damaged. However, such programs should only be downloaded from the developers' official websites. Antivirus programs may react to them as potentially unwanted because they have access to sensitive data.
⚠️ Warning: Be extremely careful when downloading password crackers or recovery tools from dubious sources. Trojans often disguised as useful software steal your saved data.
The advantage of such programs is the ability to export all passwords to an HTML or TXT file in one click. This is convenient for backing up settings before reinstalling the system. However, for a one-time password recovery task for a single network, installing additional software may be unnecessary and less secure than using the built-in console.
☑️ Check before using third-party software
Common problems and solutions
During the access restoration process, users may encounter various errors. For example, the "Network Security Key" field may be inactive (grayed out), even if you are an administrator. This often happens if Wi-Fi is managed through corporate policies or a third-party security client.
Another common issue is encoding. If the network name or password contains Cyrillic characters or special symbols, they may appear as gibberish in the command line. In this case, try changing the console encoding with the command chcp 65001 before running the profile view command.
- 🔹 Error "WLAN AutoConfig service is not running": Start the service WlanSvc via services.msc.
- 🔹 Access denied: Make sure the console is running as administrator.
- 🔹 Profile not found: Check if there are hidden spaces in the network name.
If all else fails, you can perform a full reset of Windows network settings. This will reset all network adapters to factory settings and delete all VPN and Wi-Fi profiles. To do this, go to Settings -> Network & Internet -> Advanced network settings -> Network reset.
Questions and Answers (FAQ)
Is it possible to find out a Wi-Fi password if the computer is not connected to it?
Yes, if the network profile was previously saved on your computer. You can use the command line with the command netsh wlan show profile name="Name" key=clear, even without being in the network coverage area.
Where are Wi-Fi passwords stored in the Windows registry?
The data is stored in a protected part of the registry and configuration files in the folder ProgramData\Microsoft\Wlansvc\ProfilesDirectly editing the registry is not recommended, as the data there is encrypted and linked to the user's SID.
Why can't I see the Security tab in my network properties?
This tab is only visible for wireless adapters. If you're viewing the properties of an Ethernet (cable) connection, the "Security" tab with a key won't be there, as wired connections typically don't use client-level password authentication in this manner.
Is it safe to save a password in Windows?
Yes, Windows encrypts stored keys. However, if an attacker with administrator rights gains access to your computer, they can extract these passwords. Use a strong Windows account password.