Are you connected to your router via Ethernet, but don't know the Wi-Fi password for the same network? This situation often arises when your ISP, neighbor, or office colleague set up your internet connection, and you suddenly need to connect your smartphone, tablet, or laptop over the air. Luckily, you can find the password directly from your computer, even if it's not directly connected to Wi-Fi.
In this article we will look at 5 proven methodsHow to retrieve a saved wireless network password on Windows 10/11 if the PC is connected to the router via cable. All methods work without installing third-party software (with one exception) and don't require access to the router's web interface. You'll also learn why some methods may not work and how to overcome common errors.
Why can a Wi-Fi password be found via a cable connection?
When a computer is connected to a router via Ethernet, it automatically becomes part of the local network. This means:
- 🔌 Windows has access to the settings of all network devices on this network, including the router itself (if remote access is not blocked).
- 📡 Wi-Fi adapter drivers can store data about previously connected networks - even if you are currently using a cable.
- 🔐 The system caches passwords from Wi-Fi in a secure storage (if you ever connected to this network over the air).
It is important to understand the difference between the two scenarios:
| Scenario | Is it possible to find out the password? | What methods are suitable? |
|---|---|---|
| PC previously connected to this Wi-Fi | ✅ Yes | View saved networks, command line, PowerShell |
| PC never connected to this Wi-Fi | ⚠️ Partially | Only through the router's web interface (if the login details are known) |
| The router is configured by the provider individual settings | ❌ No | You need to contact your provider or reset your router. |
If your computer has ever connected to this Wi-Fi network, your chances of success are close to 100%. Otherwise, you'll have to use workarounds—we'll cover those, too.
Method 1: View saved networks in Windows settings
The easiest method is if your PC has connected to this Wi-Fi network before. Windows stores all wireless network passwords in Network Control CenterHere's how to extract them:
- Click
Win + R, enterncpa.cpland pressEnter. - In the window that opens, find the icon Wireless network (Wi-Fi), right-click on it and select
State. - Click the button
Wireless network properties, then go to the tabSecurity. - Check the box
Show entered characters— in the fieldNetwork security keya password will appear.
If the Wi-Fi icon is missing from the list of adapters or is disabled:
⚠️ Attention: This means that the wireless adapter driver is not installed or is disabled in Device Manager. Install the driver from the laptop/motherboard manufacturer's website (for Intel, Realtek, Broadcom and others).
This method only works if:
- 🖥️ Computer connected at least once to this Wi-Fi.
- 🔄 The network was not removed from the list of saved ones (for example, through
Forget the network). - 🔒 You have administrator rights (to view the password).
☑️ Preparation before viewing a password
Method 2: Command Line (for advanced users)
If the GUI does not show the password, try to extract it through command lineThis method works even if the Wi-Fi adapter is currently disabled:
netsh wlan show profiles
This command will list all saved Wi-Fi networks. Find the name of the network you need (for example, TP-Link_1234) and run:
netsh wlan show profile name="TP-Link_1234" key=clear
Find the line in the results Key content — this is the password. If the command returned an error Profile not found, Means:
- 📛 The network has been removed from the system (click
Forgetin Wi-Fi settings). - 🔧 The profile is corrupted (try the PowerShell method below).
- 🛡️ You don't have administrator rights (run the command prompt as one).
Critical detail: if the network name contains spaces or Cyrillic characters, wrap it in quotation marks: name="My Wi-Fi Network". Otherwise the command will not work.
Method 3: PowerShell - Alternative for Windows 10/11
PowerShell — a more powerful tool than the command line. It can extract passwords even if standard methods fail. Run:
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key contents\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); [PSCustomObject]@{PROFILE=$name;PASSWORD=$pass}} | Format-Table -AutoSize
This command:
- Gets a list of all saved Wi-Fi networks.
- Extracts the password for each network.
- Displays a table of network names (
PROFILE) and passwords (PASSWORD).
If the script returned an empty table:
⚠️ Attention: In some Windows builds (especially pirated ones), the service WLAN AutoConfig It may be disabled or damaged. Check its status with the commandsc query WlanSvc- if the condition is notRUNNING, start the service as described above.
For convenience, you can save the command to a file. get-wifi.ps1 and run it with the right click → Run with PowerShell.
Method 4: Router web interface (if IP and login are known)
If the previous methods didn't work (for example, the PC has never connected to this Wi-Fi), the only option left is go to the router settings via a browser. To do this:
- Find out your router's IP address:
- 🖥️ On Windows:
ipconfig→ find the lineMain gateway(usually192.168.0.1or192.168.1.1). - 📱 On Android:
Settings → Wi-Fi → [your network] → Learn more.
- 🖥️ On Windows:
http://192.168.0.1).admin/admin, but may differ).Wireless (or Wi-Fi, Wireless network) and find the field Password/Security key.Typical login details for popular router brands:
| Manufacturer | IP address | Default Login/Password |
|---|---|---|
| TP-Link | 192.168.0.1 or 192.168.1.1 | admin/admin |
| ASUS | 192.168.1.1 | admin/admin |
| D-Link | 192.168.0.1 | admin/(empty) |
| Zyxel Keenetic | 192.168.1.1 | admin/1234 |
| MikroTik | 192.168.88.1 | admin/(empty) |
If the standard login/password does not work:
- 🔍 Check the sticker on the bottom of the router - sometimes it contains specific information.
- 📞 Call your ISP - they may know the password (especially if they provided you with the router).
- 🔄 Reset the router using the button
Reset(hold for 10 seconds) - the factory password will return.
⚠️ Attention: Resetting the router (Reset) will reset all settings to factory defaults, including the Wi-Fi password. After this, you'll have to set up your internet connection again (you may need help from your provider).
What to do if the router's IP address is not accessible?
Make sure your PC is connected to the router via cable (the Ethernet light should be on). Disable your VPN/proxy. Try a different browser (e.g., Edge or Firefox). If your router is new, it may require initial setup via a mobile app (e.g., TP-Link Tether).
Method 5: Third-party programs (if nothing helps)
If all the above methods fail, you can use specialized utilities. They scan the system for saved passwords and display them in a convenient format. Popular programs:
- 🔓 WirelessKeyView (from NirSoft) - free, does not require installation, shows all saved Wi-Fi passwords.
- 🛡️ WiFi Password Revealer - simple interface, export passwords to a file.
- 🔍 Magical Jelly Bean WiFi Password Revealer — works even on older versions of Windows.
How to use WirelessKeyView:
- Download the program from official website (check the file for viruses).
- Unzip and run
WirelessKeyView.exe(as administrator). - Find the required network in the table - the password will be in the column
Key (Ascii).
Warnings when using third-party programs:
⚠️ Attention:
- Do not download such utilities from torrents or unverified sites—they may contain viruses.
- Your antivirus may block their operation (add the program to the exceptions).
- On corporate PCs, running such software may violate security policy.
If the program did not show the password, it means:
- 🗑️ The network profile has been removed from the system.
- 🔒 Windows stores the password in encrypted form, which the program cannot decrypt (rare, but it happens).
- 🛡️ The PC has data encryption software installed (for example, BitLocker or corporate solutions).
Common mistakes and how to avoid them
When trying to find a Wi-Fi password, users often encounter common problems. Here are the most common ones and their solutions:
| Error | Cause | Solution |
|---|---|---|
Network profile not found in the command line |
The PC has never connected to this Wi-Fi. | Use the router's web interface or contact your network administrator. |
There is no Wi-Fi icon in ncpa.cpl |
The driver is missing or the adapter is disabled. | Install the driver from the manufacturer's website or enable the adapter in the BIOS |
| The router's IP address won't open in the browser. | Invalid IP, router not responding, or blocked by firewall | Check your cable connection, disable your VPN, try a different browser |
| The password in the web interface is displayed as asterisks. | Router security settings | Try viewing the page source code (Ctrl+U) and find the line with password |
| The password extractor program is not working. | Blocked by antivirus or lack of rights | Add the program to your antivirus exceptions and run it as administrator. |
If you encounter an error not described above:
- 🔍 Read the error text carefully—it often contains a hint.
- 📋 Write down the exact text and search for a solution on forums (for example, Microsoft Community or 4PDA).
- 🛠️ Check the integrity of system files with the command
sfc /scannow.
Safety: How to avoid problems
Extracting Wi-Fi passwords is a harmless procedure if you do it on in his own equipment. However, there are a few nuances worth keeping in mind:
- 🚫 Illegally attempting to obtain a password from someone else's network without the owner's permission (this qualifies as unauthorized access under Article 272 of the Criminal Code of the Russian Federation).
- 🔒 If you are a network administrator in an office, store passwords in a secure location (for example, in KeePass or Bitwarden).
- 📴 Don't share your Wi-Fi password with third parties—this could lead to network congestion or unauthorized access to local resources.
- 🔄 Change your Wi-Fi password regularly (every 3-6 months), especially if guests connect to the network.
If you suspect your Wi-Fi is being used without permission:
- Go to the router's web interface and check the list of connected devices (section
DHCP ClientsorDevices). - Change your Wi-Fi password to a more complex one (at least 12 characters with numbers and special characters).
- Enable MAC address filtering (although this is not a panacea - MAC addresses can be spoofed).
- Disable the feature
WPS- it is vulnerable to brute force attacks.
To generate a strong password, you can use:
- 🎲 Built-in generator in KeePass or 1Password.
- 🔢 Online services (for example, Passwords Generator), but do not use them on public PCs.
- 📌 Mnemonic phrases:
Cat! Ate 5 Mice @UnderTheBed.
⚠️ Attention: Some routers (especially those from ISPs) may have their Wi-Fi password tied to the device's serial number. In this case, changing the password in the web interface will disconnect the connection, requiring you to reconfigure the router.
FAQ: Answers to Frequently Asked Questions
Is it possible to find out the Wi-Fi password if the PC is connected via cable but has never been connected over the air?
No, if your computer has never connected to this Wi-Fi network, none of the methods (except logging into the router's web interface) will work. In this case, you need to:
- Find out the IP address of the router (
ipconfig→Main gateway). - Access its settings through a browser (usually
192.168.0.1or192.168.1.1). - Find the Wi-Fi settings section and view the password.
If you don’t know the login/password to enter the router, try the standard combinations (admin/admin) or reset the router with the button Reset.
I entered a command in PowerShell, but it returned an "Access Denied" error. What should I do?
This error means you don't have administrator rights. To fix it:
- Close PowerShell.
- Click
Win + Xand selectWindows PowerShell (Administrator). - Confirm run as administrator.
- Repeat the command.
If this does not help, check if the service is disabled. WLAN AutoConfig:
sc query WlanSvc
If the condition is not RUNNING, run it:
net start WlanSvc
In the router's web interface, the Wi-Fi password is displayed as asterisks. How can I find it?
There are several ways:
- View page source:
- Click
Ctrl + U(or right click →View code). - Click
Ctrl + Fand findpassword. - There may be a line of the following type nearby
value="*"— sometimes the password is stored in clear text.
- Click
- Using developer tools:
- Click
F12(orCtrl + Shift + I). - Find the password field, right-click on it →
Edit as HTML. - Replace
type="password"ontype="text"and pressEnter.
- Click
- Resetting the router: If nothing helps, reset the router using the button
Reset(hold for 10 seconds) and set it up again.
Is it possible to find out the Wi-Fi password from a phone if it is connected to the same router via cable (via OTG)?
No, this method won't work. Here's why:
- 📱 Smartphones do not support connecting to a router via Ethernet (even with an OTG adapter) in their standard configuration.
- 🔌 Even if you connect your phone to the router with a cable, Android/iOS does not provide tools for extracting Wi-Fi passwords via a wired connection.
- 🔒 On Android, Wi-Fi passwords are stored in an encrypted vault and cannot be accessed without root access.
Instead:
- Connect your phone to this Wi-Fi over the air (if you know the password).
- Use apps like WiFi Password Viewer (requires root).
- Or log in to the router's web interface using a browser on your phone.
My ISP has blocked access to my router settings. What should I do?
Some providers (eg Rostelecom, Beeline, MTS) block users' access to the router's web interface, displaying a message like Access denied or Contact technical supportIn this case:
- Call your provider's support team and ask for the Wi-Fi password. They'll usually be accommodating if you confirm your personal information.
- Reset the router using the button
Reset(Hold for 10-15 seconds). This will reset to factory settings, but: - 📞 You may need to reconfigure your internet (your provider may send a technician or provide instructions over the phone).
- 🔐 The Wi-Fi password will be reset to the factory default (indicated on the router sticker).
If your provider refuses to help, you have the right to:
- 📄 Request access to the router (since you are paying for the equipment).
- 🔄 Replace the router with your own (after first checking compatibility with your provider).