How to find out the Wi-Fi password when connected via cable

It's quite common to need to connect a new device to your home network but have forgotten the wireless network password. This is especially true if you're already connected to the local network via Ethernet but don't know the security key to share with guests or smartphones. Fortunately, having a physical wired connection gives you certain privileges and access to router settings that are hidden from outside users.

Unlike a random guest connected to an open network, a user with a cable connection has direct access to the device's administrative panel. This allows you to not only recover a forgotten key but also check who else is connected to your Wi-Fi or change security settings to more complex ones. In this article, we'll discuss several proven methods for extracting the necessary information using only standard operating system tools and a web browser.

It is important to understandIt's important to note that methods may vary depending on your router model and computer operating system. However, the basic principles of network protocols remain unchanged for years. Below, we'll look at the most effective workflows that will help you resolve the issue in minutes without having to reset your equipment to factory settings.

Using the Windows Command Prompt to View Saved Profiles

The fastest way to find out the password if your computer has ever connected to this wireless network (even if you're currently connected via a cable) is to use Windows' built-in utilities. The operating system stores profiles of every network you've ever connected to and allows you to display their security keys in plaintext. To do this, you'll need access to the command prompt with administrator privileges.

First, you need to open the command interface. Press the key combination Win + R, enter cmd and press Enter, or search for "Command Prompt" and select Run as administrator. First, enter the command netsh wlan show profilesIt will display a list of all saved Wi-Fi networks. Find your network name (SSID) in the list and remember its exact spelling.

⚠️ Attention: If your network isn't listed in the profile list, it means your computer has never connected directly to that Wi-Fi network. In this case, this method won't work, and you'll have to access the settings through the router's web interface.

Once the network name is found, enter the following command, replacing "Network_Name" with the actual name of your Wi-Fi:

netsh wlan show profile name="Network_Name" key=clear
In the list of parameters that appears, find the line "Key Content." The value to the right of it is the password you're looking for.

Logging into the router's web interface via a browser

This is the most universal method, which works regardless of whether your computer has ever connected to Wi-Fi. Since you're connected via cable, your computer is already on the same local network as the router. You just need to know the gateway IP address to access the device's control panel. This address is usually found on a sticker on the bottom of the router, along with the login information.

To find the gateway address manually, click Win + R, enter cmd and in the black window type the command ipconfigFind the line "Default Gateway". Most often, these are addresses of the following type: 192.168.0.1, 192.168.1.1 or 192.168.31.1Enter this IP address into the address bar of any browser (Chrome, Firefox, Opera).

The authorization page will open. You'll need your administrator login and password. If you haven't changed them, they're the default (often admin/admin). If the data has been changed and lost, the only solution is to reset the router using the Reset button, which will require reconfiguring the entire internet connection.

  • 🔑 Standard credentials are often written on a sticker under the device in the "User/Password" or "Login/Pass" fields.
  • 🌐 Alternative addresses logins can be domain-specific, for example, tplinkwifi.net or router.asus.com.
  • 🔒 Login Security Critical: If the default password is changed and the new one is forgotten, it is impossible to restore access without resetting it.

☑️ Check before entry

Completed: 0 / 4

Finding the password in your router's wireless network settings

After successfully logging into the web interface, you need to find the section responsible for the wireless network. Interfaces vary from manufacturer to manufacturer (TP-Link, Asus, Keenetic, Mikrotik) look different, but the logic is the same. Look for tabs labeled "Wireless," "Wi-Fi," "Wireless Network," or "WLAN."

Within this section, look for the "Security" or "Basic Settings" subsection. This is where you'll find the "Wireless Password," "Pre-Shared Key," or "WPA/WPA2 Password" field. The field may be hidden behind asterisks, but there's usually a "Show" button (an eye) next to it, or the option to simply copy the text if your browser allows it.

⚠️ Attention: Don't change other fields, such as "Operating Mode" or "Channel," unless you're sure of their meaning. Accidentally changing the channel or encryption mode may prevent your older devices from seeing the network.

If the field is covered with asterisks and the browser does not allow you to view it, you can use the trick of viewing the page code (right-click -> View code), find the input field with the password and change the attribute type="password" on type="text"However, the easiest way is to simply rewrite the password or copy it if the interface allows it.

What should I do if the interface is in Chinese?

Many routers purchased on AliExpress have a Chinese interface. Use Google Chrome's built-in translator (right-click -> Translate to Russian) or find the menu item with the globe/language icon to switch to English/Russian.

Using mobile applications from the manufacturer

Modern routers are often controlled not only through a browser, but also through dedicated smartphone apps. If you have such software installed (for example, Keenetic, Tenda WiFi, Mi Wi-Fi, TP-Link Tether), and you previously linked the router to your account, you can find out the password directly from your phone, even if the phone itself is currently connected via a cable through an OTG adapter or is on the same network.

The app usually has a "Wi-Fi Settings" or "My Network" section. There, the password is often displayed in plain text or can be copied to the clipboard. This is especially convenient, as it eliminates the need to enter IP addresses or fiddle with a computer browser.

However, if you've never configured your router through the app or created a manufacturer cloud account, this method won't work. It relies on pre-syncing the device with the manufacturer's servers.

📊 What brand of router do you have?
TP-Link
Asus
Keenetic
Xiaomi
Another

Table of standard addresses and logins for popular routers

To make accessing settings easier, we've prepared a reference table. It contains the most common factory access credentials for the administrative panels. Please note that if you or the technician changed these credentials during installation, only the new ones will work.

Manufacturer Default IP address Login Password
TP-Link 192.168.0.1 or 192.168.1.1 admin admin
Asus 192.168.1.1 admin admin
Keenetic 192.168.1.1 admin 1234
D-Link 192.168.0.1 admin (empty)
Xiaomi 192.168.31.1 admin specified during setup

Using this data allows you to quickly access the control system. If none of the options work, check the sticker on the bottom of the device—it always lists the update materials specific to your model.

Possible problems and solutions

You may encounter technical difficulties while recovering your password. For example, your browser may display the error "Unable to connect to the site" when entering your IP address. This often happens if your network adapters are configured with static IP addresses that conflict with your router's addressing.

Another common issue is an endless password prompt loop when logging into the router. This could mean the browser is trying to use saved old credentials. If this happens, try opening the settings in Incognito mode or clearing the browser cache.

  • 🔄 Reset network settings: In Windows, you can try resetting the TCP/IP stack with the command netsh int ip reset in the command line.
  • 🛡️ Antivirus and firewall: Temporarily disable third-party antivirus programs that may block access to local addresses.
  • 🔌 Physical connection: Make sure that the LAN indicator on the router and on the computer's network card is on.

⚠️ Attention: Router and operating system interfaces are constantly updated. Button locations and menu item names may differ from those described in the instructions. Always consult the official documentation on your equipment manufacturer's website if the default paths don't work.

If none of the software methods work, the last option is a physical reset. There's a small "Reset" hole on the back of the router. Pressing it with a paperclip for 10-15 seconds (while the router is powered on) will reset the device to factory settings. After this, the Wi-Fi password will be reset to the one on the sticker, but you'll have to re-enter your provider's settings.

Is it possible to find out the password if I am not the PC administrator?

If you don't have administrator rights on your computer, you won't be able to run the command prompt with the required privileges or install password recovery programs. In this case, your only option is to log in through the web interface if you know the router admin password, or use the mobile app if the router is linked to your account.

Is it safe to store password on command line?

The Command Prompt doesn't permanently store passwords; it only displays what's already stored in Windows. However, if someone else gains access to your computer, they can also use the command. netsh to view all saved keys. It is recommended to use complex passwords and restrict physical access to your PC.

What should I do if my router has issued a leased IP address?

If your computer received an IP address directly from your ISP (e.g., 192.168.xx, but not from the router), you're not connected to a LAN port, or the router is in bridged mode. Make sure the cable is plugged into the LAN port (usually yellow), not the WAN port (blue/gray), if you want to manage this specific router.