How to View Your Wi-Fi Password on Windows 10: A Complete Guide

It's quite common to need to connect a new device to a wireless network but lose or forget the access key. Fortunately, the operating system Windows 10 Stores data about previously used connections. This allows you to quickly restore internet access without physically accessing the router or resetting the hardware.

There are several proven methods for retrieving a saved key: via the graphical interface, the command line, or PowerShell. The choice of a specific method depends on your level of experience and the current situation. Below, we'll cover each method in detail so you can choose the most convenient option.

It is important to note that you will need permissions to perform most of the actions described. administratorWithout the appropriate permissions, Windows Security will prevent you from viewing sensitive network data. Make sure you're logged in with an account that has full access rights.

Using the Windows graphical interface

The simplest and most accessible method, requiring no command line knowledge, is to use the default system settings. This method is suitable if your device is already connected to the desired network or has been connected to it previously. The interface may differ slightly depending on the build version, but the logic remains the same.

First, you need to open the Run window by pressing the key combination Win + R, and enter the command controlIn the Control Panel window that opens, go to "Network and Internet," then select "Network and Sharing Center." Here you'll see your computer's active connections.

Click on the name of your wireless network, which is displayed in blue next to "Connections." A small status window will open, where you need to select the button Wireless Network PropertiesIn the new dialog box, go to the "Security" tab. This is where the information you're looking for is located, hidden by dots by default.

Check the box next to "Show entered characters." The system will instantly replace the asterisks with your real password. Copy it or remember it for future reference. This method is the most secure for regular users, as it eliminates the risk of accidentally changing system files.

☑️ Check your password before viewing it

Completed: 0 / 4

Viewing a password via the command line (CMD)

For more advanced users or in situations where the graphical interface isn't working correctly, the command line is a great option. This method not only allows you to view the password for the current network but also displays the keys for all networks the computer has ever connected to. This is especially useful when reinstalling the system or migrating data.

Launch the Command Prompt as administrator. To do this, right-click the Start button and select the appropriate option from the menu. Enter the command netsh wlan show profiles and press Enter. You'll see a list of all saved profiles. Find the name of the desired network in the list and remember its exact spelling.

Now enter the command to display details for a specific profile. The syntax is:

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

In the displayed list of information, find the line Key Contents (or "Key Content" in the English version). The value to the right of the colon is your password. Please note that if you see an error message instead of a password, your profile may be corrupted or you may not have sufficient permissions.

⚠️ Note: When entering a network name in quotation marks, case is not important, but spaces and special characters must be included. An error in the name will result in a "Group not found" message.
What should I do if the command prompt gives an access error?

If you see an access denied message, try running cmd not just as administrator, but through Task Manager's search. Create a new task, enter cmd, check the "Run with administrator privileges" box, and click OK. This bypasses some Group Policy restrictions.

Using PowerShell to retrieve data

PowerShell is a more powerful alternative to the classic command line. It allows for scripting and more complex filters for data retrieval. While its functionality is overkill for simply viewing a password, knowing this method is useful for system administrators managing a fleet of computers.

Open PowerShell with administrator privileges. Enter the following command, which will automatically find the profile and display only the password line:

(netsh wlan show profile name="Network_Name" key=clear) | Select-String"Key Contents"

If you don't know the exact profile name, you can output a list of all profiles and their passwords to a text file. This is useful for backing up all network settings before reinstalling Windows. The command will create a file wifi_passwords.txt on the desktop.

  • 📁 Open PowerShell as administrator.
  • 📝 Enter the command to export: netsh wlan export profile key=clear folder=C:\.
  • 🔍 Go to the root of the C: drive and find the XML files with the network names.
  • 👁️ Open the desired file using Notepad and find the tag .

Text inside the tag keyMaterial and there's your password. This method is good because the data is structured and easy to read, even for a novice, if you know where to look. However, remember to delete these files after use, as they store passwords in cleartext.

Checking the password through the router settings

If the computer isn't connected to the network or the Windows data is corrupted, the only reliable option is to configure the router itself. This requires physical access to the router or a LAN cable connection. You can also connect via Wi-Fi if the device already knows the password, but we need the key itself for other devices.

Open any browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address is indicated on the sticker on the bottom of the device. Enter your username and password to access the control panel. By default, this is often admin/admin, but it’s better to check the documentation.

Router brand Standard IP Wi-Fi password path Default Login
TP-Link 192.168.0.1 Wireless -> Wireless Security admin
ASUS 192.168.1.1 Wi-Fi Network -> General admin
D-Link 192.168.0.1 Wi-Fi -> Security Settings admin
Keenetic 192.168.1.1 Home network -> Wi-Fi network admin
Tenda 192.168.0.1 Wireless Settings -> Security admin

In the router interface, find the section responsible for the wireless network (Wireless or Wi-Fi). Inside, look for the "Security" subsection. The "Password/Key" field will contain the combination you're looking for. You can also change the password to a more complex one here if you suspect unauthorized access.

📊 What brand of router do you have?
TP-Link
ASUS
D-Link
Keenetic
Another

Possible problems and their solutions

Despite the simplicity of these methods, users often encounter technical difficulties. One common issue is the missing or inactive "Properties" button. This often occurs when connecting through corporate networks or guest access points, where management settings are centrally locked by the domain administrator.

Another situation is when CMD commands return the error "Element not found." This means the computer has never successfully connected to this network, or the profile has been deleted from the registry. In this case, it's impossible to recover the password using Windows tools, and you'll have to resort to configuring the router or resetting it.

⚠️ Note: If you're using public Wi-Fi at a cafe or airport, you won't be able to view the password through Windows, as authorization occurs through a web portal (Captive Portal), not through a saved WPA2 key.

It's also worth mentioning the encoding issue. In some rare cases, especially on systems with a changed locale or limited versions of Windows, commands may appear as gibberish. The solution is to change the console encoding with the command chcp 866 or chcp 65001 before executing the request.

Wireless network security measures

Once you've regained access, it's time to consider security. Passwords stored in plaintext on the system can be read by malware. Regularly changing access keys and using complex character combinations significantly reduce the risk of hacking.

Use an encryption protocol WPA2-Personal or WPA3Older WEP and WPA-TKIP standards are considered obsolete and easily cracked. Make sure your router settings are configured to use a modern security standard.

  • 🔒 Use a password that is at least 12 characters long.
  • 🔢 Combine uppercase and lowercase letters, numbers, and special characters.
  • 🚫 Don't use dictionary words or birth dates.
  • 🔄 Change your Wi-Fi password at least once every six months.

Remember that knowing how to view a password comes with responsibility. Never grant access to your network to unauthorized persons, and monitor the list of connected clients in the router control panel.

Is it possible to find out someone else's Wi-Fi password?

Technically, brute-force password cracking programs exist, but their use without the network owner's permission is illegal and violates computer security laws. These methods are intended solely for restoring access to one's own networks.

Frequently Asked Questions (FAQ)

Where can I find my password if I've never changed it?

If you've never changed your router settings, the default password is printed on a sticker on the bottom of the device. Look for the words "Wireless Password," "WPA Key," or "PIN."

Why does Windows say "Cannot display characters"?

This happens if your account doesn't have administrator rights. You'll need to log in as an administrator or ask the computer owner to enter the password for you.

Is it possible to see the password for a network I'm not connected to right now?

Yes, if the computer has previously successfully connected to this network and saved the profile. Use the command netsh wlan show profile to view a list of all saved networks.

What should I do if I forgot my router admin password?

If the default admin/admin password isn't working, you'll need to reset the router to factory settings (press the Reset button). This will reset all settings, including the Wi-Fi password, to the factory defaults (as indicated on the sticker).

Is it safe to save a password in Windows?

This is safe for home use. However, on computers or in offices with poor physical security, it's best not to save passwords or use guest access.