
How to Know Password of Wifi in Pc? View Network Keys
Introduction If you have ever been locked out of your own wireless network because you forgot the password, you are not alone. Many people search for “How to Know Password of Wifi in Pc?” when they need to reconnect a new device, share access with a guest, or
Introduction
If you have ever been locked out of your own wireless network because you forgot the password, you are not alone. Many people search for “How to Know Password of Wifi in Pc?” when they need to reconnect a new device, share access with a guest, or troubleshoot a connection issue. The good news is that Windows computers store network keys for every WiFi network you have previously joined, and there are several safe, built-in ways to reveal them. This guide walks you through each method step by step, explains the differences between them, and helps you choose the right approach for your situation.
Whether you are using Windows 10 or Windows 11, the underlying tools are similar. You can view saved WiFi passwords through the Settings app, the classic Control Panel, Command Prompt, PowerShell, or even your router’s admin panel. Each method has its own strengths, and some require administrator privileges while others do not. By the end of this article, you will know exactly how to recover a forgotten WiFi password on your PC and how to keep that information secure going forward.
Table of Contents
- Introduction
- What Are Network Keys?
- Why You Might Need to Find Your WiFi Password
- Method 1: View WiFi Password via Windows Settings
- Method 2: Use the Control Panel
- Method 3: Use Command Prompt (Netsh)
- Method 4: Use PowerShell
- Method 5: Check Your Router Admin Panel
- Method 6: Use a Connected Phone or Hotspot
- Comparison of Methods
- Tips and Best Practices
- Common Errors and Troubleshooting
- Security Considerations
- Frequently Asked Questions
- Conclusion
What Are Network Keys?
A network key is simply the password that protects a wireless network. When you connect your PC to WiFi, Windows stores that key in an encrypted profile so you do not have to type it every time. The stored key is often called the “network security key” or “WiFi password.” Viewing it means decrypting and displaying that stored value. This is why some methods require administrator rights: Windows protects saved credentials so that only authorized users can reveal them.
It is important to understand that you can only view passwords for networks your computer has already connected to and saved. If you have never joined a particular network, your PC will not have its key. In that case, you would need to get the password from the router label, the network administrator, or a connected device.
Why You Might Need to Find Your WiFi Password
There are many everyday situations where knowing how to recover a WiFi password on your PC becomes useful. You might have bought a new phone or laptop and need to connect it. A guest may ask for your network access. You might be resetting a router and want to confirm the old password before changing it. In business settings, IT staff often need to retrieve credentials for audit or migration purposes. Whatever the reason, having a reliable method to view network keys saves time and frustration.
Another common scenario is troubleshooting. If a device connects but shows “No Internet,” verifying the saved password can rule out authentication errors. Sometimes the password was changed on the router but not updated on the PC, causing silent connection failures. Viewing the stored key lets you compare it against the router’s current setting.
Method 1: View WiFi Password via Windows Settings
The Settings app is the most user-friendly way to reveal a saved WiFi password on modern Windows. This method works well for the network you are currently connected to, and in many cases for saved profiles as well.
- Click the Start button and open Settings.
- Select Network & Internet, then choose Wi-Fi.
- Click Manage known networks.
- Select the network whose password you want to view.
- Click Properties or the information icon.
- Look for the Security section and check the box labeled Show characters or Show password.
- The network key will appear in the password field.
If the show option is grayed out, you may not have administrator privileges, or the profile may be protected. Try the Control Panel or Command Prompt methods instead. On Windows 11, the path is slightly different: Settings > Network & Internet > Wi-Fi > Manage known networks > select network > Properties.
Method 2: Use the Control Panel
The classic Control Panel remains a reliable route, especially on Windows 10. It exposes the wireless profile properties in a familiar dialog.
- Press Win + R, type
ncpa.cpl, and press Enter to open Network Connections. - Right-click your active WiFi adapter and choose Status.
- Click Wireless Properties.
- Go to the Security tab.
- Check Show characters to reveal the network security key.
This method typically displays the password for the currently connected network. If you need a password for a network you are not connected to, use Command Prompt or PowerShell instead. The Control Panel approach is convenient because it does not require typing commands, but it may not list every saved profile.
Method 3: Use Command Prompt (Netsh)
Command Prompt with the built-in netsh tool is one of the most powerful ways to retrieve any saved WiFi password. It can list all profiles and show the clear-text key for each. This is especially helpful when you need a password for a network you are not currently using.
Step-by-Step Netsh Commands
- Open the Start menu, type cmd, right-click Command Prompt, and choose Run as administrator.
- List all saved WiFi profiles by typing:
netsh wlan show profilesand press Enter. - Identify the profile name (SSID) whose password you need.
- Type the following command, replacing ProfileName with the actual network name:
netsh wlan show profile name="ProfileName" key=clear - Press Enter. Look under the Security settings section for Key Content. That value is your WiFi password.
If the profile name contains spaces, keep the quotation marks. For example: netsh wlan show profile name="Home Network" key=clear. The key=clear parameter is what tells Windows to decrypt and display the password. Without it, the key content is hidden.
Note that running Command Prompt as administrator is usually required. If you see an access denied message, close the window and reopen it with elevated privileges. Also, if the network uses an enterprise authentication method such as 802.1X, the key content may not be a simple password.
Method 4: Use PowerShell
PowerShell offers a more scriptable approach and is ideal if you want to automate password recovery across multiple profiles. You can combine built-in cmdlets with netsh output to extract keys cleanly.
- Open the Start menu, type PowerShell, right-click Windows PowerShell, and select Run as administrator.
- To list profiles, run:
(netsh wlan show profiles) | Select-String "\:(.+)$" | ForEach-Object { $_.Matches.Groups[1].Value.Trim() } - To reveal a specific password, run:
netsh wlan show profile name="ProfileName" key=clear - Alternatively, use a one-liner to extract just the key:
(netsh wlan show profile name="ProfileName" key=clear | Select-String "Key Content").ToString().Split(':')[1].Trim()
PowerShell is powerful but should be used carefully. Only run commands you understand. For most users, Command Prompt is simpler, but PowerShell is excellent for IT professionals who need to audit many machines.
Method 5: Check Your Router Admin Panel
Sometimes the easiest way to answer “How to Know Password of Wifi in Pc?” is to bypass the PC entirely and check the router. The router stores the authoritative password, and viewing it there confirms what the network actually uses.
- Find your router’s IP address. On Windows, open Command Prompt and type
ipconfig. Look for the Default Gateway under your WiFi adapter. - Open a web browser and enter that IP address, often
192.168.1.1or192.168.0.1. - Log in with the router’s admin credentials. These are often printed on a sticker on the router.
- Navigate to Wireless, WiFi Settings, or Security.
- Look for the Passphrase, Pre-Shared Key, or Password field. Some routers hide it behind a show button.
If you cannot log in because you forgot the router admin password, you may need to reset the router to factory settings, which will erase custom configurations. This method is especially useful when the PC’s saved password no longer matches the router’s current password.
Method 6: Use a Connected Phone or Hotspot
If your PC is not connected but a phone or another device is, you can retrieve the password from that device and then enter it on the PC. On Android, many versions allow you to share the WiFi password as a QR code or view it directly in settings. On iOS, you can view saved passwords in Settings > Wi-Fi by tapping the info icon next to a network, though this may require Face ID or Touch ID.
Another option is to turn your phone into a mobile hotspot with a known password, connect the PC to it, and then use that connection temporarily. While this does not reveal the original router password, it restores internet access so you can look up instructions or contact your administrator.
Comparison of Methods
The table below summarizes the main approaches so you can pick the one that fits your needs.
| Method | Ease of Use | Requires Admin Rights | Works for Saved Profiles | Best For |
|---|---|---|---|---|
| Windows Settings | Very Easy | Sometimes | Current network mainly | Quick everyday recovery |
| Control Panel | Easy | Sometimes | Current network mainly | Classic interface users |
| Command Prompt (netsh) | Moderate | Yes | All saved profiles | Power users and IT staff |
| PowerShell | Advanced | Yes | All saved profiles | Automation and scripting |
| Router Admin Panel | Moderate | Router login needed | Authoritative source | Verifying or changing password |
| Connected Phone | Easy | Device unlock needed | Depends on device | When PC is not connected |
Tips and Best Practices
- Always run Command Prompt or PowerShell as administrator when retrieving keys.
- Write down or securely store the recovered password in a password manager rather than a plain text file.
- After recovering the password, consider updating it to a strong, unique passphrase if it is weak or shared widely.
- Use WPA2 or WPA3 security. Avoid WEP or open networks.
- Keep your Windows and router firmware updated to protect stored credentials.
- If you manage multiple networks, label profiles clearly so you can identify the right one quickly.
- Do not share screenshots containing visible passwords in public channels.
Common Errors and Troubleshooting
Sometimes the process does not go as planned. Here are common issues and how to resolve them.
- Access denied: You are not running the tool as administrator. Reopen Command Prompt or PowerShell with elevated privileges.
- Profile not found: The network name may have a typo or extra spaces. Run
netsh wlan show profilesagain and copy the exact name. - No key content shown: The network may use enterprise authentication, or the profile may be corrupted. Remove the profile and reconnect with the correct password.
- Settings option grayed out: Your account lacks permission. Try an administrator account or use netsh.
- Router page not loading: Confirm the default gateway IP and ensure you are connected to the router’s network. Disable VPNs temporarily.
- Wrong password after recovery: The router password may have changed since the PC saved it. Check the router admin panel.
Security Considerations
Retrieving a WiFi password is a legitimate task when you own the network or have permission. However, you should treat recovered keys as sensitive information. Anyone with access to your PC and administrator rights could potentially view saved passwords, which is why locking your computer and using strong user account passwords matters. On shared or public computers, avoid saving WiFi passwords, and always sign out when finished.
If you suspect unauthorized access, change the WiFi password immediately and remove old profiles from your devices. Consider enabling network encryption and disabling WPS, which can be a security weakness. Using a guest network for visitors keeps your primary key private while still offering internet access.
Frequently Asked Questions
Can I view a WiFi password without being connected to it?
Yes. If the network is saved on your PC, methods like Command Prompt and PowerShell can display its password even when you are not currently connected. Windows Settings and Control Panel usually focus on the active connection.
Do I need administrator rights?
Most reliable methods require administrator privileges because Windows protects stored credentials. Some Settings paths may work without admin rights for the currently connected network, but results vary by Windows version and configuration.
Will these methods work on Windows 11?
Yes. Windows 11 includes the same underlying tools. The Settings menu layout differs slightly, but netsh, PowerShell, Control Panel, and router methods work the same way.
What if the profile name has spaces?
Wrap the profile name in quotation marks when using netsh, such as netsh wlan show profile name="My Home WiFi" key=clear. This prevents parsing errors.
Is it legal to retrieve a WiFi password this way?
It is legal when you own the network or have explicit permission from the owner. Retrieving passwords for networks you do not own or are not authorized to access may violate laws and policies.
What should I do if none of the methods work?
Check the router label for the default password, contact your internet service provider, or reset the router to factory settings as a last resort. Keep in mind that resetting erases custom settings.
Conclusion
Knowing how to recover a forgotten wireless password on your computer is a valuable skill. Whether you use the friendly Settings app, the classic Control Panel, powerful command-line tools, or your router’s admin panel, Windows gives you multiple ways to view network keys. Start with the simplest method that fits your situation, and move to netsh or PowerShell when you need to retrieve passwords for networks you are not currently using. Always handle recovered passwords responsibly, store them securely, and update weak credentials when possible. With these techniques, you will never be stuck asking “How to Know Password of Wifi in Pc?” again.