If your computer connects to WiFi automatically but you don't know the password, Windows already saved it. Many users only realize this after buying a new phone, resetting the router, or reinstalling Windows and suddenly losing internet access.
This guide shows how to view saved WiFi passwords in Windows 10 and Windows 11, recover wireless keys from a formatted PC, and export all networks before reinstalling Windows.
You can use these methods when:
- You forgot your WiFi password but the PC still connects
- You reset the router and need the old password
- You bought a new device and want to connect it
- You installed Windows again and lost saved networks
- You want to backup all WiFi passwords before formatting
In This Guide
Why Backup WiFi Passwords Before Formatting?
Windows stores WiFi passwords in encrypted form within the system. When you format or reinstall Windows, these stored credentials are permanently deleted. Common scenarios where you need extracted WiFi passwords:
- Windows reinstallation: Fresh install removes all saved network credentials
- Router factory reset: If you reset your router, you'll need the original WiFi passwords
- New computer setup: Transfer network settings to a new device
- Forgotten passwords: Recover passwords for networks you've connected to but forgotten
- Office/network migration: Multiple network credentials for business environments
Important Security Note
Only extract WiFi passwords from computers you own or have permission to access. These methods are for legitimate recovery of your own forgotten credentials.
How to See WiFi Password of Connected Network
If your computer is currently connected to WiFi but you don't know the password, you can reveal it instantly without disconnecting.
Quick Method (Windows Settings)
- Open Control Panel → Network and Sharing Center
- Click your connected WiFi network
- Select Wireless Properties
- Open the Security tab
- Check "Show characters"
The displayed text is your WiFi password.
Method 1: Extract WiFi Password Using Command Prompt
The built-in Windows Command Prompt provides direct access to saved WiFi profiles. This method works on Windows 7, 8, 10, and 11.
Step 1: Open Command Prompt as Administrator
Press Win + X and select "Windows Terminal (Admin)" or "Command Prompt (Admin)". Administrative privileges are required to view WiFi passwords.
Step 2: View All Saved WiFi Profiles
Type the following command and press Enter:
netsh wlan show profiles
This displays a list of all WiFi networks your computer has connected to and saved.
Step 3: Extract Password for Specific Network
To view the password for a specific network, use this command format:
netsh wlan show profile name="NETWORK_NAME" key=clear
Replace NETWORK_NAME with the exact name from your list. Look for "Key Content" in the output - this is your WiFi password.
Pro Tip: Save Output to File
To save all WiFi passwords to a text file, use: netsh wlan show profiles > C:\wifi_passwords.txt This creates a backup file with all network information.
Method 2: Using PowerShell (Windows 10/11)
PowerShell offers more advanced options for WiFi password extraction, especially useful for multiple networks.
# PowerShell command to get WiFi password for specific network
(netsh wlan show profile name="NETWORK_NAME" key=clear) | Select-String "Key Content"
# Export all WiFi profiles with passwords to CSV
$WiFiProfiles = netsh wlan show profiles | Select-String "All User Profile"
$Results = @()
foreach ($Profile in $WiFiProfiles) {
$SSID = $Profile.ToString().Split(":")[1].Trim()
$Password = (netsh wlan show profile name=$SSID key=clear) | Select-String "Key Content"
$Results += [PSCustomObject]@{
SSID = $SSID
Password = if ($Password) { $Password.ToString().Split(":")[1].Trim() } else { "Not Available" }
}
}
$Results | Export-Csv -Path "C:\WiFi_Passwords.csv" -NoTypeInformation
This PowerShell script exports all saved WiFi passwords to a CSV file, perfect for backup before formatting.
Method 3: Automated Tools (Recommended for Most Users)
For users who need to extract multiple WiFi passwords or want a simpler interface, specialized tools are the best solution.
Using Advanced Password Recovery Suite
Our Advanced Password Recovery Suite automates WiFi password extractionand can also export saved browser passwords before reinstall and backup Windows license keys before formatting:
- Download and install APRS on your current Windows system
- Launch the tool and select "WiFi Passwords" from the scan options
- Click "Start Scan" - it automatically detects all saved WiFi networks
- View results in a clear table showing Network Name (SSID) and Password
- Export options: Save to CSV, text file, or copy to clipboard
Advantages over manual methods: No command line knowledge needed, extracts all passwords at once, works even if some profiles are corrupted, exports to multiple formats.
Download APRS Free Trial| Method | Difficulty | Best For | Multiple Networks |
|---|---|---|---|
| Command Prompt | Intermediate | Single network recovery | Manual, one at a time |
| PowerShell | Advanced | Batch export, IT professionals | Yes (with scripting) |
| APRS Tool | Beginner | All users, complete backup | Yes (automatic) |
Forgot WiFi Password After Router Reset?
If you reset your router but devices still connect automatically, one of your computers still knows the old password. You can extract it and reconfigure the router with the same key to avoid reconnecting every device in the house.
This is especially useful for smart TVs, cameras, and IoT devices that are difficult to reconnect manually.
Best Practices & Security Considerations
Security Guidelines
- Store securely: Never save extracted WiFi passwords in cloud storage without encryption
- Use password managers: Consider storing WiFi passwords in secure password managers like Bitwarden or KeePass
- Encrypt backup files: Use VeraCrypt or password-protected ZIP files for backup storage
- Delete after use: Remove extracted password files after successful network migration
Backup Checklist
- Extract WiFi passwords at least 24 hours before formatting
- Test extracted passwords on another device if possible
- Save backup file to external USB drive or encrypted location
- Verify all important networks are included (home, work, mobile hotspots)
- Keep physical backup of router admin credentials separate from WiFi passwords
Frequently Asked Questions
- You're not running Command Prompt as Administrator (right-click and select "Run as administrator")
- The network uses enterprise/domain authentication (WPA2-Enterprise)
- The password is stored in Windows Credential Manager instead of wireless profiles
- The network profile is corrupted
- Recovering forgotten WiFi passwords
- Backing up credentials before system changes
- Migrating network settings to new devices
- IT administration of company-owned equipment
Conclusion & Next Steps
Before reinstalling Windows or resetting your router, scan your system and list every stored wireless network. The free scan shows all recoverable WiFi passwords instantly.
Remember to always store extracted passwords securely and test them before formatting your computer. A complete WiFi password backup ensures seamless network reconnection after Windows reinstallation or hardware upgrades.
Ready to Extract Your WiFi Passwords?
Download the free trial to see what WiFi passwords can be extracted from your system. The trial shows all extractable networks before purchase.