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

It's quite common to need to connect a new device to a wireless network but have forgotten the access key. Owners of laptops and desktop computers running Windows 10 Often find themselves confused, not knowing exactly where this confidential information is stored on the system. Fortunately, Microsoft's operating system provides several built-in mechanisms for restoring this data without having to reset the router.

In this material we will examine in detail all the current methods that allow Look at the Wi-Fi password directly on the connected computer. You'll learn how to use the graphical interface, the command line, and even third-party utilities to accomplish this task. It's important to understand that only users with administrator rights can access this data, as this is a network security issue.

Before we dive into the technical details, it's worth noting that the success of this operation depends on the current connection status. If your PC has successfully connected to the desired access point at least once and saved the network profile, extracting the key will be straightforward. Otherwise, if the profile has been deleted or the computer has never connected to the network, it won't be possible to recover the forgotten combination using standard Windows tools.

Viewing a saved password through a graphical interface

The simplest and most accessible method for the average user is to use the standard operating system settings. This method doesn't require knowledge of complex commands and is suitable even for those facing the need to restore access for the first time. The procedure is universal for most operating systems. Windows 10, regardless of the update version.

To get started, you need to open the quick action menu or go to network settings. Right-click the Wi-Fi icon in the system tray (near the clock) and select Open Network & Internet SettingsIn the window that opens, find the link Network and Sharing Center, which is usually located at the bottom of the "Status" section. This is where the main connection settings are located.

⚠️ Attention: If you're using a touchscreen laptop or tablet, the interface may differ slightly. In this case, look for the "Properties" option directly under the name of your active Wi-Fi network in the main settings menu.

In the Network and Sharing Center, you'll see an active connection. Click the blue link with the name of your wireless network (it's to the right of "Connections"). A small status window will open, where you need to click the button. Wireless network properties. Next, go to the tab Security and check the box next to the item Show entered charactersThe system may request confirmation of administrator rights, after which hidden characters will be converted to readable text.

📊 Which password recovery method do you find more convenient?
Through Windows settings
Via the command line
Via a router
Using third-party programs

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 console is ideal. Command line (CMD) or PowerShell provide direct access to network profiles stored on the system. This method is especially effective when you need to find the password for a network to which the computer is not currently connected, but for which a profile is saved.

The first step is to launch the console as an administrator. Press the key combination Win + X and select Windows PowerShell (Administrator) or search for "cmd", right-click and select Run as administratorThe first step is to find out the exact name of the network profile. Enter the command:

netsh wlan show profiles

Find the name of the desired network in the list. Then use the following syntax, substituting the name of your profile:

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

Find the line in the command output Key content (or Key Content), where the password you're looking for will be specified. This method is secure and works even in safe mode, when the graphical shell may be unavailable.

☑️ Check before entering a command

Completed: 0 / 4

It's worth noting that the command syntax is case-sensitive and space-sensitive. If the network name contains spaces, quotation marks are required, otherwise the system will return an error. Also, the command netsh allows you to control many other wireless communication parameters, which makes it a powerful tool in the hands of a system administrator.

View passwords for all saved networks

Often, you need to see not just one specific key, but the entire list of saved profiles with passwords. This can be useful when migrating to a new computer or backing up settings. Windows 10 allows you to export this information to a text file or display it directly in the console.

To get a list of all profiles with keys, use the command:

netsh wlan show profiles key=clear

However, console output can be too voluminous and difficult to read. It's much more efficient to export the configuration to an XML file. For each network, you can run the following command:

netsh wlan export profile name="Network_Name" key=clear folder=C:\

⚠️ Attention: The files created by this command contain the password in cleartext. Do not store them in public folders and be sure to delete them after use to avoid compromising your network's security.

After running the command, XML files with profile names will appear in the root of drive C. If you open such a file in Notepad, you'll find the tag keyMaterial, which will store the password. This is the most comprehensive way to audit saved connections.

Using PowerShell to retrieve data

An alternative to the classic command line is PowerShell, which has a more powerful syntax and scripting capabilities. Although the basic commands netsh work here too, PowerShell allows you to use native cmdlets to manage network interfaces, which can be useful in a corporate environment.

You can use the NetSecurity module to obtain information about wireless profiles, but standard commands are usually sufficient. In PowerShell, you can automate the process of obtaining passwords for all networks at once by creating a simple script. This is especially convenient for IT professionals who support multiple workstations.

An example command to display the names of all profiles in PowerShell looks like this:

(netsh wlan show profiles) -match"^\s+All profiles" -replace".*:\s+"

Using PowerShell makes sense when you need to integrate password retrieval into a more complex administration or remote system management scenario. For one-time actions, a standard command prompt is quite sufficient.

Is it possible to recover a password if the profile is deleted?

If you delete a network profile from the list of saved profiles in Windows, the operating system deletes the access key from its database. In this case, it's impossible to recover the password using Windows. The only option is to view it on another device connected to the same network or access the router settings.

Third-party password recovery utilities

If you don't want to mess around with the console, specialized programs can help. There are many free ones, such as Wireless Key View from NirSoft or WiFi Password DecoderThese programs scan the Windows registry and system files, displaying a list of all saved networks and their keys in a convenient table format.

The main advantage of such utilities is speed and clarity. You don't need to remember commands or navigate menus. However, it's important to exercise caution when using third-party software. Antivirus programs may flag such utilities as potentially unwanted software (RiskWare), as they effectively steal saved passwords (even if the owner steals them).

Always download such tools only from the developers' official websites. Using dubious "cracks" or programs from unknown torrent trackers can lead to infection of the system with real stealer viruses that will steal not only Wi-Fi passwords but also bank card information.

Method Complexity Requires admin rights Security
Graphical interface Low Yes High
Command Prompt (CMD) Average Yes High
PowerShell High Yes High
Third-party software Low Yes Average

What to do if none of the methods helped

There are situations when standard methods fail. This can happen if the system registry is corrupted, the Windows version is downgraded, or even the administrator lacks the necessary access rights (for example, in corporate networks with strict security policies). In such cases, the last line of defense is the router itself.

If you have physical access to the router and can connect your computer to it via a LAN cable (or if you're already connected via Wi-Fi but simply don't know the password to enter on another device), you can log into the router's control panel. The login address is usually located on a sticker on the bottom of the device (often 192.168.0.1 or 192.168.1.1). The default login and password are also there if you haven't changed them.

In the router interface (section Wireless or Wireless network) the current security key is always displayed. Furthermore, you can change it to a new one there, ensuring you won't forget it. This is a universal method, regardless of your computer's operating system.

FAQ: Frequently Asked Questions

Is it possible to find out a Wi-Fi password if the computer has never connected to this network?

No, Windows can't guess passwords. If the network profile wasn't saved on this particular computer (meaning you never entered a password or connected automatically), then it simply doesn't exist. In this case, the only solution is knowing the password, writing it down in a notepad, or accessing the router settings.

Is it safe to save a password in Windows?

Yes, the system encrypts saved passwords. However, if your computer is infected with a stealer or an attacker with administrator rights gains access to the system, they can easily extract this data. Never agree to save passwords on public computers.

Why does the netsh command give the error "Network out of range"?

This error often occurs if you are trying to run a command on a network that is currently unavailable (the router is offline or far away), or if the profile name in the command is incorrect. Check the exact profile name with the command netsh wlan show profiles and make sure it matches in.

Where are Wi-Fi passwords stored in the Windows registry?

Technically, the data is stored in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles registry branch, but it is encrypted. Directly editing the registry to recover the password is impossible without special decryption keys, so using the command line is preferable.