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

It's common to need to connect a new device to the network but forget the access key. Operating system Windows 10 Stores data about all previously connected access points in a dedicated secure storage area. This allows the user to easily restore the necessary information without contacting the network administrator or resetting the router.

There are several proven methods for extracting this information. You can use the "Settings" graphical interface, use command-line tools, or access the router's web interface. Each method has its own advantages and is suitable for different use cases.

In this article, we'll detail the steps for each method. You'll learn how to find the saved key in the system, what commands to enter in the terminal, and how to secure your network from unauthorized access in the future. This information is relevant to the latest versions of Microsoft operating systems.

Finding a password through the Network and Sharing Center

The easiest way to find the necessary data is to use the standard graphical interface of the operating system. If your laptop is currently connected to the required network Wi-Fi, the procedure will take literally a minute. You won't need any additional programs or administrator rights, as the system will automatically grant access to its own saved data.

To get started, open the Start menu and select "Settings" (the gear icon). Then, go to the "Network and Internet" category. In the window that opens, find the "Network and Sharing Center" link or use the system search to enter this phrase. This is the standard path and works reliably on all builds. Windows 10.

In the Network and Sharing Center, you'll see an active connection. Click on the blue name of your wireless network next to "Connections." A small status window will open, where you should select "Wireless Network Properties." Go to the "Security" tab.

This is where the required key is stored. By default, the "Network Security Key" field is hidden by characters. To see it, check the "Show entered characters" box. The system may ask for administrator rights confirmation—agree, and the characters will be replaced with readable text.

⚠️ Note: If the "Security" tab is missing or the "Properties" button is grayed out, this may indicate that the current user does not have sufficient permissions or the network profile is corrupted. In this case, try running a search through the command line.

This method is ideal for those who prefer a visual interface over commands. However, it only works for the network the device is currently connected to. If you need to find the password for a network the laptop has previously connected to but is now out of range, this method won't work.

Using the Command Prompt to Restore Access

For more advanced users or in situations where the graphical interface is not working correctly, the command line is a great tool. CMDThis method not only allows you to view the password for the current network but also displays a list of all saved profiles on the device. This is especially useful if you need to find data for many different access points.

Launch the Command Prompt as administrator. To do this, right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)." First, you need to get a list of all networks whose profiles are saved on the system. Enter the following command:

netsh wlan show profiles

Once completed, you'll see a list of all known networks. Find the desired name (SSID) in the list. Next, use the command to display detailed information about a specific profile, including the security key. The command syntax is as follows:

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

Instead of Network_name Enter the exact name of your network that you saw in the list. Note the quotation marks—if there are spaces in the name, they are required. In the information that opens, find the "Security Settings" section. The "Key Contents" line will contain the password you're looking for in cleartext.

Why is the command line more reliable than the interface?

The command line accesses Windows system services directly, bypassing graphical shells that may have bugs or access rights restrictions in certain OS builds.

The advantage of this method is its versatility. You can copy the command, paste the network name, and get instant results. It's also a great way to check which networks were connected to your laptop and when, which is useful for security audits.

  • 🔍 Accuracy: The command line shows the exact profile name, which eliminates confusion with similar network names.
  • ⚡ Speed: For an experienced user, entering two commands takes less time than going through the settings menu.
  • 💻 Versatility: Works even in safe mode or with a minimalist system interface.

Viewing the key via PowerShell

An alternative to the classic command line is a more powerful tool - PowerShellIt provides advanced system management capabilities and is often used by system administrators. For the average user, the differences are minor, but the syntax may differ and the functionality may be broader.

Launch PowerShell as administrator. The process is similar to using CMD, but you can use more flexible filters. Enter the following command to list your profiles:

netsh wlan show profiles

Then to get the password, use the same construction as in the command line, as netsh is a system utility accessible from any shell:

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

However, PowerShell allows you to create scripts to automatically collect this information. If you need to save passwords for all networks in a text file, you can use more complex constructs, but for a one-time viewing, standard commands are sufficient. netsh.

⚠️ Note: When copying commands from this article, pay attention to the quotation marks. They may look the same in different encodings, but the system will interpret them differently. It's best to enter the network name manually after the command. name=.

Using PowerShell makes sense if you plan to automate a process or work in a corporate environment where access to the regular CMD may be restricted by security policies, but PowerShell is allowed.

📊 Which method do you find more convenient?
Graphical interface (mouse)
Command Prompt (CMD)
PowerShell
Third-party programs

Checking the password through the router settings

If your laptop isn't connected to the network and you don't remember the password, or you want to know the key to connect other devices, the most secure way is to access the router's settings. This requires a physical connection to the router via cable. LAN or connect via Wi-Fi (if the device is already authorized).

Open your browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the username and password for accessing the control panel, are usually located on a sticker on the bottom of the device. After logging in, find the "Wireless" or "Wi-Fi" section.

In the wireless settings, you'll see a field labeled "Password," "WPA-PSK Key," or "Password." The current access key is displayed there. You can view it, copy it, or change it to a new one if you don't think the current one is strong enough.

This method is 100% guaranteed, as you're accessing the internet connection directly. You can also change the encryption type here. It's recommended to use WPA2-PSK or WPA3, since the older WEP and WPA standards are vulnerable to hacking.

Parameter Description Recommended value
SSID Wireless network name Unique, no personal data
Security Mode Type of protection WPA2-PSK / WPA3
Encryption Encryption method AES
Key Length Key length 128 bits or more

Don't forget to save your changes if you decide to update your password. After this, all connected devices will require re-authorization with the new key.

Third-party Wi-Fi management software

There are many utilities on the software market designed to manage wireless connections. Programs such as WirelessKeyView from NirSoft or WiFi Password Revealer, are able to extract saved keys from the Windows registry and display them in a convenient form.

Using such tools is advisable if standard Windows methods fail or if you need to export a list of all passwords to a file at once. However, caution is essential. Download such tools only from the developers' official websites to avoid infecting your computer with malware.

Many antivirus programs may detect such programs as a potential threat because they access sensitive system data. This is a normal response (False Positive), but it requires the user to understand the process. Before running, ensure the program's source is reliable.

☑️ Safe use of utilities

Completed: 0 / 4

The main drawback of such solutions is the need to install additional software. For a one-time password recovery procedure, it's easier to use built-in Windows tools, which don't require downloading external files.

Safety measures and expert recommendations

Knowing how to view your password is useful, but knowing how to secure your network is even more important. A weak password leaves an open door for attackers to intercept your traffic, steal personal data, or use your internet connection for illegal activities.

It is recommended to change access keys regularly, especially if you have many guests connecting to your network. Use complex combinations of letters, numbers, and special characters at least 12 characters long. Avoid simple sequences like 12345678 or date of birth.

⚠️ Please note: Router interfaces and Windows versions are constantly updated. Menu locations and item names may differ from those described in the instructions. Always consult the documentation for your specific hardware model or the latest Microsoft support materials.

It's also worth disabling WPS (Wi-Fi Protected Setup) if you don't need it. This technology simplifies connection, but has known vulnerabilities that allow passwords to be brute-forced in a short time.

Following these simple rules will help you avoid security issues and ensure the smooth operation of your home network. Remember, security is a process, not a one-time action.

What to do if you forgot your router password?

If you haven't changed the factory settings, they're listed on the sticker underneath. If you've changed them and forgot, you'll need to reset the router using the button on the case. This will reset the router to factory settings and require you to reconfigure your internet connection.

Frequently Asked Questions (FAQ)

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

No, the operating system doesn't store passwords for networks the device hasn't connected to. In this case, the only solution is to view the router settings or contact the network owner.

Is it safe to save a password in Windows?

Yes, Windows encrypts stored passwords. However, if an attacker with administrator rights gains access to your computer, they can retrieve them. Use a strong password when logging into Windows itself.

Why doesn't the netsh command show the key?

This most often occurs due to a lack of administrator rights when launching the command prompt. The key will also not appear if the network profile is corrupted or if the network is corporate with special security policies.

Is it possible to view the password on the phone?

On Android 10 and above, and iOS 16 and above, there's a built-in feature for viewing saved Wi-Fi passwords in the network settings, which often requires biometric authentication.