It's quite common to need to connect a new device to a wireless network but have forgotten or lost the password. Fortunately, the operating system Windows 10 Stores data about previously connected networks in encrypted form, allowing the user to easily restore access. You don't need complex third-party software or remote server administrator rights; all you need is knowledge of where to look for hidden fields in the interface or console.
There are several ways to recover your security key: through the network settings graphical interface, through the command line for advanced users, or through the router's web interface. Each method has its own characteristics and is suitable for different use cases. Below, we'll detail the steps guaranteed to help you. retrieve forgotten code access.
Before we begin any technical manipulations, it's worth noting that to perform some operations, the computer must be physically connected to the network, or you must have administrator access to the system. Security Windows 10 data is organized in such a way that no one can simply view passwords, but the device owner has every right to view them.
Viewing the password through Windows network settings
The simplest and most accessible method for most users is to use the operating system's standard graphical interface. This method doesn't require memorizing complex commands and is intuitive. However, it's worth keeping in mind that recent updates Windows 10 The menu interface may differ slightly from the classic view, but the logic remains the same.
First, you need to open the Network and Sharing Center. Right-click the connection icon in the system tray (lower-right corner of the screen) and select "Open Network and Internet Settings." In the window that opens, find the "Network and Sharing Center" link or use the command control ncpa.cpl in the Run window (Win+R) to directly access the desired section.
Once you're in the list of connections, find the active "Wireless Network" adapter and click it. In the status window that appears, click "Wireless Network Properties." This is where the real secret lies: go to the "Security" tab and check the "Show characters" box. The system will ask for administrator permissions, and after you enter your account password, the required code will appear in the "Network Security Key" field.
⚠️ Important: If the "Security" tab is empty or the buttons are disabled, make sure you are a computer administrator. On corporate networks, access to this data may be restricted by group policies.
Using the command line to recover the key
For users who prefer to work with the console, or in cases where the graphical interface does not work correctly, the method using Command PromptThis method allows you to obtain information not only about the current connection but also about all previously saved profiles in the system. It's especially useful if you need to quickly copy a password without unnecessary clicks.
Launch the Command Prompt as administrator. To do this, type "cmd" in the search bar, right-click "Command Prompt," and select the appropriate option. First, run the following command to list all saved Wi-Fi profiles:
netsh wlan show profiles
Find the name of the desired network in the list. Then run the command to display detailed information, adding the key key=clear, which forces the password to be shown in clear text:
netsh wlan show profile name="Network_Name" key=clear
In the "Security settings" information block, find the "Key Content" line. This is where your password will be listed. This method works reliably on all versions. Windows 10 And Windows 11, regardless of the assembly version.
☑️ Check before entering a command
Finding a password through the router's web interface
If the computer you need to find the password from isn't connected to the network, or you want to change the access key itself, the best solution is to access the router settings. This requires any browser and a cable connection (or a Wi-Fi connection if the device is already authorized). The login address is usually found on a sticker on the bottom of the device and often looks like this: 192.168.0.1 or 192.168.1.1.
After entering the address in the browser's address bar, the system will ask for your username and password to access the admin panel. The default login information is often "admin/admin" or "admin/password" unless previously changed. After successful authorization, find the section related to wireless networks. It may be labeled "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN."
Within this section, look for the "Security" or "Wireless Network Settings" subsection. There will be a "PSK Password," "WPA Pre-Shared Key," or "Wireless Network Password" field. This field displays the current key. Changing the password in this interface will immediately terminate the connection on all connected devices., so be careful when making edits.
| Router brand | Typical entry address | Menu section | Password field name |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Password |
| ASUS | 192.168.1.1 | Additional settings -> Wireless network | WPA Pre-Shared 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 | Password |
Restoring access via PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt allows you to use the same commands netsh, but provides more flexible options for scripting and automation. This method is suitable for system administrators or advanced users accustomed to the PowerShell environment.
Launch PowerShell as an administrator. The command syntax is identical to CMD, making switching between the two tools seamless. Enter the following command to view profiles:
netsh wlan show profiles
Then, as before, use the command with the clearing parameter to display the key. The advantage of PowerShell is that you can copy the output directly to the clipboard or save it to a text file for later analysis using stream redirection.
What to do if the command fails?
If the system displays "Access Denied," make sure PowerShell is running as an administrator. Also, check that the "WLAN AutoConfig" service isn't disabled in the Windows services list (services.msc). Without this service, Wi-Fi management is impossible.
Specifics of working with different driver versions
Sometimes the problem lies not with the operating system, but with the wireless adapter drivers. Different network equipment manufacturers (Realtek, Intel, Broadcom) may interact with the Windows API differently. In rare cases, older drivers may incorrectly transmit requests to display security keys.
If standard methods don't work, try updating your drivers through the Device Manager. Press Win+X and select Device Manager, find the Network Adapters section, select your Wi-Fi module, and click Update Driver. Automatic search often finds more up-to-date software that fixes compatibility issues.
It's also worth checking whether compatibility mode or specific power saving settings are enabled in the driver properties, which could block profile management features. Reinstalling the driver from the official website of the laptop or motherboard manufacturer often resolves the issue of "blind" password fields.
⚠️ Note: Driver and control panel interfaces (such as Intel PROSet) may differ from the standard Windows settings. If you use third-party Wi-Fi management software, look for security settings there.
Security measures and password storage
Once you've learned your password, the question arises: how can you protect yourself in the future? Storing passwords in plain text on a computer is a risk, especially if the device is used by multiple people. It's recommended to use password managers that encrypt the database and require a master password for access.
Additionally, regularly changing your router password is a good practice. Avoid using simple combinations like "12345678" or your date of birth. An optimal password should contain at least 12 characters, including uppercase and lowercase letters, numbers, and special characters. This will protect your network from brute-force attacks and unauthorized access from neighbors.
Windows 10 also offers Wi-Fi password syncing via your Microsoft account. If you trust the cloud, this allows you to automatically connect new devices to the network without entering a key if they're part of the same ecosystem. However, if privacy is a priority, you can disable this feature in the sync settings.
Is it possible to find out the Wi-Fi password if the computer is not connected to it?
Yes, if this network profile was previously saved on this computer. You can use the command line (method with netsh) to view the password for any saved profile, even if you are currently out of range of the router or connected to a different network.
What should I do if the "Show entered characters" field is inactive (gray)?
This means your current account doesn't have administrator rights. You need to log out and log in as an administrator, or ask the PC owner to enter the administrator password to confirm the action. Without these rights, the system won't allow the security key to be compromised.
Will changing the channel or network name (SSID) reset the password?
No, changing the network name (SSID) or broadcast channel in the router settings does not change the password (encryption key). However, if you change the network name, your computer will treat it as a new network, and you'll have to re-enter the password the first time you connect. The key itself will remain the same unless you've specifically changed the password field.
Where is the password physically stored in Windows 10?
Wi-Fi passwords are stored in the system registry and special protected configuration files in the folder C:\ProgramData\Microsoft\Wlansvc\Profiles\InterfacesAccess to these files is restricted without administrator rights, and they are encrypted, so simply opening them with Notepad isn't possible—special utilities or built-in OS tools are required for decoding.