How to find the Wi-Fi password on a PC connected via cable

It's quite common for a desktop computer to be connected to a router via Ethernet cable, but the wireless network password has been forgotten or lost. Users often assume that it's impossible to find the security key without a wireless connection, but this is a misconception. The Windows operating system stores information about all previously known networks in the registry, even if the current connection is established via a twisted pair cable.

To restore access, you won't need third-party programs or complex hacking utilities. All the necessary tools are already built into the system. It's just important to understand that cable connection It doesn't block access to router settings, but rather provides a more stable data transmission channel, simplifying the process of diagnostics and changing parameters.

In this guide, we'll look at several proven methods for retrieving a saved password. We'll use standard Windows tools, such as the GUI and the command line. These methods work on most modern OS versions, including Windows 10 And Windows 11.

Checking via the Windows graphical interface

The easiest and safest way to find the key is to use the default network settings. If your computer has ever connected to this Wi-Fi network (even if it's currently connected via cable), Windows may have saved a profile. Go to the Network and Sharing Center to check for saved data.

⚠️ Note: If your computer has never connected to this Wi-Fi network over the air, but only via a cable, this method may not show the password, as the wireless network profile may not have been generated automatically.

To begin, open the Start menu and go to Settings → Network & Internet → Network and Sharing CenterIn the window that opens, find the active connection (Ethernet) and click on it. Then select "Wireless Network Properties" (if the system allows you to switch) or go to Manage Known Networks via Control Panel → Network and Internet → Network and Sharing Center → Manage wireless networks.

In the list of networks, find the desired name (SSID), right-click, and select "Properties." Go to the "Security" tab. This is where the information you're looking for is stored. Check the "Show characters" box to turn hidden characters into readable text.

  • 📡 This method only works if the network profile was previously saved on this PC.
  • 🔒 You may need system administrator rights to access properties.
  • 💾 The password is stored in encrypted form until it is displayed.

It is worth noting that in new versions Windows 11 Microsoft has relocated profile management. It's now easier to use the Settings app and the Advanced network settings section, where you can manage known networks. However, the classic Control Panel method remains the most universal across all OS versions.

📊 How do you prefer to learn passwords?
Through the Windows interface
Via the command line
Via a router
Using third-party programs

Using the Command Prompt (CMD) to extract the key

The command line is a powerful tool for system administrators. It allows access to hidden network parameters that aren't always visible in the graphical interface. This method is especially effective when you need quick information without having to navigate through lengthy menus.

To start, click Win + R, enter cmd and press Enter. It's best to run the console as an administrator to avoid access restrictions. First, check if your wireless network profile is saved in the system. Enter the command: netsh wlan show profiles.

netsh wlan show profiles

The system will display a list of all saved profiles. Find your network name (SSID) in the list. If the name is found, the password is saved. Now use the command to display the key. The syntax is as follows: netsh wlan show profile name="Network_Name" key=clear.

⚠️ Note: In the command, replace "Network_Name" with the exact name of your Wi-Fi network. If the name contains spaces, the quotation marks are required.

After running the command, scroll to the "Security Settings" section. The "Key Contents" line will display the password you're looking for in cleartext. This is the most secure method, as it accesses the system credential store directly.

  • ⌨️ Commands are case-sensitive, but profile names are usually case-insensitive.
  • 👁️ Method key=clear Works only with administrator rights.
  • 📝 The result can be copied by selecting the text in the console window with the right mouse button.

If the system returns the error "Group not found" or "Profile not found," this means the computer has never connected to this Wi-Fi access point. In this case, you'll need to use other methods, such as logging into the router's web interface.

Logging into the router's web interface via LAN

Since your computer is connected via cable, you have direct access to the router's administrative panel. This "backdoor" allows you to manage all device settings, including changing the Wi-Fi password or viewing the current one. You'll only need the default gateway address.

You can find out the gateway address through the command line by entering ipconfigFind the line "Default Gateway". This is usually an address of the form 192.168.0.1 or 192.168.1.1Enter this IP address into the address bar of any browser.

Manufacturer Standard IP Default login Default password
TP-Link 192.168.0.1 admin admin
ASUS 192.168.1.1 admin admin
D-Link 192.168.0.1 admin (empty)
Keenetic 192.168.1.1 admin 1234

When you try to log in, the system will ask for your username and password. If you haven't changed them, use the default information (often found on a sticker on the bottom of the router). If you've changed them and forgotten them, you'll have to reset the router to factory settings (press the Reset button), which will delete all user configurations.

After successful authorization, find the section responsible for your wireless network. It may be called "Wireless," "Wi-Fi," "Wireless Network," or "WLAN." Inside, look for the "Security" or "WLAN Settings" subsection. There you'll find a "PSK Password," "WPA Key," or "Password" field where you can view or change the key.

☑️ Login to the router

Completed: 0 / 4

Alternative methods: PowerShell and third-party software

For advanced users who find the CMD command line too simple, there is PowerShellThis is a more powerful automation tool. The commands are similar, but the syntax may differ. For example, you can use a cmdlet. Get-NetConnectionProfile to analyze network profiles.

However, built-in Windows tools don't always allow you to retrieve a password if the profile is damaged or hidden. In such cases, specialized utilities come to the rescue. Programs like WirelessKeyView from NirSoft or WiFi Password Revealer scan the registry and display all saved keys in a convenient list.

⚠️ Warning: Download password recovery programs only from the developers' official websites. Antivirus programs often label such utilities as "HackTool" because they can be used by hackers.

Using third-party software requires caution. Make sure your antivirus software isn't blocking the program. These tools often require running as administrator to access protected memory areas where cryptographic keys are stored.

  • 🛡️ Free utilities often have limited functionality compared to paid counterparts.
  • 💻 PowerShell allows you to create scripts to automatically collect data from multiple PCs.
  • ⚙️ Third-party software may not work on the newest versions of Windows without updates.

If you decide to use PowerShell, try the command: netsh wlan show profile name="Name" key=clearIt works similarly to CMD, but the output can be immediately processed by PowerShell filters for export to a CSV or TXT file, which is convenient for system administrators.

Safety of using third-party programs

Password recovery programs are safe to use if downloaded from trusted sources. However, transferring such files over the network or storing them in the cloud may be flagged by antivirus software as suspicious activity. It is recommended to uninstall the tools immediately after use.

What to do if your password is nowhere to be found

There are cases where none of these methods work. This happens if the computer has never connected to Wi-Fi, the profile has been deleted, or access rights are restricted by group policies. In this situation, the last, but guaranteed, option is to reset the router.

A reset returns the device to its factory settings. There's a small hole on the router's body labeled "Reset." Press it with a paperclip and hold for 10-15 seconds until the lights flash. After this, the router will operate with the default settings indicated on the sticker.

After the reset, you'll have to reconfigure your internet connection (enter your provider's login and password, if required) and set a new Wi-Fi password. However, you'll have complete control over your network access. This is a radical but effective method for restoring access.

⚠️ Important: Before resetting, make sure you have a contract with your internet provider. Resetting may reset PPPoE or VLAN settings required for internet operation.

Keep in mind that after the reset, the network name and password will be the same as those on the factory sticker. Connect to this network, log in to the router interface, and set up new, complex security settings to prevent your neighbors from accessing your data.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if the computer is connected only via cable and has never been logged in?

No, you can't directly find the password in this case through Windows, as the system doesn't recognize it. However, you can access the router settings through a browser (using the gateway's IP address) and view or change the password there, as the cable provides direct access to the device.

Where can I find my router's IP address if the default 192.168.0.1 doesn't work?

Open command prompt and type ipconfigFind the "Default Gateway" line in the section for your Ethernet adapter. The IP address listed there is your router's address.

Are password recovery programs safe to use?

Using such programs on your own hardware is safe and legal. However, many antivirus programs flag them as potentially unwanted software because hackers use them to steal data. Download software only from official websites.

What should I do if I don't remember the password to access my router settings?

If you haven't changed your password, try the default combinations (admin/admin). If the password has been changed and forgotten, a full reset of the router to factory settings using the Reset button will help.

Is it possible to find out someone else's Wi-Fi password while being nearby?

No, the methods described only work for networks to which your computer has previously connected or accessed via cable. Hacking into other people's networks without the owner's permission is illegal.