How to View Your WiFi Password on Your Computer: A Complete Guide

Many users are familiar with the situation of needing to connect a new device to their home network but completely forgetting the Wi-Fi password. Fortunately, if your computer or laptop is already successfully connected to a wireless network or has connected to one before, the operating system stores this data in encrypted form. This makes it easy restore access to the security key without having to reset the router or look for a contract with the provider.

There are several proven methods for extracting this information, ranging from the standard Windows graphical interface to more advanced command-line methods. The choice of a specific method depends on your operating system version, the level of access to the device, and personal preference. In this article, we'll cover all the current options in detail.

It is important to understand that to complete most of the steps below you will need administrator rights on the computer. Without the appropriate rights, the system will not allow viewing saved security keys to protect user data from unauthorized access by third parties or malware.

Viewing the password through the Windows Network and Sharing Center

The easiest alternative way to find a saved password is to use the built-in tools of the Windows operating system. This method is suitable for most users, as it doesn't require complex commands or third-party software. Simply navigate through the network settings menu.

To get started, open the Start menu and go to Settings, or right-click the network icon in the system tray (near the clock) and select "Network and Internet Settings." Next, find the "Network and Sharing Center" link. In the window that opens, find your active wireless connection and click its name.

In the status dialog box that appears, click "Wireless Network Properties." Then, switch to the "Security" tab. This is where the key you're looking for is hidden. By default, it's hidden behind asterisks, but there's a checkbox next to "Show characters as you type." Check it to see the characters.

  • 🔹 Right-click on the Wi-Fi icon in the tray.
  • 🔹 Select "Open Network & Internet Settings".
  • 🔹 Go to "Network and Sharing Center".
  • 🔹 Click on your network name and select "Wireless Network Properties".

It's worth noting that this method only works for the network the computer is currently connected to. If you want to find the password for a network you've connected to in the past but the connection is currently inactive, this method won't work directly, and you'll have to use other methods.

⚠️ Important: If the "Security" tab is missing or the menu items are grayed out, check if your account has administrator rights. Without them, the system will restrict access to critical security settings.

📊 What is your current Wi-Fi connection status?
I'm connected right now
The network was there before, but is not active now.
I can't connect at all.
I use wired internet

Using the command line to recover the key

For more advanced users or in cases where the graphical interface does not work correctly, using the command line is ideal. CMDThis method allows you to access the database of saved WiFi profiles and retrieve the password in cleartext. It is universal and works on all modern versions of Windows.

First, you need to launch the command prompt as an administrator. To do this, type "cmd" in the search bar, right-click "Command Prompt," and select the appropriate option. The first step is to enter the command to display all saved profiles: netsh wlan show profilesIn the list, you will see the names of all networks to which the computer has ever connected.

Once you have found the desired network name (SSID), use the following command to display the profile details, including the password: netsh wlan show profile name="Network_Name" key=clearPlease note that the network name must be written in quotation marks if it contains spaces. The password you are looking for will be displayed in the "Key Contents" line in the "Security Settings" section.

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

This method is useful because it allows you to quickly copy the password or use it immediately. It also displays additional technical details, such as the encryption type (WPA2-Personal, WPA3, etc.) and authentication type, which can be useful when diagnosing problems with the connection of new devices.

Viewing passwords using PowerShell

An alternative to the classic command line is a more powerful tool - PowerShellIt offers the same capabilities, but with a more flexible syntax and the ability to automate processes. For regular users, the difference is minor, but PowerShell often runs faster and more stable on newer versions of Windows 10 and 11.

Launch PowerShell as administrator from the Start button context menu. The command to display all profiles remains the same: netsh wlan show profilesHowever, to immediately obtain the password for a specific network, you can use the same construct as in CMD, since PowerShell supports running netsh system commands.

For those who prefer native PowerShell commands, there's a scripting approach, but it's more difficult for beginners. The easiest way is to use the built-in search function for command output. Enter the command to display the profile and add a filter, although standard netsh output in PowerShell is just as easy to read as in CMD.

  • 🔸 Open PowerShell via Windows search (Win + S).
  • 🔸 Enter the command to view all profiles: netsh wlan show profiles.
  • 🔸 Find the exact name of the desired network in the list.
  • 🔸 Enter the command with the clear key to display the password.

Using PowerShell is especially convenient if you plan to save the results to a text file for later analysis or sharing with another specialist. This is done by adding the following construct: > filename.txt at the end of the command.

⚠️ Important: When entering commands, pay close attention to your keyboard layout. Characters in network names and commands must be entered strictly using the English keyboard layout, otherwise the system will return a syntax error.

☑️ Check before entering commands

Completed: 0 / 5

View the password through the router's web interface

If your computer isn't connected to Wi-Fi right now, but you have access to the router via cable or can connect to its network (even without internet), you can find the password in the device's settings. To do this, log in to web interface router.

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 usually written on a sticker on the bottom of the device. You will need to enter your username and password to access the admin panel (admin/admin or the information on the sticker).

After logging in, find the section responsible for your wireless network. It may be labeled "Wireless," "Wi-Fi," "Wireless Network," or "WLAN." Within this section, under the "Security" or "Basic Settings" subsections, you'll find a field with your current password (Wireless Password, Pre-Shared Key).

Router brand Typical IP address Menu section Password field name
TP-Link 192.168.0.1 Wireless -> Wireless Security Wireless Password
ASUS 192.168.1.1 Wireless network Authentication Method / WPA Key
D-Link 192.168.0.1 Wi-Fi -> Security Settings PSK encryption key
Zyxel 192.168.1.1 Network -> Wireless LAN Pre-Shared Key

Interfaces may vary between manufacturers, but the logic remains the same: look for the section related to wireless connection and security. If you've changed your router admin password and forgotten it, you'll have to reset the device to factory settings, which will require a complete internet reset.

What to do if the router's IP address is not accessible?

Make sure your computer is connected to the router via cable or Wi-Fi. Check if your antivirus software is blocking access. Try opening a command prompt, entering ipconfig, and finding the "Default Gateway" address—this is the router's address.

Third-party password recovery utilities

There are many specialized programs that automate the process of extracting saved passwords. They scan the registry and Windows system files, finding keys for all networks ever connected. One of the most popular and proven tools is the utility WirelessKeyView from NirSoft.

This program requires no installation, is free for personal use, and immediately displays a list of all networks, their encryption type, and cleartext passwords. Simply run the executable file as administrator. All data can be exported to a text or HTML file for easy storage.

However, using third-party software always carries certain risks. Antivirus programs may detect such programs as HackTool or PasswordRecovery as potentially unwanted programs, as they exploit legitimate but sensitive system functions to extract data.

  • 🔹 Download programs only from the developers' official websites.
  • 🔹 Be sure to scan files with an antivirus before launching.
  • 🔹 Use portable versions to avoid cluttering your registry.
  • 🔹 Remove utilities immediately after use for security purposes.

If you're unsure of the program's source or are concerned about viruses, it's best to use the built-in Windows tools described in the previous sections. They're completely safe and don't require downloading executable files from the internet.

⚠️ Note: Router interfaces and operating system versions are regularly updated. The location of menu items or the exact names of commands may change slightly. If you don't find the item you're looking for, look for a similar one in your device's settings.

Restoring access on macOS

Apple Mac users may also need to know their Wi-Fi password. In macOS, this information is stored in Keychain Access, a secure password storage system that also requires administrator permissions.

To view your password, open Keychain Access. You can find it via Spotlight (Cmd + Space) or in the Applications -> Utilities folder. In the list on the left, select the "System" or "iCloud" category, then find the name of your wireless network in the list on the right.

Double-click the network name to open its properties. In the window that opens, check the "Show password" box. The system will prompt you to enter your Mac user account password or request confirmation via Touch ID. Once successfully authenticated, the password will appear in the text field.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if the computer is not connected to it?

Yes, this is possible if your computer has connected to this network before. Windows saves profiles for every network you've ever connected to. Use the command netsh wlan show profiles in the command line to see a list of all saved networks, and then apply the command with the key key=clear for the desired one.

Why does the netsh command give the error "The requested WLAN service is not running"?

This error means that the Windows Wireless Network Manager service is disabled or stopped. Press Win + R, enter services.msc, find "WLAN AutoConfig" in the list, double-click on it and click "Start", selecting the startup type "Automatic".

Are password recovery programs safe to use?

Using trusted utilities from reputable developers (such as NirSoft) is safe. However, many antivirus programs flag them as "RiskWare" or "HackTool" because they allow you to bypass OS protection. This is a false positive, but such programs should only be used on trusted devices.

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

If the default login and password (often admin/admin) don't work and you've changed them but forgotten them, you can't restore them using software. The only solution is to reset the router to factory settings (use the Reset button on the router). After that, you'll need to configure the router again, just as you did when you first turned it on.

Where is the Wi-Fi password physically located if I never changed it?

The factory password (if it hasn't been changed) is almost always printed on a sticker on the bottom or back of the router. Look for fields labeled "WPA/WPA2 Key," "Wireless Password," or simply "Password." The default SSID (network name) is also listed there.