It's common to have friends over or need to connect a new gadget but forget your wireless network password. While it might seem like a simple router reboot or reset would solve the problem, this will require reconfiguring your router. Internet connection on all already connected devices, which is extremely inconvenient. Fortunately, Windows operating systems store access keys for networks the computer has ever connected to, making it easy to recover lost information.
In this article, we will examine in detail all existing recovery methods. Wi-Fi keys Using the system's built-in tools, the router interface, and even third-party tools if standard methods fail. You'll learn how to find hidden security data using the command line or graphical interface, and you'll understand where this information is stored deep within the system. The key is to proceed consistently and follow the instructions carefully to avoid getting lost in the settings.
Before we get started, it's worth noting that you'll need permissions to perform most of the operations described below. administratorWithout the appropriate access rights, the Windows security system will not allow you to view saved encryption keys. This is to protect you from malware that might attempt to steal your data.
Finding a password through network settings in Windows 10 and 11
The easiest and most obvious way to find a forgotten password is to look it up in your current connection settings. If your computer is currently connected to the router, the system may show you the key in plain text, hiding it only with asterisks by default. This method works on all modern versions of the operating system, including Windows 10 And Windows 11, although the path to the settings may differ slightly visually.
First, you need to open the Network and Sharing Center. Right-click on the icon Internet in the lower right corner of the screen (near the clock) and select "Network & Internet settings." Next, find the link "Network and Sharing Center" or "Advanced network settings," depending on your OS version. In the window that opens, you'll see your active connection, next to which you'll see "Wireless Network" and the name of your router.
Click on your network name (blue link) to open the status window. Here, you'll find the "Wireless Network Properties" button. Clicking it will open a dialog box with several tabs. Go to the "Security" tab. This is where the "Network Security Key" field is located, where the symbols are hidden by dots.
To see your real password, simply check the "Show entered characters" checkbox. The system will instantly decode the asterisks, and you can copy or write down the character combination. If the checkbox is unchecked or the field is grayed out, your account may not have sufficient privileges, and you need to log in as an administrator.
It's important to understand that this method only displays the password for the network to which the device is currently connected or was previously connected and the profile hasn't been deleted. If you've changed your router but the network name (SSID) remains the same, your computer may automatically use the old saved key, which is no longer relevant for the new equipment.
Using the command line to recover the key
For users who prefer console commands If you can't find the desired option in the graphical interface, the command line is a great solution. This method is universal and works even on limited versions of Windows, where some graphical elements may be hidden. It allows you to not only view the password for the current network but also display a list of all profiles ever saved.
Launch the command prompt with administrator rights. To do this, click Win + X and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". In the window that opens, enter the command netsh wlan show profiles and press Enter. You will see a list of all networks this computer has ever connected to.
Find the name of the desired network in the list. Now enter the command to display a specific profile: netsh wlan show profile name="Network_Name" key=clearReplace "Network_Name" with the exact name of your WiFi network, taking care to include capitalization and spaces. In the "Security Settings" section, find the "Key Contents" line—this is the password you're looking for.
What to do if the command doesn't work?
Make sure you enter the profile name exactly as it appears in the list. If there are spaces in the name, be sure to enclose it in quotation marks. Also, make sure the console is running as an administrator.
The advantage of this method is its speed and the ability to quickly copy the result. Furthermore, the command line allows you to not only view but also delete old profiles if the system attempts to connect to them with invalid credentials. This is especially useful if your provider frequently changes equipment.
☑️ Check before entering a command
Viewing the password through the router's web interface
If your computer isn't connected to the network or you want to find out the password for a new device, the most reliable source of truth is the router itself. In the settings router The current key is stored and distributed to clients. To access them, you'll need a browser and a cable connection (or a WiFi connection if it's still active on another device).
Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1, however, the address may differ depending on the manufacturer. The login details (username and password) are usually located on a sticker on the bottom of the device, unless you have changed them. Standard combinations are often admin/admin or admin/password.
After logging in, find the section related to wireless networking. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for the "Security" or "Wireless Network Settings" subsection. This is where the "Password" (Pre-Shared Key, or WPA Key) field is located.
Unlike Windows, the password is often displayed in plain text right away, without the need to click any additional keys. If you see dots, there's usually an eye or a "Show Password" checkbox next to it. Changing the password here changes it for all devices, so be careful.
⚠️ Please note: Router interfaces from different manufacturers (TP-Link, ASUS, D-Link, Keenetic) vary significantly. Menu names may vary, and the layout of elements may change after a firmware update. Always consult the official documentation for your model.
This method is great because it shows the exact password that's being shared right now. If someone has previously changed your router settings without your knowledge, you'll see the current data, not the one stored in your computer's memory.
Mobile apps and QR codes on Android
In today's world, smartphones often become the control center of a home network. If you have an Android smartphone (version 10 or higher) connected to the desired WiFi, you can easily find the password and transfer it to your computer. The Android system allows you to generate a QR code containing the access key for quick connection for guests.
Go to your phone's WiFi settings, tap the gear icon next to your active network, or select "Share." The system will ask you to verify your identity using a PIN, fingerprint, or FaceID. A QR code will then appear on the screen. On many smartphones (e.g., Xiaomi, Samsung), the password is written in plain text directly below the QR code.
If there is no text password, you can scan this QR code with any scanner app or even another phone's camera. The scan results will contain a string like this: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;Symbols after P: and before ;; - this is your password.
- 📱 Android 10+: Built-in function via QR code in WiFi settings.
- 🍏 iOS: iPhone doesn't display your password in plain text, but it can automatically transmit it to a Mac or another iPhone when in close proximity.
- 📸 Scanners: Use Google Lens or any QR scanner to decode the image on the screen.
This method is especially convenient when you urgently need to connect your laptop, but you don't have a cable handy and can't remember a complex set of characters. Simply scan the code from your phone's screen, and your computer is online.
Third-party password recovery programs
When standard Windows tools seem too complex or fail due to system errors, specialized utilities come to the rescue. There are many programs that can extract saved keys from the registry or system storage. However, they should be used with caution, as antivirus programs often detect them as potentially dangerous tools (HackTools).
One of the most popular and proven programs is WirelessKeyView from NirSoft. It requires no installation, is very lightweight, and immediately displays a list of all networks and their corresponding keys in hexadecimal and ASCII format. The program runs at the system level, accessing Windows services.
Another well-known utility is WiFi Password DecryptorIt has a more user-friendly interface and allows you to not only view but also recover lost passwords. However, unlike the free version of WirelessKeyView, many features of such programs require a fee.
Using third-party software carries certain risks. Downloading programs from untrusted websites puts you at risk of infecting your computer with a virus. Always use only official developer websites. Furthermore, your antivirus software may block such a program from running, deeming its actions suspicious because it attempts to read protected data.
⚠️ Warning: Antivirus programs may mark password recovery utilities as "HackTool" or "RiskWare." This is normal for this type of software, but make sure you downloaded the file from an official source and not from a suspicious archive.
If you're unsure of your abilities or afraid of disrupting the system, it's best to stick with standard Windows methods or router settings. Third-party software is the "heavy artillery" for complex situations when other methods have failed.
Table: Comparison of recovery methods
To help you choose the right method, we've prepared a summary table comparing the methods discussed based on key parameters. This will help you quickly navigate the process depending on your situation and level of technical expertise.
| Method | Complexity | Network access required | Admin rights |
|---|---|---|---|
| Windows settings | Low | Desirable | Yes |
| Command line | Average | No | Yes |
| Router interface | Average | Yes (cable/WiFi) | Yes (router password) |
| QR code on your phone | Low | Yes (on the phone) | No |
| Third-party software | Low | No | Yes |
As the table shows, the most universal method is the command line, as it doesn't require an active internet connection at the time of the request, as long as the profile is saved in memory. However, for beginners, the easiest way is to use Windows settings or look at the router sticker if the password hasn't been changed.
The method you choose depends on the device you currently have and whether you have physical access to the router. If the router is in a hard-to-reach location, it's best to avoid disturbing it and instead use software methods on your PC.
Frequently Asked Questions (FAQ)
Is it possible to find out the WiFi password if I have never connected to this network from this computer?
No, that's impossible. A computer doesn't store information about networks it hasn't connected to. The password must be entered at least once and saved in the system so it can be retrieved later. If you've never entered the key on this PC, you'll have to look it up on another device or on the router.
What should I do if the "Network Security Key" field is grayed out and inactive?
This means your current account doesn't have administrator privileges. You'll need to either log in as an administrator or ask the PC owner to enter the password. Without administrator privileges, Windows blocks viewing saved passwords for security reasons.
Will resetting my router help if I forgot my password?
A reset will return the router to factory settings. The WiFi password will be reset to the one written on the sticker on the bottom of the device. However, this will also reset your ISP settings (PPPoE login/password, VLAN, etc.), and your internet may stop working until you reset the router. Use this method only if you know your ISP settings.
Where is the password physically stored in Windows?
Passwords are stored in a protected section of the registry and system configuration files, which are accessed only with limited access. They are encrypted and linked to a specific user account and SID (security identifier). Simply copying registry files to another computer will not allow easy password retrieval without special decryption keys.
Is it safe to use programs like WirelessKeyView?
The program itself is safe if downloaded from the developer's official website (NirSoft). However, antivirus programs may report it as it is designed to extract sensitive data. Use such utilities only on your personal computer and delete them immediately after use.