The situation when you need to connect a new device to your home network, but you have forgotten the Wi-Fi password, is one of the most common problems for users of the operating system Windows 10Fortunately, if at least one computer or laptop is already successfully connected to the router and automatically logs into the network, you can restore the access key in minutes without having to reset the router. The operating system stores this data securely and protects it, allowing administrators to access it through standard interface tools.
There are several proven methods for extracting saved encryption keys, from simple graphical interfaces to more advanced console commands. The method you choose depends on whether your device is currently connected to the network or you want to retrieve the password for a previously used connection. In this article, we'll cover all available options in detail so you can choose the most convenient one.
Viewing the password through the Network and Sharing Center
The simplest and most accessible way, which does not require remembering complex commands, is hidden in the standard graphical interface Network Operations CenterThis method is ideal for users who prefer visual interaction with the system and want quick results without delving into technical details. First, you need to ensure the device you're using is connected to the Wi-Fi network whose password you want to find out.
Right-click the network icon in the lower-right corner of the screen, next to the clock, and select "Open network and Internet settings." In the window that opens, find the "Network and Sharing Center" link (usually in the "Status" section or at the bottom of the window). In the new window, you'll see your active connection, with the following information next to "Connections": SSID your network (Wi-Fi name). Click on this name.
A small wireless network status window will open. Here, you'll find the "Wireless Network Properties" button. Click it to access the security settings. In the dialog box that opens, switch to the "Security" tab. This is where the "Network Security Key" field is located, where the symbols are hidden by dots or asterisks.
To display your password in a readable format, check the box next to "Show entered characters." The system may ask you to confirm your administrator rights. Enter your account password or click "Yes." Your password characters will then appear in the field.
- 🔑 Right-click on the Wi-Fi icon in the tray.
- 🔑 Go to Network and Sharing Center.
- 🔑 Select an active wireless connection.
- 🔑 Open "Wireless Network Properties" and the "Security" tab.
⚠️ Attention: If the "Security" tab is missing or the options are grayed out, make sure you're logged in as an administrator. Standard users may not have access to change security settings.
Using the command line to recover the key
For more experienced users or system administrators, a great tool is command line (CMD). This method not only allows you to view the password for the current network but also lists all saved profiles, which is especially useful if you need to find the key for a network the computer has connected to in the past. The command line interface is faster than graphical shells and provides direct access to the wireless network management service. WLAN.
To launch the command line, press the key combination Win + R, enter cmd and press Enter. For the command to run successfully and produce results, it's recommended to run the console as an administrator. Enter the command to display a list of all saved Wi-Fi profiles on your computer.
netsh wlan show profiles
The system will return a list of all networks the device has ever connected to. Find the desired name (profile) in the list. Then use the command to display details of a specific profile by adding the keyword key=clear, which instructs the system to show the key in clear text.
netsh wlan show profile name="Network_Name" key=clear
In the information, find the "Security settings" section. The "Key Content" line will contain the password you're looking for. This method is especially useful if the graphical interface is malfunctioning or frozen.
Analyzing saved profiles via PowerShell
Modern operating system Windows 10 also offers a more powerful management tool - PowerShellUnlike the classic command line, PowerShell uses an object-oriented approach, allowing for more structured information retrieval. This approach is ideal for those accustomed to working with modern scripts or prefer the PowerShell interface to the CMD terminal.
Launch PowerShell as administrator by right-clicking the Start menu and selecting the appropriate option. The commands here are similar to CMD, but the syntax may differ slightly depending on the version of the shell. It's also helpful to list all profiles first to ensure the network name is spelled correctly.
Use the following construction to retrieve the password. Please note that PowerShell is case-sensitive and syntax-sensitive, so enter commands carefully.
netsh wlan show profile name="Your_network" key=clear
The output will be similar to the CMD output: the password will be listed in the security section. The advantage of PowerShell is the ability to automate the process, for example, saving all passwords to a text file with a single command, which is convenient for backing up settings before reinstalling the system.
- 🚀 Run PowerShell as administrator.
- 🚀 Enter the command to display the profile with the key.
- 🚀 Find the line "Key Contents" in the output.
Is it possible to recover a password if the network is hidden?
Yes, if the network profile is saved in Windows. Hidden network status (non-broadcasting SSID) does not affect the encryption key storage in the registry or user profile.
View passwords for previously connected networks
You often need to connect a new gadget, but your computer isn't currently connected to Wi-Fi, even though it was previously connected to the same network. Windows 10 stores profiles of all networks it's ever connected to in its registry. This allows you to restore access even without an active connection to the router.
Using the command line or PowerShell method discussed above, you can list all profiles with the command netsh wlan show profilesThis list will display all known networks. Select the desired one and apply the command with the parameter key=clearThe system will issue a password even if the router is turned off or out of range.
However, please note that if the profile was manually deleted or the system was reinstalled with the disk formatted, the password information will be lost. In such cases, the only solution is to access the router itself or reset its settings.
| Method | Requires Wi-Fi connection | Complexity | Access to history |
|---|---|---|---|
| Network and Sharing Center | Yes (current only) | Low | No |
| Command Prompt (CMD) | No | Average | Yes |
| PowerShell | No | Average | Yes |
| Router settings | No (requires cable/access) | High | Yes |
Login to the router control panel
If none of your computers remember the password, or you want to change the access key to a more complex one, your only option is to log into the router's web interface. To do this, you need to know the login address (often 192.168.0.1 or 192.168.1.1) and data for authorization in the control panel (login and password of the router administrator).
Connect your computer to the router via LAN cable Or via Wi-Fi (if automatic login is still enabled). Open your browser and enter the device's IP address in the address bar. After entering the administrator login and password (found on the sticker on the bottom of the router, if they haven't been changed), go to the wireless network section (Wireless or Wi-Fi).
In the security settings (Security) you will see a field Wireless Password, WPA Key or PSK PasswordHere you can not only view the current password but also change it to a new one. After saving the settings, all devices will need to be reconnected with the new key.
⚠️ Attention: Changing the password in your router settings will disconnect all connected devices. You'll have to re-enter the new key on phones, tablets, and laptops.
☑️ Check before resetting your router
Frequently Asked Questions (FAQ)
Can I view the Wi-Fi password if I'm not the computer administrator?
No, viewing saved security keys in Windows 10 requires administrator privileges. Without them, password fields will be inaccessible for editing or viewing, and console commands will return an access error.
Where are Wi-Fi passwords stored in the Windows registry?
Profiles and keys are stored in a protected part of the registry in a path associated with the service. WlanSvc, but they are encrypted. Directly editing the registry to extract the password is impossible without special decryption utilities, so it's easier to use the command line.
What should I do if the netsh command returns an error?
Make sure you're running the command prompt as an administrator. Also, check the spelling of the network name (case and space sensitivity). If the network is called "My Home," the command should include name="My Home".
Will my Wi-Fi password reset after a Windows update?
Network profiles and passwords are typically preserved after a standard system update. However, when upgrading to a new major version (for example, from Windows 10 to 11) or using the "Reset this PC" feature to delete files, network settings may be lost.