How to find the WiFi password on a Windows 10 computer if it's connected via a wire

When you urgently need to connect a new device, such as a smartphone or tablet, to a wireless network, users are often stumped if the password itself isn't written down anywhere. This is especially true for owners of desktop computers, which are typically connected to the router via an Ethernet cable and don't have a built-in wireless module for automatically saving access keys. It would seem that the only solution is to look for a sticker on the bottom of the router or reset it to factory settings, but the operating system Windows 10 stores this information in encrypted form and it can be retrieved.

In this article, we'll cover all the available methods for retrieving a forgotten security key, using both built-in operating system tools and the router's web interface. You'll learn how to use the command line for in-depth analysis of network profiles and how to interact with the router when your PC is physically connected via cable. This knowledge will allow you to quickly resolve network access issues without calling a specialist.

It's worth noting that having a wired connection actually simplifies things in some ways, as it provides a stable connection to the router's administrative panel. We'll cover methods that don't require installing third-party software, ensuring the security of your data. Get ready to dive into network settings and become a true administrator of your home infrastructure.

Using the Command Prompt to Extract a Password

The most reliable and fastest way to find out the saved Wi-Fi password on a computer running Windows 10 is to use the built-in utility netshThis method works whether you're connected via cable or wirelessly, as long as the network profile is saved in the system. First, you'll need to run the command prompt with administrator privileges, as standard user privileges may prevent you from viewing sensitive security data.

After launching the terminal, the first task is to determine the exact name of the network profile whose password you want to find out. The system may store multiple profiles if you've previously connected to different access points, so it's important not to mix them up. Enter the command netsh wlan show profiles and press Enter to see a complete list of all Wi-Fi networks ever used.

Once you've found the desired network name (SSID), copy it exactly, including capitalization and spaces. Next, use a command to display key profile parameters, including the cleartext password. The command syntax requires the profile name and parameter. key=clear, which instructs the system to show the security key without masking it with asterisks.

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

In the report that opens, scroll down to the "Security settings" section. We're interested in the "Key Content" line, where the password you're looking for will be displayed. This method is the most straightforward and doesn't require access to the router's web interface, making it ideal if you've forgotten your router's login and password.

Viewing the password through the network connections graphical interface

For users who prefer a visual interface over the command line, Windows 10 offers the ability to view network properties through the standard connections window. However, since your computer is connected via a cable (Ethernet), the standard approach via the Wi-Fi icon in the system tray may not directly display the required information, as the active adapter is considered a wired one. In this case, you need to go to the advanced network connections settings.

Press the key combination Win + R, enter the command ncpa.cpl and press Enter. The "Network Connections" window will open, showing a list of all adapters. Find your wireless adapter (even if it's disabled or not actively connected, the profile may be available through its properties, but most often the password is stored in the context of the active or last successful connection). A more efficient way in Windows 10 is through "Settings" -> "Network and Internet" -> "Network and Sharing Center."

In the Network and Sharing Center, find your active connection (in your case, it will be Ethernet), but we need to access the wireless network properties. If the Wi-Fi adapter is active, click the "Wireless Network [Network Name]" link. In the status window that opens, click "Wireless Network Properties." Go to the "Security" tab.

⚠️ Important: If the "Security" tab is grayed out or the fields are hidden, make sure you're logged in with administrator privileges. Without these privileges, Windows will hide the security key for your protection.

On the Security tab, you'll see a "Network Security Key" field with characters hidden by dots. To see the password, check "Show characters as you type." This will make the text readable, allowing you to copy it for use on other devices. This method is convenient because it doesn't require you to remember commands, but it can be less obvious on a wired connection if the system doesn't prominently display the Wi-Fi status.

📊 What is your preferred method for managing your network?
Via the command line
Through the graphical interface
Via the router's web interface
Provider's mobile application

Obtaining a password through the router's web interface

Since your computer is connected to the router via a LAN cable, you have a direct and stable connection to the device's administrative panel. This is often the most reliable method, as it displays the current wireless module settings, regardless of the profiles saved on a specific computer. To access the control panel, you need to know the default gateway IP address, which is usually found on a sticker on the bottom of the router.

Standard login addresses most often look like this: 192.168.0.1, 192.168.1.1 or 192.168.31.1Enter this address in the address bar of any browser. The system will ask for your login and password to access the router settings. If you haven't changed them, they'll also be listed on the sticker (often admin/admin). If you've changed them and forgotten them, you'll have to reset the router using the Reset button, which will result in the loss of all your provider settings.

After successful authorization, the interface may differ depending on the model (TP-Link, ASUS, D-Link, Keenetic), but the logic is the same everywhere. You need to find the section responsible for the wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for the "Wireless Security" subsection.

This is where the encryption type (usually WPA2-PSK or WPA3) and the password itself are displayed in the "Wireless Network Password" field (Password, Pre-Shared Key, or WPA Key). You can simply view it, copy it, or change it to a new one. Changing the password here will require reconnecting all devices on the network with the new key.

☑️ Checking access to the router

Completed: 0 / 4

Comparison of access recovery methods

The appropriate method depends on your current situation, your level of access to the system, and the hardware model. Each method described has its own advantages and limitations. For example, the command line is ideal for experienced users who value speed, while the web interface provides full control over network settings but requires knowledge of the router password.

Below is a table that will help you quickly navigate and choose the optimal solution to the problem depending on the existing conditions and access rights.

Method Necessary rights Dependence on the router model Complexity
Command line (netsh) Windows Administrator No (works on all) Average
Graphical Interface (Properties) Windows Administrator No Low
Router web interface Router password High (different interface) Average
Third-party programs Windows Administrator No Low

Using third party programs such as WirelessKeyView NirSoft's tools are also possible, but require caution. Antivirus software may flag such utilities as potentially unwanted, as they are designed to extract saved keys. Use them only from trusted sources and only if built-in Windows tools fail for some reason.

⚠️ Note: Router interfaces are constantly being updated. The location of the "Security" or "Wireless" menu may differ from what's described. If you can't find the item you need, consult the official manual for your specific router model.

Common connection errors and problems

Even with a basic understanding of the theory, users often encounter practical difficulties. One of the most common issues is the message "Windows could not connect to this network" after entering the password. This could indicate not only an invalid key but also a conflict with encryption types or drivers.

If you are trying to enter a password, retrieved via netsh, but the connection isn't working, check your keyboard layout and capitalization. Wi-Fi passwords are case-sensitive. Also, make sure you're not copying extra spaces at the beginning or end of a line, which often happens when selecting text in the command line.

Another common mistake is trying to enter the password for a network the computer has never connected to. Windows doesn't store passwords for networks it hasn't successfully handshake with. In this case, the only solution is to gain access to the router or query other connected users.

What to do if the password does not work?

If you're sure the password is correct but the device still won't connect, try forgetting the network on the client device and reconnecting. Also, check if MAC address filtering is enabled on the router, which blocks new devices even with the correct password.

Problems may also arise when accessing the router's web interface via cable. If the settings page doesn't load, check the IP address settings of your network adapter. It must be set to obtain an IP address automatically (DHCP) to correctly obtain an address from the router.

Wireless Network Security Tips

Once you've restored network access, it's time to consider the security of your perimeter. Using default passwords provided by your ISP or manufacturer is a bad practice. Attackers can easily brute-force access to such networks using dictionaries of standard combinations.

It's recommended to change your Wi-Fi password regularly, especially if you have guests connecting to your network. Create complex keys that include mixed-case letters, numbers, and special characters. The password should be at least 12 characters long to ensure adequate protection against brute-force attacks.

Choosing an encryption protocol is also important. Make sure the standard is selected in your router settings. WPA2-PSK (AES) or the newest WPA3Using the outdated WEP or WPA (TKIP) protocol makes your network vulnerable to hacking in minutes, even by an inexperienced hacker.

Don't forget to update your router's firmware. Manufacturers regularly release updates that patch security holes. Checking the latest firmware version through the web interface is a simple procedure that significantly improves the security of your home network.

Frequently Asked Questions (FAQ)

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

No, the Windows operating system doesn't store passwords for networks it hasn't connected to. In this case, the only way is to look at the password on the router's sticker (if it hasn't been changed) or access the router's settings via cable, as described in this article.

Will the command line method work if the Wi-Fi adapter on the computer is disabled?

Yes, it will. Team netsh wlan show profile Accesses the database of saved profiles in the Windows registry, rather than polling the physical adapter in real time. The key is that the profile has been saved previously.

What should I do if I get the error "Network not found" when entering the netsh command?

This means the profile name was entered incorrectly. Names are case-sensitive and space-sensitive. Use the command netsh wlan show profiles Without parameters, copy the network name directly from the list to avoid typos.

Is it possible to reset the router password if I forgot both the login and the password?

Yes, there is a button on the router body for this purpose. Reset (often recessed into the case). Press it with a paperclip for 10-15 seconds while the power is on. The router will reset to factory settings, and the password will be the one on the sticker, but you'll have to re-enter your internet settings.

Is it safe to save a password in Windows so that I don't have to look it up every time?

Yes, this is standard practice. However, if someone with administrative rights has physical access to your computer, they can extract this password. In such cases, it is recommended to use a limited-access account for day-to-day work.