Forgot your WiFi password: How to find it in Windows 10

It's quite common to need to connect a new device to the network but lose the access key. Many users who have forgotten the password immediately consider resetting the router, but there's no need to rush. Operating system Windows 10 Stores passwords for all networks to which the computer has ever connected.

This happens automatically: after the first successful data entry, the system saves it in a special protected profile. Even if you haven't used your laptop in a while or reinstalled the operating system without completely wiping the disk, information could remain in the registry or configuration files. Microsoft provided several levels of access to this data for the user's convenience.

In this article, we'll cover all current methods for retrieving stored keys. You'll learn how to find them through the graphical interface, use console commands, and check cloud storage. The encryption key is stored in the system in encrypted form, but Windows can display it in an open format for an authorized user.

Finding a password through the Windows graphical interface

The easiest way to recover forgotten data is to use standard network management tools. This method works if your device is currently connected to Wi-Fi or was previously connected and has saved the profile. You won't need to install additional software or enter complex commands.

To begin, open the Network and Sharing Center. Right-click on the icon Wi-Fi in the system tray (near the clock) and select "Open network and Internet settings." In the window that opens, find the "Network and Sharing Center" link or go directly to "Change adapter settings." This displays all active connections on your computer.

Find your wireless connection icon and double-click it. A status window will open, where you should click "Wireless Network Properties." Go to the "Security" tab. This is where the field you're looking for is located. To see hidden characters, check the "Show characters" box.

Please note that this method may not work on some corporate networks or when using specific encryption protocols. In such cases, the system will require super administrator privileges or the use of alternative tools. However, for home networks WPA2-Personal This method is effective in 99% of cases.

Using the command line to recover the key

If the graphical interface isn't answering your questions, or you prefer working with code, the command line is a powerful tool. Command line (CMD) allows you to interact directly with Windows network profiles. This method is especially useful if you need to find the password for a network to which your computer isn't currently connected but the profile is saved.

Run the command prompt as administrator. To do this, click Win + X and select the appropriate item from the menu or find cmd in the search. First, you need to find out the exact name of the saved profile. Enter the command:

netsh wlan show profiles

In the "User Profiles" list, find the name of your network. Copy it exactly, including spaces and case. Next, use the command to display the profile details, adding the parameter key=clear, which tells the system to show the key in clear text:

netsh wlan show profile name="Your_Network_Name" key=clear

In the "Security Settings" section, find the "Key Contents" line. This will be your password. This method works even if the network adapter is temporarily disabled, as long as there's a saved profile in the system.

⚠️ Important: Be careful when entering the network name in quotation marks. If the name contains spaces, the quotation marks are required, otherwise the command will return a syntax error.

☑️ Check before entering a command

Completed: 0 / 4

Viewing passwords using PowerShell

Modern shell PowerShell Offers more flexible system management options than the classic console. It allows you not only to display the password but also to export the configuration to a file or process a list of networks with a script. For the average user, the difference from CMD is minimal, but the syntax may differ.

Open PowerShell with administrator privileges. Enter the command to get the profile, similar to the one used in CMD, as netsh works here too:

netsh wlan show profile name="Network name" key=clear

An alternative, more complex way is to use PowerShell cmdlets to work with XML profile configurations, but for the quick task of viewing a password, use netsh within PowerShell is the most rational solution. The system will return the same result in the "Key Contents" section.

It's important to understand that PowerShell requires precision when typing commands. If you misspell a cmdlet name, the system will suggest similar options, but it's best to duplicate network commands from a trusted source. This tool is especially useful if you plan to automate the process of restoring settings on multiple computers.

Checking Microsoft Cloud Storage

In the operating system Windows 10 And Windows 11 Settings sync has been implemented. If you sign in with a Microsoft account and sync is enabled, your Wi-Fi passwords can be saved in the cloud. This allows you to easily restore access on new devices without re-entering your passwords.

How to check if a key is in the cloud:

  • 🌐 Go to the official Microsoft account website and select the "Devices" section.
  • 🔍 Find the section related to synchronization or network settings (functionality may vary).
  • 📱 Check your connected devices to see if the password may have been saved previously.

Unfortunately, there's no direct access to a list of all passwords through the Microsoft web interface; this feature was removed for security reasons. However, if you have another computer or tablet where you've previously signed in to this account and connected to the network, your password may be automatically retrieved from there when you try to connect.

Why did passwords disappear from the cloud?

Previously, Microsoft allowed users to view saved keys on the website. Due to increasing instances of account hacking and data leaks, the ability to view keys through a browser was removed. Synchronization now only works in the background between the user's trusted devices.

Make sure "Sync Settings" is enabled on all your devices. Without it, your keys will remain local and won't be accessible from other devices. This is an important aspect of the ecosystem. Windows, which is often forgotten during initial setup.

Resetting and configuring the router as a last resort

If none of the software methods work and no devices have network access, the only solution is to physically access the router. The factory password is often found on a sticker on the bottom of the device. If the password has been changed and forgotten, you'll have to perform a factory reset.

Find the button on the router body Reset (often recessed into the case). Press it with a paperclip and hold for 10-15 seconds until the indicators blink. After rebooting, the router will return to factory settings.

Parameter Default value Where to find
IP address 192.168.0.1 or 1.1 On the sticker below
Login admin On the sticker or in the instructions
Password admin / 1234 On the sticker or in the instructions
SSID (WiFi) Model name On the sticker below

After the reset, connect to the network with the name indicated on the sticker (the password is also there). Then open a browser, enter the router's IP address (usually 192.168.0.1) and set new security settings. Be sure to write down the new password in a safe place.

⚠️ Warning: Resetting your router will result in the loss of all settings, including provider settings (PPPoE, L2TP). Make sure you have your contract with your provider and login information before resetting.

Third-party programs and data security

There are many utilities that can "hack" or reveal any password. Programs like WirelessKeyView NirSoft's tools can actually extract saved keys from the Windows registry, but using them carries risks. Antivirus software often flags such tools as HackTool or potentially unwanted software.

Using third-party software is only justified if standard Windows tools are damaged or unavailable. Download such utilities only from the developers' official websites. Avoid using cracked versions of password recovery programs, as they often contain Trojans.

  • ⚠️ Free utilities often contain ads.
  • 🔒 Your antivirus may be blocking the recovery program from launching.
  • 💾 Always check files with hash sums before running.

The security of your data depends on your caution. If you've recovered your password, it's best to immediately change it to a more complex one in your router settings and save it in a password manager. Using the same password on all your devices is a bad practice.

📊 Where do you usually store your WiFi passwords?
On a piece of paper
In phone notes
I remember
In the password manager

Frequently Asked Questions (FAQ)

Is it possible to find out the WiFi password if I have never connected to this network from this PC?

No, Windows can't guess passwords. If the computer has never connected to the network and hasn't received the key through account sync, it's impossible to find the password programmatically. You'll need access to the router or other device where the password is stored.

Why is the "Show entered characters" field grayed out and inactive?

This is an access restriction. You must be logged in to the system as an administrator. If you are working under a user account, the system will not allow you to view security keys for security purposes.

Is my password saved if I reinstall Windows?

A clean installation with disk formatting deletes all local profiles. However, if you used a Microsoft account and enabled sync, the network profile may be downloaded from the cloud after signing in.

Do these methods work on Windows 7 and 8?

Yes, the principles of working with the command line (netsh) and the graphical interface for wireless network properties are identical for Windows 7, 8, 10, and 11. The interface may differ slightly visually, but the logic of actions remains the same.