It's quite common to have friends over or need to connect a new gadget but forget your wireless network password. Fortunately, the operating system Windows Stores data about previously connected networks in a dedicated vault, allowing you to quickly restore access to your security key. You don't need hacking skills to extract this information; you just need to know where to look for hidden settings.
In this article, we'll cover several proven methods that work on current versions of the operating system, including Windows 10 and 11. We'll cover both standard graphical interfaces and more advanced console-based methods that can be useful in unusual situations. The key is to proceed consistently and follow the instructions carefully to avoid getting lost in the menus.
Before you begin, make sure your computer or laptop is currently connected to the desired network or has been connected to it before. If the device has never connected to the router, you won't be able to find the password remotely through the PC interface, as it's simply not saved in the local profile. In this case, you'll need physical access to the router or another authorized device.
Finding a password through network settings in Windows 10 and 11
The easiest and safest way to find a forgotten key is to use the operating system's built-in graphical interface. This method doesn't require complex commands and is accessible even to inexperienced users who are afraid of accidentally changing system settings. Just a few clicks of the mouse and the system will automatically display the necessary information in plain text.
First, you need to open the network connection management menu. In modern versions of Windows, the path may differ slightly depending on whether you're using the classic Control Panel or the new Settings menu. In Windows 11, the interface has been significantly redesigned, so it's worth exploring both navigation options for complete clarity.
Right click on the icon Wi-Fi in the system tray (lower-right corner of the screen) and select "Network and Internet settings." Next, in the window that opens, find the link "Advanced network settings" or "Network and Sharing Center." In the classic interface, click the link "Change adapter settings," find your wireless adapter, and double-click it.
After the wireless network status window opens, click the "Wireless Network Properties" button. In the new window, go to the "Security" tab. This is where the "Network Security Key" field is located, with the characters hidden behind asterisks. To view the password, simply check the "Show characters" box.
⚠️ Note: If the Security tab is missing or the fields are grayed out, it may mean that your account does not have administrator rights or the network profile has been deleted by the system.
This method only works for the network you're currently connected to. If you need to find out the password for a nearby cafe you connected to a month ago, this method won't help directly, but there are other methods for retrieving connection history.
Using the Command Prompt to View Saved Keys
For more advanced users or in cases where the graphical interface does not work correctly, using the command line is the ideal solution. cmdThis tool allows you to interact directly with Windows system services that manage wireless connections. The command line provides access to a complete list of all profiles ever saved.
To launch the console with the required rights, press the key combination Win + R, enter cmd and press Enter. However, to run network commands, it's best to run the command prompt as an administrator. To do this, find "Command Prompt" in the Start menu, right-click, and select the appropriate option.
The first step is to get a list of all saved profiles. Enter the command netsh wlan show profiles and press Enter. The system will display a list of all networks this computer has ever connected to. Find the name of the network you need (SSID) in the list and remember its exact spelling.
Now that you know the network name, you need to request the key mapping for a specific profile. Use the following command:
netsh wlan show profile name="Network_Name" key=clear
Instead of Network_Name Enter the exact name of your Wi-Fi network. If the name contains spaces, be sure to enclose it in quotation marks. After running the command, scroll up to the "Security Settings" section. The "Key Contents" line will display the password you're looking for in clear text.
What to do if the command doesn't work?
If the system writes "WLAN AutoConfig service is not running", you need to open services (Win+R -> services.msc), find WLAN AutoConfig and start it.
Viewing passwords using PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt provides advanced system management capabilities and is often used by system administrators. The command syntax may differ, but the principle of working with Wi-Fi profiles remains similar. netsh.
Launch PowerShell as administrator. To do this, right-click the Start menu and select "Windows PowerShell (Admin)" or "Windows Terminal." Enter the following command to display all profiles: netsh wlan show profiles. As in the previous case, find the name of the desired network.
To display the password, use the same command as in cmd, since PowerShell works well with netsh utilities:
netsh wlan show profile name="YourNetworkName" key=clear
The advantage of PowerShell is its automation capabilities. You can create a script that will display passwords for all saved networks at once, although this requires caution for security reasons. For a one-time password view, a standard command call is sufficient.
Check the password on the router sticker or via the web interface
If none of the software solutions work, there's always the option of physically accessing the hardware. On most modern routers, the factory Wi-Fi password is located on a sticker located on the bottom or back of the router. Look for a field labeled WPA/WPA2 Key, Wireless Password or simply "Password".
However, if the password has been changed previously, the sticker will no longer be effective. In this case, you can access the router's settings. To do this, connect your computer to the router (via cable or Wi-Fi), open a browser, and enter the device's IP address (usually 192.168.0.1 or 192.168.1.1).
After entering the administrator login and password (often admin/admin), go to the "Wireless" section. The current key will be displayed in the "Wireless Password" or "PSK Password" field. From this window, you can also change the password to something more complex and memorable.
| Method | Complexity | Admin rights required | Network connection required |
|---|---|---|---|
| Windows settings | Low | No | Yes (current network) |
| Command line | Average | Yes | No (for old profiles) |
| Router sticker | Low | No | No (physical access only) |
| Web interface | Average | Yes (router login) | Yes |
Third-party password recovery utilities
There are many programs designed specifically for managing wireless connections and recovering lost data. Popular utilities such as WirelessKeyView from NirSoft or WiFi Password Revealer, can instantly read keys from the Windows registry. They're convenient because they display all the information in a single window without the need to enter commands.
However, using third-party software carries certain risks. Antivirus programs may detect such programs as hacking tools (HackTools), as their operating principles are similar to data-stealing malware. Such utilities should only be downloaded from the developers' official websites.
Before running a program, be sure to scan it for viruses. Some antivirus packages can block such utilities, so you may need to temporarily disable protection. After obtaining the required password, it's best to uninstall the program to avoid keeping potentially vulnerable software on your system.
⚠️ Warning: Be extremely careful when downloading "password recovery" tools from unverified websites. They often disguise themselves as Trojans and stealers that will steal not only your Wi-Fi passwords but also your bank card information.
Possible problems and solutions
You may encounter a number of errors during the password recovery process. The most common error message is that Windows cannot display network settings. This occurs if the network profile is corrupted or if you are attempting to reset the password for a guest network with restricted access.
Another common issue is the lack of a "Security" tab in the network properties. This is typical for corporate networks that use complex authentication methods (802.1x). In a home environment, this shouldn't be an issue if a standard protocol is used. WPA2-Personal.
If the command prompt returns an "Element not found" error, check the spelling of the network name. Commands are case-sensitive and space-sensitive. Also, make sure you're running the console as an administrator, otherwise access to the keys will be denied by system security policies.
☑️ Checklist before resetting network settings
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the computer is not connected to it?
Yes, if you've connected to this network before and Windows has saved your profile. Use the command line with the command netsh wlan show profileto see a list of all saved networks, and then request the key for the desired profile.
Why is the password field grayed out and uneditable?
This is normal system behavior for the currently active connection. Windows only allows you to view the key (by checking the "Display" box), but not change it directly in the adapter properties. To change the password, you need to go to the router settings.
Is it safe to save passwords in Windows?
Yes, Windows stores them in encrypted form, linked to the user account. However, if an attacker gains physical access to your unlocked computer with administrator rights, they can extract these passwords.
What should I do if I forgot my router admin password?
If the default password (admin/admin) doesn't work and you've changed it but forgotten it, you'll need to reset the router to factory settings. To do this, press the button Reset on the device body for 10-15 seconds. After this, the router will operate with the factory password on the sticker.
Now you know all the basic ways to view your Wi-Fi password on a Windows computer. Use this knowledge responsibly and remember to keep your data secure. Regularly changing passwords and using complex character combinations will protect your network from unauthorized access.