How to Find and View Saved Wi-Fi Passwords in Windows 11 Using Settings and Command Prompt

Whenever you connect your Windows 11 computer to a home, office, or public Wi-Fi network, the operating system securely stores the wireless security key within an encrypted local network profile. Over time, as devices automatically reconnect in the background, it is easy to forget the exact passphrase. When you need to connect a secondary laptop, grant internet access to a visitor, or reconfigure a home smart TV, retrieving the active Wi-Fi key from your Windows 11 PC eliminates the frustration of searching for physical router stickers or accessing administrative router dashboards.

Windows 11 provides two native, reliable methods to retrieve stored wireless credentials without requiring risky third-party password extractors. You can reveal security keys for currently connected or previously known networks through the modern Settings application, or query all archived network profiles instantly using administrative Command Prompt instructions. This comprehensive guide walks you through both approaches step by step.

Method 1: Viewing Saved Wi-Fi Passwords via Windows 11 Settings

Modern builds of Windows 11 (version 23H2, 24H2, and newer) feature a direct, graphical tool to unmask saved network keys for both active connections and previously saved wireless profiles:

  1. Open the Settings app by pressing Win + I on your keyboard, or click the Start button and select the gear icon.
  2. Select Network & internet from the left-hand navigation pane.
  3. Click on the Wi-Fi section in the main view.
  4. To view the password of your currently connected network, click Manage known networks.
  5. Windows displays an alphabetical list of every wireless network your PC has connected to. Click on the name of the network whose password you wish to retrieve.
  6. Under the network property details, locate the row labelled View Wi-Fi security key.
  7. Click the View button.
  8. A User Account Control (UAC) prompt will appear on your screen requesting administrative confirmation. Click Yes.
  9. Windows unmasks the network security passphrase in plain text, alongside a convenient Copy button so you can paste the key into a secure note or message.

While configuring wireless adapters, ensuring your network adapter operates with secure name resolution improves overall connection speed and privacy; see our step-by-step tutorial on how to change DNS server addresses in Windows 11 settings.

Method 2: Viewing Wi-Fi Passwords Using the Classic Control Panel

If you are managing an earlier build of Windows 11 or prefer using classic administrative applets, the Network Connections interface provides an immediate method to inspect your active wireless adapter:

  1. Press Win + R to launch the Run dialogue box.
  2. Type ncpa.cpl and press Enter to open the Network Connections Control Panel applet.
  3. Locate your active wireless card (usually labelled Wi-Fi). Double-click the Wi-Fi adapter icon to open the Wi-Fi Status dialogue window.
  4. Click the Wireless Properties button located in the centre of the window.
  5. In the new window that appears, switch from the Connection tab to the Security tab.
  6. Here you will see the Security type, Encryption type, and Network security key obscured with black dots.
  7. Tick the checkbox labelled Show characters. Confirm the UAC prompt if requested.
  8. The plain-text Wi-Fi password will immediately become visible in the text field.

Method 3: Extracting Passwords for Any Saved Profile Using Command Prompt

When you need to look up the password of an offline network (such as your office Wi-Fi while working from home, or a friend’s Wi-Fi network), the Command Prompt provides complete access to all stored profile keys using the netsh command suite. Similar to how disk administrators leverage command-line utilities when learning how to change a drive letter in Windows 11 using Diskpart, netsh gives you direct control over wireless interfaces:

  1. Click the Start button, type cmd, right-click Command Prompt, and select Run as administrator.
  2. First, list all Wi-Fi network profiles stored on your Windows 11 computer by executing:
    netsh wlan show profiles
  3. The terminal outputs a list of network names under User profiles. Note the exact name of the network you wish to inspect.
  4. To retrieve the clear-text password for that profile, run the following command, replacing "NetworkName" with the actual network SSID:
    netsh wlan show profile name="NetworkName" key=clear
  5. Press Enter. Scroll down the output to the section titled Security settings.
  6. Locate the field labelled Key Content. The text displayed directly next to Key Content is the plain-text Wi-Fi password.

Exporting All Saved Wi-Fi Profiles and Keys at Once

If you are preparing to migrate to a new computer or perform a clean Windows 11 reinstallation, you can export all stored Wi-Fi profiles and their corresponding keys simultaneously into individual XML files:

  1. Open an elevated Command Prompt window.
  2. Create a dedicated folder or navigate to a target directory, such as your root drive or an external drive:
    mkdir C:\WiFiBackups && cd C:\WiFiBackups
  3. Execute the batch export command:
    netsh wlan export profile folder=C:\WiFiBackups key=clear
  4. Windows will generate an individual XML file for every saved network. Opening any of these XML files in Notepad will display the SSID and the plain-text key encased within the <keyMaterial> tags.

Security Advisory: Because exporting profiles with key=clear writes your wireless passwords unencrypted onto the storage drive, ensure you delete or securely encrypt these XML files once your migration or reference lookup is complete.

Troubleshooting Missing or Hidden Wi-Fi Passwords

If you follow these steps and the password field remains blank or inaccessible, consider the following environmental factors:

  • Enterprise WPA3/802.1X Networks: Corporate and university networks that require individual usernames, passwords, or digital certificates rather than a shared pre-shared key (PSK) will not display a static password under Key Content. The security profile relies on dynamic session tokens.
  • Standard User Account Permissions: Windows restricts regular standard accounts from unmasking stored network keys to protect corporate and shared family credentials. Ensure you provide administrative credentials when prompted by User Account Control.
  • Profile Deleted or Forgotten: If a network was removed via Forget Network or cleaned by automated privacy utilities, the XML profile is purged from C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\ and must be re-entered manually upon reconnecting.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.