It's quite common to need to connect a new gadget to a wireless network but have forgotten the password. In the operating system Windows 10 Saved access keys are securely hidden from prying eyes by default, which is an important security measure. However, the device owner always has access to this information, and forgotten keys can be recovered using several proven methods.
In this article, we'll cover in detail how to view the Wi-Fi password on a computer connected to a router using standard system tools. You'll learn how to find hidden characters through the graphical interface and the command line, allowing you to quickly restore network access without resetting the router.
It's important to understand that you must have administrator privileges to perform these actions. If you're using a guest account or a restricted user profile, the system may prompt you for confirmation or simply prevent you from changing security settings. Make sure your device is already connected to the target network or has connected to it before, as Windows only stores data about networks you've previously connected to.
Finding a password through the Windows graphical interface
The easiest and most accessible way to find a forgotten access key is to use the standard operating system settings. This method doesn't require memorizing complex commands and is suitable even for inexperienced users. It only takes a few clicks to reach the required menu.
First, you need to open the Network and Sharing Center. To do this, locate the Wi-Fi icon in the lower-right corner of the screen, on the taskbar. Right-click it and select "Open Network and Internet Settings." In the window that opens, scroll down and find the "Network and Sharing Center" link.
In the Control Center, you'll see an active connection. Click the blue link with the name of your wireless network. A small status window will open, where you should select "Wireless Network Properties." Then, go to the "Security" tab. The required characters are hidden here, in the "Network Security Key" field. Check the "Show characters" box, and the password will become visible.
If you have multiple network profiles installed, make sure you're viewing the properties of the specific network for which you need to find the password. Sometimes users confuse guest networks with primary networks, which can lead to confusion. It's also worth remembering that on corporate networks, access to these settings may be blocked by group security policies.
Using the command line to extract data
For those who prefer faster methods or can't use the graphical interface, the command line is an excellent solution. This tool allows you to obtain system information directly, bypassing numerous settings windows. This method works reliably in all builds. Windows 10 And Windows 11.
To get started, launch Command Prompt as an administrator. Right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)." In the black window that opens, enter the following command to list all saved Wi-Fi profiles on your computer:
netsh wlan show profiles
After pressing Enter, you'll see a list of all networks this PC has ever connected to. Find the desired name (SSID) in the list. Next, enter the command to display a specific profile. Replace "Network_Name" with the exact name of your router:
netsh wlan show profile name="Network_Name" key=clear
In the resulting report, find the "Security Settings" section. The "Key Contents" line will contain the password you're looking for in clear text. This method is especially useful if the graphical interface is malfunctioning or freezing.
What if the network name contains spaces?
If your network name contains spaces, be sure to enclose the name in quotation marks when entering the command. For example: netsh wlan show profile name="My Home Wi-Fi" key=clear . Without quotation marks, the system will only interpret the first word as a command.
Viewing saved networks in PowerShell
A powerful alternative to the standard command line is the shell. PowerShellIt provides more flexible options for managing network interfaces and can be useful in situations where standard utilities don't provide a complete answer. Working with PowerShell requires a little more attention when entering syntax.
Launch PowerShell with administrator privileges. To list profiles, you can use the same command as in CMD, as PowerShell supports most legacy commands. However, for more detailed analysis, you can use specific cmdlet commands, although for simply viewing a password, the standard syntax is sufficient. netsh.
If you want to see all the properties of a profile, including the encryption type and security protocol version, the command netsh wlan show profile name="SSID" key=clear It also works great in PowerShell. Pay attention to the authentication type: if used WPA2-Personal or WPA3, the password will be displayed in text form if you have administrator rights.
Analysis via router settings
If you can't access your computer with a saved password, but you have physical access to the router or a cable connection, you can configure the device itself. You can access the router's control panel through a browser.
In the browser's address bar, enter the IP address of the default gateway. Most often, this is 192.168.0.1 or 192.168.1.1The exact address can be found by running the command ipconfig In the command line, look at the "Default gateway" line. You'll need the router administrator's login and password to log in.
After logging in, go to the Wireless or Wi-Fi section. There, under the "Security" or "WLAN Settings" subsections, you'll see your current password. The advantage of this method is that you can not only view the password but also change it to a more complex one if you suspect someone is accessing your network.
⚠️ Please note: If you change the password in your router settings, all connected devices will automatically disconnect from the network. You will need to re-enter the new access key on each smartphone, tablet, and laptop.
Comparison table of recovery methods
To help you choose the best method for accessing your network data, we've prepared a comparison chart. It will help you quickly determine which method is best for your specific situation.
| Method | Necessary rights | Complexity | Network connection required |
|---|---|---|---|
| Graphical interface | User | Low | Yes (to be displayed in status) |
| Command Prompt (CMD) | Administrator | Average | No (only profile presence) |
| PowerShell | Administrator | Average | No (only profile presence) |
| Router panel | Router admin | High | Yes (cable or Wi-Fi) |
As the table shows, the command line is the most versatile tool, requiring no active internet connection at the time of the request; a saved profile in the system's memory is sufficient. The graphical method is simpler, but requires the computer to at least formally "see" the network or be connected to it.
☑️ Check before resetting settings
Restoring access via factory reset
As a last resort, if none of the software methods help, or you've forgotten the router's password for accessing the settings, there's a more radical option: a factory reset. There's a small button on the device's body. Reset, often recessed into the body.
To reset, press this button with a thin object (such as a paperclip or a needle) and hold it for about 10-15 seconds until the indicators flash simultaneously. After the reset, the router will return to the factory settings indicated on the sticker on the bottom of the device. The default Wi-Fi password will also be listed there.
This method completely deletes all user settings: network name, password, and provider settings (PPPoE, L2TP, etc.). Therefore, before using this method, make sure you have a contract with your provider or the necessary internet settings, otherwise you will be left without internet access.
⚠️ Please note: Resetting your router is a last resort. Make sure you can reconfigure your internet connection, as after resetting, the router will function as a new device without any provider configuration.
Frequently Asked Questions (FAQ)
Is it possible to find out a Wi-Fi password if the computer is not currently connected to this network?
Yes, you can. Windows 10 stores profiles of all networks you've previously connected to. Using the command prompt and the command netsh wlan show profile, you can retrieve the password from the saved profile, even if the cable is pulled out right now or the router is turned off.
What should I do if the command line says "Access denied"?
This means you launched Command Prompt or PowerShell without administrator privileges. Close the window, right-click the Start icon (or search for "CMD"), select "Run as administrator," and re-enter the command.
Where can I find my password if I'm using macOS?
On Apple computers, the password is stored in Keychain Access. Open Keychain Access, find your network name in the list, double-click it, and check the "Show password" box. The system will ask for your Mac account password to confirm.
Is it safe to use third-party password viewers?
Using third-party software (such as WirelessKeyView) carries certain risks. Such programs are often flagged by antivirus software as potentially unwanted programs because they access critical system data. It's better to use the built-in Windows tools described in this article.
Is it possible to find out the password for someone else's Wi-Fi network if I haven't connected to it?
No, this cannot be done legally. The methods described only work with profiles that were already saved on your device after successful authorization. Hacking other people's networks is illegal.