It's a common situation to need to connect a new device to your home network but hopelessly forget the security key. Fortunately, the operating system Windows 10 Stores passwords for all networks you've ever connected to. This eliminates the need to reset your router or search for your ISP contract to restore access.
In this article, we'll detail several methods for retrieving a saved key. You can use both the system's graphical interface and more advanced tools like the command line. All methods described are safe and don't require installing third-party software.
Before you begin, make sure the computer you plan to use to find the password is already connected to the desired network or has connected to it before. If the device has never connected to this network before, Wi-Fi, it will not be possible to find out the key using standard means, since Windows simply does not have this information in memory.
The easiest way is through network settings
The most accessible option for most users is to use the standard wireless network properties window. This method does not require knowledge of complex commands and is available to any PC owner. Windows 10.
First, open the Network and Sharing Center. Right-click the Wi-Fi or computer icon in the lower-right corner of the screen (in the notification area) and select "Open Network & Internet Settings." In the window that opens, find the "Network and Sharing Center" link, or search for "Network Status" in the Start menu and click the corresponding link.
In the network status window, you'll see an active connection. Click the blue link with the name of your wireless network. A small "Wireless Network Connection" window will open, displaying the connection speed and duration. Here, we're interested in the "Wireless Properties" button.
After clicking the button, a dialog box will open with the "Connection" and "Security" tabs. Go to the tab SecurityIn the center of the screen, you'll see the "Network Security Key" field, where the characters are hidden by asterisks. To see them, check the "Show entered characters" box.
Once the masking is removed, you'll see your password in plain text. You can copy it or rewrite it. This method works reliably as long as you're in range of the network.
Using the Command Prompt for Advanced Users
For those who prefer working with code or need quick access to information without unnecessary clicks, the command line is ideal. netsh Allows you to manage Windows network settings and can display saved keys.
Launch the Command Prompt as administrator. To do this, right-click the Start menu and select Windows PowerShell (Admin) or Command Prompt (Admin). In the window that opens, enter the following command to see a list of all saved profiles:
netsh wlan show profiles
The system will display a list of all networks the computer has connected to. Find the exact name of the desired network in the "User Profiles" column. Next, enter the command to display detailed information about a specific profile, replacing "Network_Name" with your own name:
netsh wlan show profile name="Network_Name" key=clear
In the list of options that appears, scroll down to the "Security settings" section. We're interested in the "Key Content" line. This is where the password you're looking for will be located.
- 🔍 The command only works if the network profile is saved in the system.
- ⚙️ Administrator rights are required to run the command.
- 📝 The network name in the command must be enclosed in quotation marks if it contains spaces.
What to do if the command returns an error?
If you receive an error message when entering a command, check the spelling of the network name. It must match every character, including case and spaces. Also, make sure you are running the console as an administrator.
Viewing your password through the Control Panel
Classic Control Panel in Windows 10 It still contains tools useful for diagnosing and configuring networks. This method is similar to the first one, but it's accessed through system applets, which may be more convenient on some OS builds.
Open Control Panel (you can find it by searching in the Start menu). Set the view to "Large icons" and select "Network and Sharing Center." The next step is identical to the first method: click the name of your active network -> "Wireless Network Properties" -> "Security" tab -> check "Show characters as you type."
The advantage of this method is that it works even in Safe Mode with Networking, where modern settings menus may be unavailable or not work correctly.
⚠️ Attention: The Control Panel interface may vary slightly across different versions of Windows 10 (Home, Pro, Enterprise) or after major system updates. However, the navigation logic remains the same.
If you're connected to a network via an Ethernet cable but want to find out the password for a Wi-Fi network your computer has previously connected to, this method will also work, as it accesses a database of saved profiles, not just the active connection.
Working with multiple network profiles
Computers often store information about dozens of networks: home, office, cafes, and friends' networks. Managing these profiles allows you not only to view passwords but also to delete old or unnecessary entries, which can speed up connection in familiar places.
Using the command line, you can list all profiles and delete those that are no longer relevant. This is useful if the system is trying to connect to a weak neighbor's network with a similar name to yours.
To delete a profile, use the command:
netsh wlan delete profile name="Network_Name"
Once deleted, the profile will disappear from the list, and you'll need to re-enter the password to reconnect. Be careful when doing this to avoid accidentally deleting your home network information.
- 🗑️ Deleting a profile does not affect the router settings.
- 💾 Before deleting important profiles, you can export their settings.
- 🔄 Once deleted, the network will behave as new the next time you connect.
Table: Comparison of password retrieval methods
To make it easier for you to choose the right option, we have systematized the main characteristics of the methods considered in the table below.
| Method | Complexity | Admin rights required | Speed |
|---|---|---|---|
| Through network settings | Low | No (usually) | High |
| Command line | Average | Yes | Very high |
| Control Panel | Low | No | Average |
| Third-party software | Low | Depends on the software | High |
As the table shows, graphical methods are best for a one-time procedure. However, for system administrators or when working with a large number of profiles, the command line (netsh) is the undisputed leader in terms of efficiency.
Possible problems and their solutions
Sometimes users encounter difficulties when attempting to reset their password. This is most often due to access rights restrictions or corporate security policies.
If the "Show entered characters" checkbox is grayed out and cannot be checked, your account does not have permission to view the security key. In this case, you will need to log in as an administrator.
⚠️ Attention: On computers connected to an organization's domain, security policies may prevent even administrators from viewing passwords. In this case, contact your company's system administrator.
Another common issue is the absence of the desired network in the list of saved networks. If you've never connected to this network from this computer, or if the profile was deleted (manually or due to an error), you won't be able to recover the password using Windows. In this case, the only solution is to access the router interface or the physical sticker on the device.
☑️ Checklist before starting work
FAQ: Frequently Asked Questions
Is it possible to find out the Wi-Fi password if the computer is not connected to it?
No, it's impossible to view the password for a network the device has never connected to and doesn't have a saved profile using standard Windows tools. The system simply doesn't store this information.
Is it safe to use third-party password recovery programs?
Using unknown software carries risks. Many programs that promise to "hack" or "reveal" passwords may contain malicious code. It's better to use built-in Windows tools, such as netsh.
Where can I find the password if I reset the router to factory settings?
After the reset, your old Windows passwords will no longer work. You'll need to look at the password sticker on the bottom of the router (if it hasn't been changed) or access the router settings through a browser using the default login and password (usually admin/admin).
Why are there dashes or an error instead of a password in the command line?
Most likely you forgot to add the parameter key=clear at the end of the command or you entered the profile name incorrectly. Also, check if the console is running as an administrator.
Is it possible to find out the password for the guest network?
Yes, if your computer connected to a guest network and saved this profile, you can reset its password using the same methods as for the main network, provided you have administrator rights.