Have you connected your laptop to a Wi-Fi network but forgotten the password? Now you need to connect another device? Or do you want to check how secure your current one is? network security keyIn Windows 10, there are several ways to find your saved Wi-Fi password, even if you don't remember it. This article will help you understand what a network security key is, where it's stored on your laptop, and how to view it without third-party software.
We will consider all available methods: from simple viewing through Windows Settings before use command line And PowerShellWe'll also tell you how to protect your network if your current password is too weak. It doesn't matter whether you use ASUS, Lenovo, HP or any other laptop - the instructions are universal for all devices running Windows 10.
What is a Wi-Fi security key and why is it needed?
Network Security Key (or Wi-Fi password) is a unique combination of characters that protects your wireless network from unauthorized access. Without it, only devices you've explicitly allowed will be able to connect to the router. Modern security standards (e.g., WPA2 or WPA3) This key encrypts all traffic between your laptop and the router, making data transmission protected from interception.
When you first connect your laptop to Wi-Fi, Windows 10 stores the security key in encrypted form. This allows you to automatically connect to the network in the future, but it creates a problem: if you forget the password, you can't easily "see" it in settings. However, the operating system provides tools for extracting this information—and we'll show you how to use them.
- 🔒 WPA2-PSK — the most common type of protection used in home networks. Supported by all modern devices.
- 🛡️ WPA3 — a new standard with improved protection against brute-force attacks. Found in routers of recent years (for example, TP-Link Archer AX6000 or ASUS RT-AX88U).
- ⚠️ WEP — an outdated and insecure protocol. If your router still uses it, change the settings immediately!
If you are unsure what type of security is used on your network, you can check this in your router settings (usually at 192.168.0.1 or 192.168.1.1). The login and password for entry are often indicated on a sticker on the back of the device.
Where is the Wi-Fi security key stored on a Windows 10 laptop?
Windows 10 stores all the passwords for Wi-Fi networks you've ever connected to in a special database. WLANThis data is encrypted and inaccessible via Windows Explorer, but it can be extracted using built-in utilities. Physically, the information is stored in the registry and system files at the following path:
C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{Interface GUID}
However, there's no need to search for files manually—it's easier to use the graphical interface or the command line. It's important to understand that:
- 🖥️ Passwords are stored only for those networks, to which the laptop was connected previously.
- 🔄 If you reset network settings in Windows, your connection history is cleared.
- 🔐 To view passwords you need administrator rights.
If you are using a corporate network with certificates (eg. 802.1X), the security key may be stored elsewhere or not appear in the default settings at all. In such cases, please contact your network administrator.
Method 1: How to find your security key through Windows Settings
The easiest method is to use the built-in menu ParametersIt doesn't require any command knowledge and is suitable for most users. Here are the step-by-step instructions:
- Open the menu
Startand selectParameters(gear icon) or clickWin + I. - Go to the section
Network and Internet→Wi-Fi. - Click
Managing known networks. - In the list, find the required network and click on it, then select
Properties. - Scroll down to the block
Security parametersand check the boxShow entered characters.
After that in the field Network security key The saved password will be displayed. If the button is inactive or the field is empty, it means:
- 🔌 The laptop has never connected to this network (or the data has been reset).
- 👤 Your account does not have administrator rights.
- 🔒 The network uses a non-standard authentication type (eg. WPA-Enterprise).
☑️ Preparing to view your password
Method 2: How to view your Wi-Fi password using the command line
If the graphical interface does not work for some reason (for example, due to a system failure), you can use command lineThis method is universal and works even in safe mode. Here's what to do:
- Open
Command lineas an administrator. To do this, clickWin + Xand selectCommand Prompt (Administrator)orWindows PowerShell (Administrator). - Enter the command to view all saved networks:
netsh wlan show profilesRemember the exact name of the network you need (case is important!).
- Display information about a specific network by replacing
NETWORK_NAMEto its real name:netsh wlan show profile name="NETWORK_NAME" key=clear - Find the line
Key content- this is your password.
Example command output (password highlighted):
Security settings:
Authentication type: WPA2-Personal
Encryption type: CCMP
Key contents: 12345678Ab!
If you see a blank field or an error message instead of a password, check:
- 📝 The network name is correct (including spaces and case).
- 🔑 Having administrator rights.
- 🔄 Have you reset your network settings through
netsh wlan delete profile name="NETWORK_NAME".
Method 3: Using PowerShell to Extract Password
PowerShell — a more powerful tool than the standard command line. It allows you to automate password extraction for all saved networks at once. Here's how:
- Open
PowerShellas administrator (viaWin + X). - Enter the command to display all Wi-Fi profiles:
netsh wlan show profiles | Select-String "All user profiles" - To display passwords for all networks at once, run the script:
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key contents\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{PROFILE_NAME=$name;PASSWORD=$pass}} | Format-Table -AutoSize
The result will be presented as a table with two columns: the network name and its password. This method is convenient if you need to export all saved keys (for example, when transferring to a new laptop).
| Network name (SSID) | Security key | Type of protection |
|---|---|---|
| HomeWiFi_5G | qwerty789! | WPA2-PSK |
| Office_Net | P@ssw0rd2026 | WPA3-SAE |
| Guest_2.4GHz | 12345678 | WPA2-PSK |
Please note: If the output shows asterisks (), then your account does not have sufficient rights. Run PowerShell on behalf of the administrator.
What to do if PowerShell blocks script execution?
By default, Windows 10 has the policy enabled. Restricted, which prevents scripts from running. To change it, run the command Set-ExecutionPolicy RemoteSigned -Scope CurrentUser and confirm the action.
What to do if the security key is not displayed
Sometimes the Wi-Fi password may not show up in any of the methods listed. Here are the most common causes and solutions:
- 🔄 Reset network settings: If you have previously reset the settings via
Settings → Network & Internet → Status → Network reset, the connection history is cleared. In this case, the password can only be found through the router settings. - 👤 Insufficient rights: Make sure you are logged in with an account that has administrator rights. You can check this in
Control Panel → User Accounts. - 🔌 The laptop did not connect to the network.Windows only saves passwords for networks it has connected to at least once. If the network isn't listed
netsh wlan show profiles, which means it was never there. - 🔒 Corporate network: Networks with authentication 802.1X (for example, in offices or universities) do not store passwords in a standard format. Contact the administrator for the data.
If none of the methods worked, there are two options left:
- Look at the password on the router sticker (usually indicated
Wi-Fi PasswordorNetwork Key). - Log in to the router's web interface (at the address
192.168.0.1or192.168.1.1) and find the sectionWireless → Security.
⚠️ AttentionIf you rent a place or use public Wi-Fi (such as a hotel), changing your router settings without the owner's permission is prohibited. In such cases, ask the administrator for the password.
How to secure your Wi-Fi network if the key is too simple
If you view your password and find that it is too short (for example, 12345678) or consists only of numbers, it's easy to crack using brute-force attacks. Here's how to improve security:
- 🔐 Change your password for a combination of 12+ characters, including:
- Uppercase and lowercase letters (
A-z) - Numbers (
0-9) - Special characters (
!@#$%)
- Uppercase and lowercase letters (
- 🛡️ Update your protection type With WPA2 on WPA3 (if the router supports it).
- 📡 Disable WPS - This function can be hacked in a few hours.
- 🔄 Enable automatic firmware updates router.
Example of a strong password: kL9#pR2@xQ1!vM4*To avoid forgetting it, write it down on paper and keep it in a safe place (not on your laptop!).
We also recommend:
- 🔄 Change your password every 6 months.
- 📵 Disable the guest network when not in use.
- 🔍 Check connected devices in the router's web interface (section
DHCP ClientsorConnected Devices).
⚠️ AttentionDon't use personal information (birthdates, names, phone numbers) in your password. Attackers can guess such combinations based on your public social media profiles.
FAQ: Frequently asked questions about Wi-Fi security keys
Is it possible to find out the password for a Wi-Fi network that the laptop has never connected to?
No, Windows 10 only stores security keys for networks it has connected to at least once. If the network isn't listed netsh wlan show profiles, the password can only be found out:
- Through the router settings (web interface).
- On another device that was connected to this network.
- On the router sticker (if the password has not been changed).
Why when entering a command netsh wlan show profile It says "Profile not found"?
This means that:
- You have entered a network name incorrectly (check case and spaces).
- The laptop has never been connected to this network.
- The profile was deleted after
netsh wlan delete profile.
Check if the network name is correct using the command netsh wlan show profiles and try again.
Is it possible to export all Wi-Fi passwords to a file?
Yes, with the help of PowerShell. Run the command:
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key contents\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{PROFILE_NAME=$name;PASSWORD=$pass}} | Export-Csv -Path "C:\WiFi_Passwords.csv" -NoTypeInformation -Encoding UTF8
File WiFi_Passwords.csv will be saved on disk C:\ with a table of all networks and passwords.
Is it safe to use Wi-Fi hacking software?
Using password cracking programs (for example, Aircrack-ng, Wifite) violates the laws of most countries, including Russia (Article 272 of the Criminal Code of the Russian Federation "Unauthorized access to computer information"). Besides:
- Modern routers with WPA3 virtually immune to brute force.
- Your IP may be blocked by your ISP for suspicious activity.
- Viruses often disguise themselves as "Wi-Fi hackers".
The legal way is to ask the network owner for the password.
How do I reset my router's security key if I forgot it?
If you forgot your password and cannot recover it, reset your router to factory settings:
- Press and hold the button
Reset(usually located on the rear panel) for 10-15 seconds. - Wait for the router to reboot (the indicators should blink).
- Connect to the network with the name indicated on the router sticker (for example,
TP-Link_1234). - The default password is also indicated on the sticker (usually
adminor a combination of numbers).
After resetting, configure the router again via the web interface (192.168.0.1 or 192.168.1.1).