Many people are familiar with the situation where they need to connect a new device to the network and have completely forgotten the Wi-Fi password. Fortunately, if your computer or laptop is already connected to a wireless network or has connected to one before, the operating system Windows 10 Stores this data in encrypted form. You don't need to reset your router or find your ISP contract to restore access.
There are several proven methods for extracting this information, from simple graphical interfaces to console commands. In this article, we'll cover in detail how to view a Wi-Fi password on Windows 10 using built-in system tools and third-party utilities. It's important to understand that some actions require administrator privileges.
Before you begin any technical manipulations, make sure that the device you are trying to obtain data from actually has an active connection to the target network or has saved it in its connection history. The password is stored in the system as a hash, which is decoded only when requested through an authorized interface or special commands. Let's look at the most effective ways to solve this problem.
Using the Windows 10 GUI
The easiest and most secure way to save a saved password is to use the operating system's default network settings. This method doesn't require complex commands and is suitable even for inexperienced users. However, the interface may differ slightly depending on your Windows 10 build version.
To get started, open the Start menu and go to "Settings," then select "Network & Internet." In the window that opens, find the "Network and Sharing Center" link or simply click the name of your active network. In the wireless network status window that appears, click "Wireless Network Properties."
Go to the "Security" tab. Here you'll see the "Network Security Key" field, where the characters are hidden behind asterisks. To see them, check the "Show entered characters" box. The system may ask you to confirm your administrator rights.
⚠️ Attention: If the "Security" tab is missing or the confirmation button is grayed out, your account may not have sufficient permissions or your network profile may be corrupted. In this case, try starting the system in Safe Mode.
Why might the password not be displayed?
In some corporate networks, administrators block the ability to view security keys through Group Policy. This can also occur if the wireless adapter driver is not working correctly or is installed in compatibility mode for certain versions of Windows.
It's worth noting that this method only works for the network the computer is currently connected to. If you want to find the password for a different network you've previously connected to, this method won't work, and you'll have to use the command line.
Viewing a password via the command line (CMD)
The Windows command line provides a more flexible tool for managing network connections. Using the utility netsh You can not only change current settings but also access the history of all saved Wi-Fi profiles. This method is considered the most reliable among the built-in tools.
To launch the command line, press the key combination Win + R, enter cmd and press Enter. It's best to run the console as administrator to avoid access rights issues. First, you need to know the exact network profile name, which may differ from the SSID.
netsh wlan show profiles
After running the command, you'll see a list of all saved profiles. Find the desired network name and use the following command to display the security key:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the line "Key Content." This is where the password you're looking for will be displayed in cleartext. This method works even if the network is currently inactive, as long as the profile is saved in the system.
☑️ Check before entering commands
Using the command line allows you to quickly copy a password without having to navigate through multiple menus. This is especially convenient when setting up multiple devices in a row and frequently needing to enter access credentials.
Using PowerShell to retrieve data
PowerShell is a more modern alternative to the classic command line and offers advanced scripting capabilities. While CMD is sufficient for viewing passwords, PowerShell can be useful if you plan to automate a process or output data in a specific format.
Launch PowerShell as administrator from the Start menu. The command for getting information is similar to that used in CMD, but PowerShell's syntax allows for more flexible filtering of the output. Enter the following line:
netsh wlan show profile name="Network_Name" key=clear | Select-String"Key Contents"
This command will filter the output and show only the line containing the password, making the information easier to read. If you have an English-language version of the system, replace "Key Content" with "Key Content."
PowerShell also allows you to export a list of all profiles and their passwords to a text file, which can be useful for system administrators when migrating users to new computers. However, keep such files secure, as they contain sensitive information.
For advanced users, it's possible to create a script that will automatically collect passwords from all saved networks and save them to a file. This requires caution and an understanding of security basics.
Login to the router's web interface
If your computer isn't connected to Wi-Fi or the profile has been deleted, the only way to find the password is to access the router's settings. To do this, you'll need the default gateway address and your control panel login credentials.
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.1The exact address can be found by launching the command line and entering the command ipconfigFind the line "Default Gateway".
After entering the address, you'll need to enter the router administrator login and password. If you haven't changed them, they'll be found on a sticker on the bottom of the device. Default combinations are often admin/admin or admin/password.
In the router interface, find the "Wireless" or "Wi-Fi" section. The current password will be displayed in the "Password," "Passphrase," or "Security Key" field. You can view it and change it to a more complex one.
| Manufacturer | Standard IP | Default login | Default password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| D-Link | 192.168.0.1 | admin | (empty) |
| Keenetic | 192.168.1.1 | admin | 1234 |
⚠️ Attention: If you've changed your router password and forgotten it, your only option is to reset the device to factory settings using the Reset button. This will result in the loss of all internet settings.
The web interface provides full control over the network, including setting up guest access and MAC address filtering. Regularly checking these settings helps ensure the security of your home network.
Third-party password recovery programs
There are many specialized utilities designed to recover and manage saved Wi-Fi passwords. Programs like WirelessKeyView from NirSoft or WiFi Password Decoder Allows you to extract all saved keys into a convenient list.
These applications scan the Windows registry and system files where wireless network data is stored. The results are typically displayed in a table with profile names, SSIDs, and passwords in clear text. Export to HTML, XML, or TXT is often supported.
Using third-party software carries certain risks. It's important to download such software only from the developers' official websites to avoid infecting your computer with viruses or Trojans that may disguise themselves as useful tools.
Some antivirus programs may detect such utilities as potentially unwanted activity (PUP) because they access sensitive data. In this case, you'll need to temporarily add the program to the exceptions list.
For one-time use, it's more convenient to use built-in Windows tools, but if you're a system administrator and work with multiple computers, specialized software can save you time.
Mobile apps and QR codes
Modern versions of Android (starting with 10) and iOS (starting with 11) allow you to share your Wi-Fi password or display it as a QR code. If you have a smartphone already connected to the network, you can use it to connect your PC.
On Android, go to Wi-Fi settings, tap the name of your active network, and select "Share" or "QR code." A code will appear on the screen. Scan it with another device to instantly connect without entering a password.
On iPhone, the sharing feature works automatically between devices in the Apple ecosystem when you bring them close together. For Android devices, you can use a QR code scanner, which, after scanning, will display a text string containing the password.
This method is especially convenient when you need to connect a guest or a device without a convenient keyboard, such as a smart TV or printer. You don't have to dictate complex characters character by character.
Remember that the QR code contains the password in clear text, so do not take photos of it or send images to strangers. It's best to remove the code from the screen after use.
Frequently Asked Questions (FAQ)
Is it possible to find out a Wi-Fi password if the computer has never connected to this network?
No, this can't be done using standard Windows tools. The password is stored only on devices that have previously successfully logged into the network. The only option is to obtain it from the router owner or look on a sticker on the device itself if the password hasn't been changed.
What should I do if the netsh command returns an "Element not found" error?
You most likely entered the profile name incorrectly. The profile name must exactly match the one listed in the profile list (command netsh wlan show profiles). If there are spaces in the name, be sure to enclose it in quotation marks.
Is it safe to save passwords in Windows?
Windows encrypts stored passwords, making them accessible only to users with administrator rights on the computer. However, if attackers gain physical access to your PC, they can extract this data. It is recommended to use a strong Windows account password.
Can I recover my password if I reset my network settings?
If you delete a network profile in Windows ("Forget Network"), the password is removed from the system. You won't be able to recover it programmatically from this computer; you'll have to find other ways, such as logging into the router.
Do these methods work on Windows 7 and 8?
Yes, the methods described are with the command line (netsh) and a graphical interface work on all modern versions of Windows, starting with Windows 7. The interface may differ slightly, but the principle remains the same.