Forgot your home Wi-Fi password and there's no sticker with the connection information on your router? Or do you need to share your network with a guest but can't be bothered to find the router box? Windows 10 There are several built-in ways to find the saved password for any wireless network your computer or laptop has previously connected to. What's more, you can do this without installing any third-party software—the system's standard tools are sufficient.
In this article we will look at 5 working methods: from viewing through Windows Settings to using command line And PowerShellEach method is illustrated with screenshots and accompanied by step-by-step instructions. You'll also learn what to do if the desired network isn't displayed in the list of saved connections and how to avoid errors when recovering your password.
Important: All methods only work for networks to which your PC is connected. I've already connected beforeIf you've never logged into this Wi-Fi network, you'll have to find the password on the router itself or from the network administrator.
1. View your password through Windows Settings (the easiest way)
This method is suitable for users who prefer a graphical interface and don't want to work with the command line. The entire process takes less than a minute:
- Open the menu
Startand selectParameters(gear icon) or clickWin + I. - Go to the section
Network and Internet. - In the left menu, select
Wi-Fi, then pressManaging known networks. - Find the required network in the list and click on it.
- Click the button
Properties. - Scroll down to the block
Network propertiesand pressShow symbolsnext to the fieldNetwork security key.
After this, the password will be displayed in a readable format. Please note: to perform this action administrator rights requiredIf you are using an account with limited rights, the system will ask for an administrator password.
2. Using the Network and Sharing Center (alternative graphical method)
This method works in Windows 10 all versions, including older builds (1507–1809), where the "Settings" interface may have differed. Instructions:
- Right click on the icon
Wi-Fiin the lower right corner of the taskbar (next to the clock). - Select
Open Network and Internet settings. - Scroll down the page and click
Network and Sharing Center. - In the window that opens, click on the name of your current Wi-Fi network (link next to
Connections). - In the new window, click the button
Wireless network properties. - Go to the tab
Securityand check the boxShow entered characters.
The password will be displayed in the field. Network security keyThis method is convenient because it doesn't require memorizing commands and works even on older versions. WindowsHowever, as in the previous method, administrator rights are required.
3. Viewing the password via the command line (for advanced users)
If you prefer to work with the console, this method will allow you to find out the password for 3 teamsSuitable for Windows 10 And Windows 11:
- Open
Command lineas administrator (clickWin + Xand select the appropriate item). - Enter the command to display a list of saved networks:
netsh wlan show profilesRemember the exact name of the network you need (case is important!).
- Enter the command to view the password (replace
NAZVANIE_SETI(in real name):netsh wlan show profile name="NAZVANIE_SETI" key=clear - Find the line
Key contentin the sectionSecurity parameters- this is your password.
Example of command output:
Profile name: MyWiFi_5G
...
Security parameters
Authentication type: WPA2-Personal
Encryption type: CCMP
Key contents: 12345678QwErTy
This method is universal and works even if the network is not active at the moment. However error in network name will lead to a message Profile "X" not found — check case and symbols.
Open a command prompt as administrator|Make sure the network name is entered correctly|Check the "Security Settings" section in the command output|Copy the password to a safe location-->
4. Password recovery via PowerShell (CMD alternative)
PowerShell — a more powerful tool than the standard command line. With it, you can export all saved Wi-Fi passwords in a convenient format. Instructions:
- Launch
PowerShellas administrator (viaWin + Xor search in the menuStart). - Enter the command to display all saved networks:
(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 of executing the command is a table with all networks and their passwords:
| Network name (PROFILE_NAME) | Password |
|---|---|
| MyWiFi_2.4G | qwerty12345 |
| Office_Net | Pa$$w0rd_2026 |
| Guest_Hotspot | welcome123 |
This method is convenient if you need save all passwords at once (for example, for a backup copy). However, the command is complex—it's best to copy it in its entirety to avoid errors.
What should I do if PowerShell gives me an error?
If you see a message when running the command "Invalid registry access", then your account doesn't have sufficient rights. Try:
1. Run PowerShell as administrator (required via right-click → "Run as administrator").
2. Temporarily disable the antivirus (for example, Kaspersky or Avast may block access to system data).
3. Check if the service is disabled Automatic WLAN configuration (enter in CMD: sc query Wlansvc — the status must be RUNNING).
5. Viewing passwords in Windows configuration files (for advanced users)
All Wi-Fi network passwords in Windows 10 They are stored in encrypted form in system files. They can be extracted manually, but this method requires caution:
- Open Explorer and go to this path:
C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{GUID}Instead of
{GUID}will be a unique identifier for your network adapter. - Find the file with the extension
.xml, whose name matches the name of your Wi-Fi network. - Open the file in Notepad or any text editor.
- Find the line
<keyMaterial>— there will be an encrypted password between these tags. - Copy the value and decrypt it using online services (for example, CyberChef) or utilities
netsh(as in method 3).
⚠️ Attention: editing or deleting files in a folder Wlansvc may lead to loss of all saved networksDo not change the contents of files unless you are sure of what you are doing!
This method is suitable if other methods have failed (for example, due to damage to system components). However, it is the most complex and requires an understanding of the structure Windows.
Common mistakes and their solutions
Even when following the instructions, users are still experiencing problems. Let's take a look top 5 mistakes and ways to fix them:
- 🔴 Error: "You do not have the required permissions to view this setting."
Solution: Launch Settings or Network and Sharing Center as an administrator. If you're not the PC's administrator, ask the device owner to enter the password.
- 🔴 Error: "Profile 'X' not found" in command line.
Solution: Check the case of the network name (eg.
MyWiFiAndmywifi— different profiles). Also, make sure the PC has previously connected to this network. - 🔴 Error: Empty list in "Manage known networks".
Solution: Perhaps the service
Automatic WLAN configurationdisabled. Please start it throughservices.mscor by teamnet start Wlansvc. - 🔴 Error: "Key content missing" in output
netsh.Solution: The network was saved without a password (e.g., an open access point) or the data is corrupted. Try connecting to the network again.
- 🔴 Error: Access denied when opening files in
Wlansvc.Solution: Get owner rights to a folder via
Properties → Security → Advanced.
If none of the methods worked, the password may not be saved in the system. In this case, you can:
- 🔍 Find it on the router sticker (usually indicated
Wi-Fi PasswordorNetwork Key). - 🔧 Restore via the router's web interface (enter in the browser
192.168.1.1or192.168.0.1, standard login/password —admin/admin). - 📞 Check with your network administrator (for example, at your office or public place).
Security: How to Protect Your Wi-Fi Password
After learning how to easily extract password from Windows 10, it's worth thinking about safety. Here 5 tipsHow to protect your network:
- 🔒 Use complex passwords (at least 12 characters with letters, numbers, and special characters). Example:
K0ff3e$h0p_2026!. - 🔄 Regularly (once every 3–6 months) change your password from Wi-Fi via router settings.
- 🚫 Turn off the feature
WPSin the router - it is vulnerable to brute-force attacks. - 📡 Set up guest network for temporary users (limit speed and access to local devices).
- 🛡️ Turn on
WPA3instead ofWPA2(if the router supports it).
⚠️ Attention: If you connect to public Wi-Fi (in cafes, airports, hotels), never save your password V WindowsThese networks are often unencrypted, and your data can be intercepted.
Also avoid using simple passwords like 12345678 or qwerty — they will be selected in a few minutes using special programs.
FAQ: Answers to Frequently Asked Questions
Is it possible to find out the password for a Wi-Fi network I've never connected to?
No, Windows 10 Stores passwords only for networks you've connected to before. If the network isn't listed Managing known networks, you will have to look for the password on the router or from the administrator.
Why does the command prompt show a blank password?
This happens in two cases:
- The network is open (no password).
- The profile data is corrupted. Try removing the network from your known connections and reconnecting.
How to save all Wi-Fi passwords to a file?
Use the command in PowerShell (method 4) and redirect the output to a file:
(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:\wi-fi_passwords.csv" -NoTypeInformation -Encoding UTF8
File wi-fi_passwords.csv will appear on the disk C:.
Do these methods work on Windows 11?
Yes, all the methods described (except the path to the configuration files) fully compatible With Windows 11The "Settings" interface may differ slightly, but the functionality remains the same.
Is it possible to find out the password from an Android phone?
On Android There's no built-in way to view passwords (except for rooted devices). However, if the phone has previously connected to this network, the password can be found in the router settings or on the device's sticker.