How to View Wi-Fi Key on a Computer: A Complete Guide

Needing to connect a new device to a wireless network but forgetting the password is a common occurrence. This could be because guests are coming over, you've bought a new smartphone, or you need to set up a smart home. Fortunately, if at least one computer is already connected to the network, restoring access is easy. The Windows operating system stores data about connected networks securely, but any user with administrator rights can access it.

There are several proven methods for retrieving a saved security key. You can use the system's standard graphical interface, the command line for a more in-depth analysis, or access the router's settings. The method you choose depends on your operating system and your access level to the hardware. In this article, we'll cover each option in detail so you can choose the most convenient one.

It is important to understand that to perform most operations you will need administrator rightsWithout them, the system won't allow anyone to view sensitive data, including your Wi-Fi password. This is a basic security feature that prevents data theft by malware or inexperienced users. Therefore, before proceeding, make sure you're logged in to an account with full privileges.

Viewing the password through the Network and Sharing Center

The easiest alternative way to find a saved password is through standard Windows settings. This method is suitable for all modern versions of the operating system, including Windows 10 and Windows 11. You don't need to enter complex commands or install additional software. Simply know the path to the desired window in Control Panel.

To get started, open the Start menu and type in the search phrase "View network connections" or go through Control Panel → Network and Internet → Network and Sharing CenterIn the window that opens, find your active wireless connection. It's usually labeled "Wireless Network" and has the name of your router. Left-click on this name.

A small status window will open, displaying the connection speed and uptime. Here you'll find the button Wireless Network PropertiesClick it to access the security settings. In the new tab, find the "Authentication Method" drop-down list and, most importantly, the "Show entered characters" checkbox.

⚠️ Important: If the "Properties" button is grayed out or hidden, you may be trying to view the password for a guest network or a network connected via Ethernet rather than Wi-Fi. Make sure you've selected a wireless connection.

After checking the box, your password will appear in plain text instead of the dots or asterisks in the "Network Security Key" field. You can copy it manually or select it with your mouse and press Ctrl+C. This method is most secure for one-time use, when you need to quickly recall a forgotten password.

Using the command line to retrieve data

For those who prefer speed and accuracy, using the command line is the ideal solution. CMDThis method not only displays the password for the current network, but also displays a list of all networks ever connected to this computer, along with their keys. This is especially useful if you want to find the password for a network you're not currently connected to, but have connected to in the past.

Launch the command prompt as administrator. To do this, right-click the Start icon and select Windows PowerShell (Admin) or Command Prompt (Admin). First, you need to find out the exact name of the network profile. Enter the command: netsh wlan show profilesIn the "User Profiles" list, find the name of your network.

Now that you know the exact name, enter the following command, replacing "Network_Name" with the name of your router:

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

In the report that opens, scroll down to the "Security Settings" section. Find the "Key Contents" line. The value to the right of the colon is your password. This method works reliably even when the Windows graphical interface crashes.

  • 🔍 This command allows you to see hidden password characters without unnecessary clicks.
  • 📋 You can copy the entire report to the clipboard for analysis.
  • ⚙️ Suitable for remote control via terminal.

Please note that the command syntax is case-sensitive and space-sensitive. If the network name contains spaces, it must be enclosed in quotation marks. Otherwise, the system will return an error and will not be able to find the profile.

Viewing the password through the router settings

If your computer isn't connected to Wi-Fi or you're using a device that doesn't have a password saved, your only option is to access the router's settings. To do this, your device must be connected to the router via Wi-Fi or a LAN cable. You'll need the default gateway IP address and login information for the admin panel.

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 often indicated on a sticker on the bottom of the device. After entering the address, the system will ask for a username and password. By default, this is usually admin/admin or admin/password, if you haven't changed them before.

Router interfaces vary from manufacturer to manufacturer, but the logic is the same. Find the section related to your wireless network. It may be labeled "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Inside, look for the "Security" or "Wi-Fi Settings" subsection. This is where you'll find the "Password," "PSK," or "Wireless Password" field.

What should I do if my router password has been changed and is unknown?

If the default login and password don't work, and you've changed them and forgotten them, you'll need to reset the router to factory settings. To do this, locate the small hole marked "Reset" on the router's case and press it with a paperclip for 10-15 seconds while the router is powered on. After the router reboots, use the information on the sticker.

In this section, you can not only view but also change your password to a more complex one. After saving the settings, all devices will be disconnected from the network, and you will have to re-enter the new key on each one.

Manufacturer Menu section Field name
TP-Link Wireless → Wireless Security Wireless Password
ASUS Additional settings → Wireless network Authentication Method / Pre-Shared Key
D-Link Wi-Fi → Security Settings PSK encryption key
Keenetic My Networks and Wi-Fi → Home Network Password

Windows 10 and 11 Features: New Interfaces

In recent Windows updates, Microsoft has been gradually changing the Settings interface, moving functions from the old Control Panel to the new Settings app. In Windows 11, this process has gone quite far, and the password access path has become slightly different from the traditional one.

To find your password in Windows 11, go to Settings → Network and Internet → Wi-FiHere you'll see a list of known networks. Click "Manage known networks," select the desired one, and click "View" next to the "Network security key" field. The system will request confirmation via PIN or fingerprint (if biometrics are enabled), after which it will display the password.

However, if you have an older version of Windows 10 without the latest updates, this path may look different or be missing. In this case, you can always revert to the classic method via ncpa.cpl (open the network connections window via the "Run" command). This is a universal method that works on all OS versions from Windows 7 to 11.

📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 7 or 8
MacOS / Linux

It's worth noting that Windows 11 also adds the ability to export Wi-Fi profiles to an XML file that contains the password in plaintext, but this requires PowerShell and more complex file manipulation, and is recommended only for advanced users.

Restoring access through third-party programs

There are many utilities designed to manage wireless connections. Programs such as WirelessKeyView from NirSoft, WiFi Password Revealer or Magical Jelly Bean WiFi Password Revealer, can instantly extract all saved keys from the Windows registry. They are convenient because they display the information in a simple table.

Using such programs requires caution. Firstly, they should only be downloaded from the developers' official websites, as antivirus programs often classify them as potentially unwanted software (HackTools) because they expose hidden data. Secondly, they must be run with administrator privileges.

  • 🚀 Instantly view all your saved passwords in one window.
  • 💾 Ability to export the list to a text file or HTML.
  • 🛠️ Useful when reinstalling the system to back up settings.

⚠️ Warning: Be extremely selective when choosing software. Many programs with names like "Wi-Fi Hacker" or "Password Cracker" contain viruses or miners. Use only proven utilities with a good reputation, such as products from NirSoft.

The main advantage of third-party software is the ability to quickly save all passwords before reinstalling Windows. You simply copy the list of keys to a text file, reinstall the system, and then restore access or simply remember the required code.

Problems and their solutions

Users often encounter difficulties when attempting to reset their password. The most common problem is a lack of administrator rights. If you're working on a corporate computer or using a guest account, the system will block access to security settings. In this case, logging in as an administrator is the only solution.

Another common situation is that the "Network Security Key" field is enabled, but the password isn't displayed even after unchecking the "Hide" option. This could be due to Wi-Fi adapter drivers or group policies. Try updating your network adapter drivers through Device Manager or the laptop manufacturer's website.

☑️ Problem diagnosis

Completed: 0 / 4

It's also worth considering that if the computer is connected to a corporate-level network using certificates (WPA2-Enterprise), a simple password may not exist in its usual form. Access is achieved through a domain login and password or a digital certificate stored in the system.

In rare cases, clearing the DNS cache and resetting network settings may help. To do this, run the following command in the command prompt (as administrator): netsh winsock reset, then be sure to restart your computer. This will restore your network settings to their original state.

Is it possible to view the password on a computer if it is not currently connected to Wi-Fi?

Yes, Windows stores profiles of all networks you've previously connected to. Use the command prompt and the command netsh wlan show profile name="Name" key=clearto see the password for a network you're not currently connected to, but have connected to in the past.

Where can I find the password if I have Windows 7?

In Windows 7, the process is similar to newer versions. Go to "Network and Sharing Center," click the name of your wireless network, select "Wireless Network Properties," go to the "Security" tab, and check "Show characters as you type."

Is it safe to use password viewers?

Using trusted utilities (such as those from NirSoft) is safe if downloaded from the official website. However, antivirus programs may flag them as dangerous because they access system data. For one-time use, it's better to use built-in Windows tools or the command line.

What should I do if the password doesn't work after viewing?

The router password may have been changed after your computer saved the old key. In this case, you'll need to either manually enter the new password in the Wi-Fi settings or reset the network settings on your device and reconnect.