How to find the Wi-Fi password on a Windows 10 computer

It's common to need to connect a new device to a wireless network but have lost or forgotten the password for your current connection. Fortunately, the operating system Windows 10 Stores data about previously used networks in a secure registry. This allows the computer owner to quickly restore access to the security key without having to reset the router or contact the ISP.

There are several methods for recovering a forgotten key: through the system's graphical interface, using the command line, or by logging into the router's control panel. Each method has its own advantages and is suitable for different use cases. The only requirement is physical access to a device that is already successfully connected to the target network or has previously connected to it.

In this guide, we'll cover the technical aspects of extracting stored encryption keys in detail. We'll cover both standard tools Control panels, as well as more advanced administration tools. This will allow you to choose the most convenient solution depending on your computer skills.

Using the Windows 10 GUI

The simplest and most accessible method for the average user is to use the built-in network settings. The operating system provides a convenient interface for managing connections, with the active network's security settings hidden but easily viewable. This method doesn't require knowledge of special commands and is suitable even for beginners.

First, you need to open the Network and Sharing Center. Right-click the Wi-Fi icon in the system tray (lower-right corner of the screen) and select "Open Network and Internet Settings." In the window that opens, find the "Network and Sharing Center" section, or simply click the name of your current connection.

In the wireless network status window that appears, click "Wireless Network Properties." Go to the "Security" tab. Here you'll see the "Network Security Key" field, the contents of which are hidden by asterisks. To view the password, check the "Show characters" box.

⚠️ Note: Accessing the "Security" tab may require administrator privileges. If prompted, enter your account password or confirm your login using biometrics.

It's important to understand that this method only works for the network your computer is currently connected to. If you want to find the password for another network you've previously connected to but aren't currently connected to, this method won't work. In that case, you'll need to use the command line.

Password recovery via the CMD command line

The Windows Command Prompt (CMD) is a powerful tool for system administrators and advanced users. It allows you to interact with utilities netsh, which manages network settings. It can be used to display a list of all saved Wi-Fi profiles and find their passwords, even if the network is not currently active.

To launch the command prompt with administrator rights, press the key combination Win + X and select "Windows PowerShell (Administrator)" or search for "cmd," right-click, and select "Run as administrator." First, you need to know the exact name of the network profile.

netsh wlan show profiles

After executing the command, the system will display a list of all saved profiles. Find the name of the desired network in the list. Then, use the command to display the details of a specific profile by adding the key key=clear, which forces the security key to be displayed in clear text.

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

In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for. This method is universal and works on all versions of Windows starting with Vista, making it an indispensable tool in any security specialist's arsenal.

Viewing saved networks using PowerShell

An alternative to the classic command line is a more modern shell PowerShellIt provides advanced capabilities for scripting and system management, but for our purposes we use similar commands. netshThe PowerShell interface is more informative and supports syntax highlighting, making the output easier to read.

Launch PowerShell as administrator. Enter the command to show profiles to ensure the desired network is saved to your computer's memory. If the network is found, repeat the command with the clear key parameter. The syntax is identical to CMD, making it easy to navigate between tools.

However, PowerShell allows you to automate the process. You can create a script that will output passwords for all saved networks at once. This is useful for IT professionals who need to quickly gather information from multiple computers or prepare a security report.

⚠️ Note: Running scripts in PowerShell may be prohibited by default due to security policy. To run a one-time command, simply run the terminal as administrator; changing global execution policies is not required.

Using PowerShell is especially relevant on systems where the classic CMD has been limited by organizational group policies. At home, the difference between using CMD and PowerShell is minimal, but familiarity with both tools enhances your skills.

📊 Which password recovery method do you find more convenient?
Through Windows settings
Via the command line CMD
Via PowerShell
Through the router login

Obtaining a key through the router settings

If none of your computers are connected to the network or you don't have access to previously saved profiles, the most secure method is to log in to the router's web interface. To do this, the device must be connected to the router via an Ethernet cable or Wi-Fi (if you know the password for the current network, but need the password for the guest or other network).

Open your browser and enter the IP address of your default gateway. This is most often 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password, are located on the sticker on the bottom of the device. After logging in, find the "Wireless" or "Wi-Fi" section.

The current security key (Pre-Shared Key) will be displayed in the wireless settings. You can copy it or change it to a new one. This method gives you full control over network settings, including channel selection, channel width, and encryption type.

Parameter Description Recommended value
SSID Wireless network name Unique, no special characters
Security Mode Type of protection WPA2-PSK / WPA3
Encryption Encryption algorithm AES
Channel Broadcast channel Auto or 1, 6, 11

Changing router settings will disconnect all connected devices. You'll need to reconnect each device using the new password. Therefore, this method is best used if other options are unavailable or if you suspect someone else is using your Wi-Fi.

Using third-party utilities

There are many programs designed to manage wireless connections. One of the most popular and time-tested utilities is WirelessKeyView from NirSoft. It allows you to instantly display all saved access keys in a convenient table format.

The advantage of such programs is their speed and the ability to export data to a text file or HTML. This is convenient for backing up network settings. However, using third-party software always carries certain security risks.

  • 🛡️ Download snails only from the official websites of the developers.
  • 🚫 Antivirus programs may react to such programs as a threat (HackTool) because they extract sensitive data.
  • 💾 Use portable versions that don't require installation to avoid cluttering your registry.

Before running such utilities, it is recommended to disable your antivirus software, as their operation (reading protected memory areas) may be considered suspicious activity. Once the password is obtained, the program should be uninstalled.

Why does my antivirus complain about WirelessKeyView?

The program accesses protected Windows system storage where passwords are stored. Antivirus software considers this behavior typical of password stealers and therefore marks the utility as potentially unwanted, even though it is inherently safe.

Resetting network and router settings

As a last resort, if none of the software methods work and access to the router settings is blocked (the administrator password is forgotten), a physical reset is the only option. There's a button on the router body. Reset or a hole with the same name.

To reset, press and hold the button for 10-15 seconds until the indicators flash simultaneously. The device will then reboot and return to factory settings. The Wi-Fi password will be reset to the one on the sticker on the bottom of the device.

This method is drastic and requires a complete internet reconfiguration (PPPoE, L2TP, etc.) if your ISP doesn't use MAC address binding or automatic configuration distribution. Make sure you have your contract with your ISP handy before beginning the procedure.

⚠️ Please note: After resetting the router, all personal settings, including the network name and MAC address filters, will be deleted. The network will become open or use the default password from the sticker.

Use this method only when other options have been exhausted. For most users, the methods described in the first sections of this article are sufficient to restore access without losing hardware settings.

Frequently Asked Questions (FAQ)

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

No, this can't be done using standard Windows tools. The system only stores keys that have been successfully entered and used to connect. To gain access, you'll need to log into the router (if you know the administrator password) or perform a physical reset.

Why does the netsh command give an "Access Denied" error?

This means the command prompt is running without administrator privileges. Close the terminal, right-click the CMD or PowerShell icon, and select "Run as administrator."

Is it safe to save passwords in Windows?

Yes, the system uses strong encryption to store keys. However, if an attacker with administrator rights gains access to your computer, they can extract these passwords. Always use a strong password when logging into your Windows account.

What should I do if the required profile is not in the list of networks?

Perhaps the profile was previously deleted or the network was never saved (guest mode). In this case, only the stickers on the router or contacting the network owner will help. You can also try the command netsh wlan show profiles once again to make sure the name is spelled correctly.

Does the password change when replacing a router with a new model?

Yes, if you're replacing a device, the new router will have its factory settings. If you're setting it up yourself, you'll be responsible for setting a new password. Old saved profiles on your computers will automatically stop working.