What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

If a Windows 10 or Windows 11 PC has connected to a Wi-Fi network before and its saved profile still exists, Command Prompt can display the stored network key. Run netsh wlan show profiles to find the profile name, then run netsh wlan show profile name="PROFILE-NAME" key=clear. Look under Security settings for Key Content.

This reads a credential saved on that PC; it does not contact the router, crack a password, or reveal the credentials for a network the PC has never joined. Use it only on a computer and network you are authorized to access.

Before you start

  • The PC must have connected to the network before, and the wireless profile must not have been removed.
  • The saved key may be out of date if the router’s Wi-Fi password has changed.
  • The command can print the key in readable text. Keep the Command Prompt window and any copied output private.
  • Microsoft’s netsh wlan reference lists Windows 10 and Windows 11 among the supported versions. Output labels and access can still vary with Windows build, language, policy, profile, and account permissions.

Show a saved Wi-Fi password in Command Prompt

1. Open Command Prompt

Open Start, type Command Prompt or cmd, and select the app. You can also press Windows key + R, type cmd, and press Enter. A regular window may be sufficient for viewing a profile that your account can access. If Windows reports an access or permission error, reopen Command Prompt using Run as administrator and approve the User Account Control prompt.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. List the saved Wi-Fi profiles

Enter this command and press Enter:

netsh wlan show profiles

Windows lists wireless profiles stored on the PC. The profile name often matches the network’s SSID, but do not assume they are identical. Copy the name shown after All User Profile, including its spaces and punctuation.

#1 Best Overall
Sale
TP-Link AC600 USB WiFi Adapter for Desktop PC - USB Wireless Adapter for PC
  • 𝐋𝐨𝐧𝐠 𝐑𝐚𝐧𝐠𝐞 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 – This compact USB Wi-Fi adapter provides long-range and lag-free connections wherever you are. Upgrade your PCs or laptops to 802.11ac standards which are three times faster than wireless N speeds.
  • 𝐒𝐦𝐨𝐨𝐭𝐡 𝐋𝐚𝐠 𝐅𝐫𝐞𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 – Get Wi-Fi speeds up to 200 Mbps on the 2.4 GHz band and up to 433 Mbps on the 5 GHz band for upgraded web surfing, gaming, and streaming. Performance varies by conditions, distance to devices, and obstacles such as walls.
  • 𝐃𝐮𝐚𝐥-𝐛𝐚𝐧𝐝 𝟐.𝟒 𝐆𝐇𝐳 𝐚𝐧𝐝 𝟓 𝐆𝐇𝐳 𝐁𝐚𝐧𝐝𝐬 – Dual-bands provide flexible connectivity, giving your devices access to the latest routers for faster speeds and extended range. Wireless Security - WEP, WPA/WPA2, WPA-PSK/WPA2-PSK
  • 𝟓𝐝𝐁𝐢 𝐇𝐢𝐠𝐡 𝐆𝐚𝐢𝐧 𝐀𝐧𝐭𝐞𝐧𝐧𝐚 – The high gain antenna of the Archer T2U Plus greatly enhances the reception and transmission of WiFi signal strengths.
  • 𝐀𝐝𝐣𝐮𝐬𝐭𝐚𝐛𝐥𝐞, 𝐌𝐮𝐥𝐭𝐢-𝐃𝐢𝐫𝐞𝐜𝐭𝐢𝐨𝐧𝐚𝐥 𝐀𝐧𝐭𝐞𝐧𝐧𝐚: Rotate the multi-directional antenna to face your router to improve your experience and performance
Profiles on interface Wi-Fi:

User profiles
-------------
    All User Profile     : HomeNetwork
    All User Profile     : OfficeWiFi
    All User Profile     : GuestNetwork

3. Query the profile and display its key

Replace the example name with the exact profile name, keeping quotation marks around it—especially when it contains spaces:

netsh wlan show profile name="HomeNetwork" key=clear

For a profile called My Home Wi-Fi, for example, use:

netsh wlan show profile name="My Home Wi-Fi" key=clear

In the output, find Security settings and then Key Content. A recoverable shared Wi-Fi key normally appears beside that label:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Nineplus Wireless USB WiFi Adapter for PC - 1300Mbps Dual 5Dbi Antennas 5G/2.4G WiFi Adapter for Desktop PC Laptop Windows11/10/7, Wireless Adapters for Desktop Computer Network Adapters
  • Fast 1300Mbps USB WiFi Adapter - Nineplus wifi adapter provides long-range and stable wifi connections,Upgrade your desktop or laptop wifi Technology with our AC1300Mbps usb wireless Adapter. Whether your desktop pc's wifi usb is malfunctioning or you’re looking to upgrade to faster dual-band 5GHz and 2.4GHz speeds, this pc wifi adapter is the ideal choice. It’s a budget-friendly way to extend your device’s life and experience the benefits of modern WiFi technology
  • Dual-band 5.8GHz and 2.4GHz Bands - 5.8Ghz wifi Connection speed up to 867Mbps,2.4GHz 400Mbps,With these upgraded speeds, web surfing, gaming, and streaming online meeting is much more enjoyable without buffering or interruptions,Experience the High Wi-Fi speed of our AC1300Mbps wifi dongle delivers faster internet speeds and stronger, more reliable signal penetration over long distances. It's a high-speed dual-band wifi usb adapter for pc and easy for the modern user.
  • Two 5dBi High Gain Wifi Antenna – The high gain antenna of the desktop wifi adapter greatly enhances the reception and transmission of WiFi signal strengths.Equipped with dual high-gain pc wifi antenna, our wifi dongle for desktop pc ensures accurate capture of WiFi signals, providing a stable and strong connection even at greater distances, ideal for overcoming poor signal issues in bedrooms. This computer wifi adapter, wifi card, and usb wifi antenna extend your coverage.
  • Super Speed USB 3.0 - wifi adapter for desktop pc Connect speeds Up to 10x faster than USB 2.0 USB, Super USB3.0 delivers faster data transfer, a more reliable network connection, and improved compatibility for wifi adapter for pc. It fully supports the high-speed demands of AC1300 wireless adapter, ensuring peak performance. Plus, it's backward compatible with standard USB 2.0 ports for added flexibility.usb wifi adapter for desktop pc 3.0
  • Compatibility Systems: This Wi-Fi usb adapter is compatible with Windows11/10/8.1/8/7/XP,not supports Mac OS or Chromebook or Linux. Most Windows 11/10 systems will automatically detect and install the drivers. If the system does not detect the driver, you will need to download it from our website. For Windows 7, you will need to manually install the driver for this wifi card.or you go to the website online-setup support,we do online-setup for you.
Security settings
-----------------
    Authentication     : WPA2-Personal
    Cipher             : CCMP
    Security key       : Present
    Key Content        : example-password

The example password above is illustrative, not a real credential. On a localized copy of Windows, the field label may be translated. The key=clear option asks Windows to display the stored key as readable text. The command is part of Windows’ WLAN command set; it can also be run in Windows Terminal or PowerShell. Microsoft documents the WLAN commands and profile options in its netsh wlan command reference.

4. Close the window when finished

Do not share a screenshot or paste the output into a public forum or support chat. Close the window after you have copied the password where it is needed.

Find the connected network’s name first

If you are unsure which profile belongs to the network currently in use, run:

Rank #3
Tenda AX900 WiFi Adapter WiFi 6- Dual-Band 600Mbps 5GHz/ 286Mbps 2.4GHz, 6dBi High Gain Antenna, Wireless WiFi Adapter for Windows 11/10/7 USB WiFi Dongle (U11Pro)
  • ★【𝗨𝗹𝘁𝗿𝗮-𝗙𝗮𝘀𝘁 𝗪𝗶𝗙𝗶 𝟲】 - Experience up to 38% faster 5GHz and 43% faster 2.4GHz connections with this USB WiFi Adapter for Laptop, compared to AC600 adapters.Ideal for 4K streaming, competitive gaming, and video conferencing without lag or buffering.
  • ★【𝗘𝘅𝘁𝗲𝗿𝗻𝗮𝗹 𝗛𝗶𝗴𝗵-𝗴𝗮𝗶𝗻 𝗔𝗻𝘁𝗲𝗻𝗻𝗮】 - The external 6dBi omnidirectional high-gain antenna provides multi-dimensional rotation, greatly improving weak signal reception compared to built-in antennas. It ensures a smooth networking experience for devices in environments with significant interference.
  • ★【𝗘𝗮𝘀𝘆 𝗦𝗲𝘁𝘂𝗽 】- Preloaded drivers enable instant setup on Windows 11/10/7. No technical skills required—get online in 20 seconds.
  • ★【𝗦𝘂𝗽𝗽𝗼𝗿𝘁 𝗔𝗣 𝗺𝗼𝗱𝗲 & 𝗠𝗨-𝗠𝗜𝗠𝗢】 - AP Mode allows the U11Pro wifi usb adapter to turn your PC into a Wi-Fi hotspot, up to 8 devices can be connected(Note:AP Mode only supports the 5GHz Band)
  • ★【𝗚𝗿𝗲𝗮𝘁𝗲𝗿 𝗪𝗶-𝗙𝗶 𝗖𝗼𝘃𝗲𝗿𝗮𝗴𝗲】 - Compared with the Wi-Fi 5 adapter, the Tenda intelligent algorithm used by U11Pro can better assist the stable transmission of wireless signals and make the wireless transmission range wider.
netsh wlan show interfaces

Look for the current SSID, then compare it with the names returned by netsh wlan show profiles. A PC with multiple wireless adapters or virtual interfaces may show more than one interface. The Microsoft WLAN command reference documents both interface and profile commands.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Troubleshoot a missing profile or password

Windows says the profile cannot be found

Run netsh wlan show profiles again and copy a listed profile name exactly. A common mistake is entering the network’s advertised SSID rather than the profile name, or confusing similar names such as HomeWiFi and HomeWiFi-5G. Spaces, punctuation, and spelling matter; quotation marks allow spaces in the command. If the network is not listed, it may never have been saved on this PC, may have been removed with Forget, or may be associated with another interface or account.

There is no Key Content field

A missing field does not necessarily mean the command failed. Some profiles have no shared Wi-Fi key to display: an open network has no Wi-Fi password, while enterprise networks may authenticate with a username, certificate, smart card, or managed device credentials instead. Policy-controlled profiles and profiles without a locally recoverable key may also lack a conventional key value. For work or school Wi-Fi, ask the network administrator rather than trying to bypass its access controls.

Rank #4
Sale
TP-Link USB WiFi 6 Adapter for Desktop PC,AX1800 Dual Band WiFi Antenna
  • 𝐏𝐥𝐞𝐚𝐬𝐞 𝐮𝐬𝐞 𝐔𝐒𝐁 𝟑.𝟎 𝐩𝐨𝐫𝐭 𝐭𝐨 𝐞𝐧𝐬𝐮𝐫𝐞 𝐨𝐩𝐭𝐢𝐦𝐚𝐥 𝐩𝐞𝐫𝐟𝐨𝐫𝐦𝐚𝐧𝐜𝐞.
  • 𝐋𝐢𝐠𝐡𝐭𝐧𝐢𝐧𝐠-𝐅𝐚𝐬𝐭 𝐖𝐢𝐅𝐢 𝟔 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 -Experience faster speeds with less network congestion compared to previous generation Wi-Fi 5. AX1800 wireless speeds to meet all your gaming, downloading, and streaming needs
  • 𝐃𝐮𝐚𝐥 𝐁𝐚𝐧𝐝 𝐖𝐢𝐅𝐢 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 - 2.4GHz and 5GHz bands for flexible connectivity (up to 1201 Mbps on 5GHz and up to 574 Mbps on 2.4GHz)
  • 𝐎𝐧𝐥𝐲 𝐖𝐢𝐧𝐝𝐨𝐰𝐬 𝟏𝟏/𝟏𝟎 𝐂𝐨𝐦𝐩𝐚𝐭𝐢𝐛𝐥𝐞 - The Archer TX20U Plus is only compatible with Windows 11 and 10 on desktops and laptops. Not compatible with Linux or Mac.** For best performance: keep firmware updated by checking the Tether App.
  • 𝐔𝐩𝐠𝐫𝐚𝐝𝐞 𝐘𝐨𝐮𝐫 𝐂𝐨𝐦𝐩𝐮𝐭𝐞𝐫'𝐬 𝐖𝐢-𝐅𝐢 - All USB WiFi adapters are designed to add or upgrade your computer’s Wi-Fi. Actual speeds cannot exceed the connecting router’s maximum speed. For optimal performance, pair the Archer TX20U Plus with a WiFi 6 or above router.

Hotels, airports, and cafés may use a web sign-in page in addition to—or instead of—a Wi-Fi key. The profile command cannot reveal a captive-portal account password or bypass the portal.

Windows reports an access or permission error

Retry from an elevated Command Prompt: open Start, search for Command Prompt, choose Run as administrator, and approve the prompt. Whether elevation is needed to view a particular profile depends on the profile and the account’s access. Microsoft specifically states that exporting a profile with key=clear writes its key in plain text only when the command is run by a local administrator.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The displayed password does not connect another device

The command shows the key stored in the selected Windows profile, which may be an old password if someone changed the router’s Wi-Fi password. Confirm the current password with the network owner, the router label or provider app, or the router’s administration page if you are authorized to use it. You can also reconnect the PC using the current password and then try the other device again.

Best Value
Sale
TP-Link USB WiFi Adapter for Desktop PC, AC1300 Dual Band WiFi Antenna
  • 𝐅𝐚𝐬𝐭 𝐖𝐢𝐅𝐢 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 𝐟𝐨𝐫 𝐃𝐞𝐬𝐤𝐭𝐨𝐩 𝐏𝐂: AC1300 dual-band WiFi ensures your device will run at fast speeds (867 Mbps on the 5 GHz band or 400 Mbps on the 2.4 GHz band)
  • 𝐔𝐩𝐠𝐫𝐚𝐝𝐞 𝐘𝐨𝐮𝐫 𝐂𝐨𝐦𝐩𝐮𝐭𝐞𝐫'𝐬 𝐖𝐢-𝐅𝐢 - All USB WiFi adapters are designed to add or upgrade your computer’s Wi-Fi. Actual speeds cannot exceed the connecting router’s maximum speed.
  • 𝐌𝐔-𝐌𝐈𝐌𝐎 𝐓𝐞𝐜𝐡𝐧𝐨𝐥𝐨𝐠𝐲: Improves the throughput and efficiency of the whole network with MU-MIMO technology.
  • 𝐃𝐮𝐚𝐥-𝐁𝐚𝐧𝐝 𝐖𝐢𝐫𝐞𝐥𝐞𝐬𝐬: The 2.4 GHz and 5 GHz bands provide flexible connectivity, giving your devices access to the latest dual-band WiFi router for faster speed and extended range.
  • 𝟓 𝐝𝐁𝐢 𝐇𝐢𝐠𝐡-𝐆𝐚𝐢𝐧 𝐀𝐧𝐭𝐞𝐧𝐧𝐚𝐬: Advanced external high-gain antennas greatly enhance the reception and transmission signal strength of the USB adapter.

The network was never saved on this PC

This method cannot retrieve a key that Windows never stored or that has since been removed. Ask the network owner, check an authorized router or provider app, or use another connected device’s sharing feature if available.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Use Windows settings instead

If you are currently connected and prefer not to use a command, Windows also offers graphical ways to view network details. Microsoft’s Windows Wi-Fi instructions describe a Show Wi-Fi network password option in supported current Windows 11 interfaces and an older route through Wireless Network Properties, the Security tab, and Show characters. The Settings layout and labels can differ by Windows build.

Optional: export one profile to a file

Most readers only need to display the key in Command Prompt. Export a profile only when you have a specific reason to keep or transfer its configuration, because an XML file created with key=clear can contain the Wi-Fi key in plain text.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To export a single profile, first create a destination folder and then run the export command from an elevated Command Prompt, substituting the exact profile name:

mkdir "%USERPROFILE%DesktopWiFiProfiles"
netsh wlan export profile name="HomeNetwork" folder="%USERPROFILE%DesktopWiFiProfiles" key=clear

The destination folder must exist and be locally accessible; Microsoft says UNC paths are not supported. Treat the resulting XML as a password: do not email or upload it, and delete it when it is no longer needed. See Microsoft’s export profile documentation for the command’s options and permissions.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.