It's a frighteningly common situation to need to connect a new device to your home network but completely forget the Wi-Fi password. It might seem like your laptop is already connected and working, but remembering the password for your phone or tablet can be a daunting task. Fortunately, the operating system Windows stores this data in a secure manner, and it can be accessed using standard tools without installing third-party software.
Restoring access to security key There are several methods available for network access, from simple browsing in a graphical interface to using console commands for advanced users. It's important to understand that to perform most of the steps described, you must have administrator rights on your device. If you're using a corporate laptop, your system administrator may have restricted access to these features.
Let's look at proven methods that work on current versions of the operating system, including Windows 10 And Windows 11We'll go from the most basic visual settings to a deep analysis of network profiles. The key is to proceed carefully and avoid changing unnecessary settings in system utilities.
Viewing a saved password through a graphical interface
The most obvious and accessible method for any user is to use the standard wireless network properties window. This method requires no command knowledge and works reliably on all builds. Windows OSHowever, it only allows you to find out the password for the network to which the laptop is currently connected or has been connected previously.
First, you need to open your network settings. In modern versions of the system, you can do this by right-clicking the internet icon in the system tray and selecting the appropriate menu item, or through the control panel. You'll need to find the active connection and go to its detailed information.
- 📡 Right-click on the icon Wi-Fi in the lower right corner of the screen.
- 🖱️ Select "Open Network & Internet Settings" or "Network and Sharing Center."
- ⚙️ Find the "Properties" or "Status" link for your wireless connection.
In the wireless network properties window that opens, go to the tab SecurityThis is where key information about the encryption protocol and the key itself is stored. By default, the "Network Security Key" field is hidden behind asterisks to protect it from prying eyes.
⚠️ Attention: If the Security tab is missing or the buttons are grayed out, your account may not have administrator rights or your wireless adapter drivers may not be working properly.
To see hidden characters, check the box next to "Show entered characters." The system may ask you to confirm actions with administrator rights—agree. After that, password will become visible in clear text, and you will be able to copy it or write it down.
Using the command line to retrieve data
For users who prefer speed and accuracy, or in cases where the graphical interface is buggy, this is ideal Command line (CMD). This method not only allows you to view the password for the current network but also displays a list of all saved profiles on the device.
Launch Command Prompt as administrator. This is a critical step, as without elevated privileges the system will not release the saved security keys. Enter cmd In the Start menu search, right-click on "Command Prompt" and select "Run as administrator."
First, find out the exact network profile name if it differs from the Wi-Fi access point name. Enter the command:
netsh wlan show profiles
Find the desired name in the list. Next, to get the password specifically for this network, use the command with the key parameter. Replace Network_Name to your profile's real name:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the "Security Settings" section. The "Key Contents" line will be the password you're looking for. This method is universal and works even on limited versions of Windows, which may lack some graphical elements.
What to do if the command fails?
If the system displays "Access Denied," make sure you launched the console as an administrator and didn't just open a window. Also, check if your antivirus software is blocking system requests.
Viewing keys via PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt offers more flexible options for scripted data processing, although for a one-time password viewing task, the difference from CMD is minimal. However, the syntax may be more understandable for those accustomed to modern systems.
Open PowerShell as an administrator. You can do this through the Start menu search or through the Start button context menu (right-click). The interface will have a different color (usually a blue background), but the principles are the same.
To obtain a human-readable list of all profiles and their passwords, you can use the following construct. It will output the network name and the corresponding key:
(netsh wlan show profiles) | Select-String "Profile" | % { $name = $_.ToString().Split(":")[1].Trim(); netsh wlan show profile name="$name" key=clear } | Select-String "Key content" | % { $_.ToString().Split(":")[1].Trim() }
Although the command appears cumbersome, it automatically scans all saved profiles. If you only need the password for one specific network, it's easier to use a CMD-like syntax, as PowerShell is fully compatible with commands. netsh.
- 💻 PowerShell has a more powerful scripting engine.
- 🔑 Teams
netshwork the same in CMD and PowerShell. - 📝 Data output can be redirected to a text file for saving.
⚠️ Attention: When copying commands from the internet, be careful with quotation marks. Quotation marks may look the same in different encodings, but the system will interpret them as different characters, resulting in syntax errors.
Checking the password through the router's web interface
If your laptop is not connected to the network or you want to know the password used to distribute Wi-Fi, the most reliable source of truth is the laptop itself. routerLogging into the router control panel allows you to not only view the current password but also change it if you suspect unauthorized access.
To access the settings, you need to know the IP address of the default gateway. This is usually 192.168.0.1 or 192.168.1.1The address is often indicated on a sticker on the bottom of the device, along with the login and password for accessing the admin panel.
The algorithm of actions is as follows:
- Connect your laptop to the router via LAN cable or via Wi-Fi (if available).
- Open your browser and enter the IP address in the address bar.
- Enter the administrator login and password (often by default) admin/admin).
- Go to the section
Wirelessor Wireless mode -> Security.
The "PSK Password" field will display the current key. You can also change the encryption type to a more secure one here. WPA2-PSK or WPA3, if your router and devices support modern security standards.
Windows 11 specifics and new settings menus
In the operating system Windows 11 Microsoft has significantly redesigned the Settings interface, making it more modern but also a bit confusing for those accustomed to the classic Control Panel. The process for viewing passwords has also been updated and made more accessible to regular users.
Unlike previous versions, Eleventh now has a direct way to copy your password. Go to Parameters (you can click Win + I) -> Network and Internet -> Wi-Fi.
Select "Manage known networks" and click on the desired network. If it's the currently active network, a "View" button or an eye icon will appear next to the password field. Clicking on it will require confirmation. PIN code Windows login or fingerprint if biometrics are used.
| Windows version | Access method | Admin rights required | Complexity | Copy to clipboard |
|---|---|---|---|---|
| Windows 10 | Control Panel / CMD | Yes | Average | Manually |
| Windows 11 | Options / Settings | Yes (biometrics/PIN) | Low | Automatically |
| Windows 8.1 | Network and Sharing Center | Yes | Average | Manually |
| Windows 7 | Wireless network properties | Yes | Low | Manually |
This integration of biometric security makes the process more secure. Even if someone gains physical access to your unlocked laptop, without knowing your PIN or your fingerprint, they won't be able to quickly retrieve your saved passwords through the standard menu.
Third-party programs and security measures
There are many utilities such as WirelessKeyView or WiFi Password Decoder, which automatically extract all saved keys from the Windows registry. Using such software is only advisable in extreme cases when standard methods fail or when bulk key export is required.
However, installing third-party software to manage network passwords carries risks. Antivirus programs may react to such snails as HackTool or potentially unwanted application, since their operating principle is similar to that of a virus (collecting saved data).
☑️ Wi-Fi Security Check
If you do decide to use third-party software, download it only from the developers' official websites. After using it, we recommend completely uninstalling the program and scanning your system with an antivirus. Remember that storing passwords in clear text on your computer is always a risk.
⚠️ Attention: Router interfaces and Windows menus are subject to update. The layout of menu items may vary slightly depending on the device's firmware version or operating system update.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the laptop has never connected to this network?
No, the operating system doesn't store passwords for networks the device hasn't connected to. In this case, the only solution is to use the sticker on the router (if the password hasn't been changed) or access the router settings via a cable.
Why does the command line say "Network not found in profile"?
This means that the profile name you entered in the command does not match the saved name. Use the command netsh wlan show profilesto see the exact name, including spaces and case, and enclose it in quotation marks.
Is it safe to save a password in Windows?
For home use, yes. Windows encrypts saved passwords. The risk only arises if an attacker gains physical access to your laptop while it's running and has administrator privileges.
How do I view my Mac password if I only have a MacBook nearby?
On macOS, this is done through the Keychain Access app. Find the network name, open its properties, and check the "Show password" box, confirming the action with your Mac account password.
What should I do if I forgot my router admin password?
If you haven't changed the default password, try the admin/admin combination. If the password has been changed and lost, the only solution is to reset the router to factory settings using the button. Reset on the case, after which you will have to set up the Internet again.