Many users are familiar with the situation of needing to connect a new device to a wireless network, but the password has long been forgotten and unwritten. Fortunately, if at least one computer is already connected to the router or has connected to it before, restoring access to the security key is easy. Modern operating systems store this data in secure profiles accessible to authorized users.
There are several proven methods for extracting this information, ranging from the graphical settings interface to the command line for advanced users. The method you choose depends on your operating system and your comfort level with technical utilities. In this article, we'll cover all the current options for Windows and macOS in detail.
Using default settings in Windows 10 and 11
The easiest and safest way to find out security key Network settings—use the operating system's built-in graphical interface. This method doesn't require installing any additional software and is available to any user with administrator rights. The settings interface in Windows 10 and 11 differs slightly, but the logic remains the same.
First, you need to open the Network Control Panel. Press the key combination Win + R, enter the command ncpa.cpl and press Enter. In the window that opens, find your active wireless connection, right-click it, and select "Status." In the new window, click "Wireless Network Properties."
Go to the "Security" tab. You'll see the "Network Security Key" field, where the characters are hidden behind dots. To enable them, check the "Show entered characters" box. Then password will become visible in the open form.
⚠️ Note: If the "Security" tab is missing or the options are grayed out, make sure you're logged in with an account with administrator privileges. Standard user profiles may not have access to this data.
Password recovery via command line
For those who prefer speed and precision, using the console is a great solution. The Windows command line allows you to retrieve saved profiles and display their contents, including encryption keysThis method is especially useful if the graphical interface is not working correctly or is hidden by group policies.
Run the command prompt as administrator. To do this, enter cmd In the search box, right-click "Command Prompt" and select the appropriate option. First, you need to find out the exact name of your network profile. Enter the command:
netsh wlan show profiles
Find your network name in the list. Then use the following command, substituting your profile name:
netsh wlan show profile name="Your_Network_Name" key=clear
In the report that opens, find the "Security Settings" section. The "Key Contents" line will contain the password you're looking for. This method is universal and works even on systems without a graphical interface, such as server versions. Windows Server.
☑️ Check before entering a command
Viewing saved networks on macOS
Computer users Apple Mac Saved passwords can also be easily found, but the process is slightly different due to the file system and security features of macOS. Wireless network data is stored in the Keychain, which is the system's centralized password repository.
Open Keychain Access using Spotlight search (Cmd + Space) or find it in the Applications → Utilities folder. Select the "Passwords" category in the list on the left and find your Wi-Fi network in the "Name" column. Double-clicking on the name will open the properties window.
Check the "Show Password" box. The system will ask you to verify your identity: you will need to enter your macOS account password or use Touch ID. After successful authentication network key will be displayed in the text field.
| operating system | Location of settings | Necessary rights | Complexity of the method |
|---|---|---|---|
| Windows 10/11 | Control Panel / Settings | Administrator | Low |
| macOS | Bunch of keys | User (Touch ID) | Average |
| Linux (Ubuntu) | Network Settings / NMCLI | Root / Sudo | High |
| Android | Wi-Fi Settings / QR Code | User | Low |
Using third-party software
If standard tools seem too complex or you need to manage profiles en masse, you can use specialized software. There are utilities designed for auditing wireless networks that can export saved keys to a text file or display them in a user-friendly interface.
One of the popular programs is WirelessKeyView from NirSoft. It automatically scans the Windows registry and displays a list of all networks ever connected, along with their passwords. The program is portable and requires no installation, making it convenient for use from a flash drive.
However, be careful: many antivirus programs may classify such utilities as potentially unwanted programs (PUA), as they access sensitive data. Use only trusted sources and download software from the developers' official websites.
Why does my antivirus complain about password viewers?
Antivirus programs classify such utilities as "HackTool" or "RiskTool" because they can be used by attackers to steal data if they gain access to your computer. If you downloaded the program from the official website, this is a false positive.
Finding the password in the router's web interface
If none of the computer methods help, there's always the "gold standard"—configuring the router itself. To do this, access the router's admin panel. Open a browser and enter the device's IP address in the address bar, usually 192.168.0.1 or 192.168.1.1.
After entering your username and password (often admin/admin by default, unless you've changed them), go to the wireless network section. It may be labeled "Wireless," "Wi-Fi," or have an antenna icon. Under the "Security" or "Protection" subsection, you'll see a field with a key.
Here you'll not only see the current password but also be able to change it to a more complex one. After changing the settings, be sure to click "Save" or "Apply," otherwise the changes will not take effect and the devices will lose connection.
⚠️ Please note: When you change the password in your router settings, all connected devices (TVs, phones, tablets) will automatically be disconnected. You will need to re-enter the new key on each one.
Security measures and data protection
Understanding where and how your passwords are stored highlights the importance of overall cybersecurityIf anyone with physical access to the computer can easily find out the password, the device is not secure enough. Always use a password to log in to the operating system.
It's recommended to change your Wi-Fi access keys periodically, especially if you suspect they may have been used by unauthorized persons. Using an encryption protocol WPA3 or at least WPA2-AES provides reliable protection of transmitted data from interception.
It's also worth limiting who has access to the router's admin panel. Change the default administrator password to a unique and complex one. This will prevent unauthorized changes to network settings by attackers within the perimeter.
Frequently Asked Questions (FAQ)
Is it possible to view a Wi-Fi password if the computer is not currently connected to the network?
Yes, this is possible if your computer has previously connected to this network. Windows and macOS save profiles of all networks you've connected to. You can use the command line or control panel methods even if Wi-Fi is currently disabled or the network is unavailable.
What should I do if the "Security Key" field in the network properties is inactive (gray)?
Most likely, your account doesn't have administrator rights. Try logging in as an administrator or launching the Properties window from the Start menu, right-clicking, and selecting "Run as administrator" (for some utilities).
Is it safe to use programs like WirelessKeyView?
It's safe to use such programs only if they're downloaded from the developer's official website. However, remember that having such utilities on your computer may be flagged by your antivirus software as a threat. For one-time use, it's better to use Windows' built-in tools.
Where can I find the password if the router is new and I haven't set it up yet?
A new router almost always comes with a sticker with default information. Look for the "Wireless Password," "WPA Key," or "PIN" fields. This information is valid if you didn't change the security settings when you first turned it on.