It's quite common to need to connect a new device to a network but lose or forget the password. Fortunately, if you've connected to the desired access point on your computer at least once, the operating system may have saved this information. Finding a saved key — This is a standard feature of most modern operating systems and does not require the installation of third-party software.
In this article, we will look at several proven methods that allow you to look at the hidden password using various methods. You'll learn how to access data through a graphical interface and the command line, which is especially useful if standard menus don't work. The key requirement for all methods is that the laptop must be or have been previously connected to the target network.
Don't panic if you don't remember the character combination. System utilities They securely store this information in encrypted form, and we'll help you retrieve it. Let's look at specific steps for different operating systems.
Finding a password through Windows 10 and 11 settings
The easiest way to find out your access code is to use the operating system's graphical interface. In Windows 10 and 11, this process is slightly different visually, but the logic remains the same. You'll need access to Network Control Center or new system parameters.
To get started, open the Start menu and go to "Settings." Then select "Network & Internet." In the window that opens, look for the link "Change adapter settings" or "Advanced network settings," depending on your OS version. This will open the classic connections window.
⚠️ Important: To perform these actions, your account must have administrator rights. Without them, the system will not allow you to view sensitive security data.
Once the network connections window opens, locate your computer's icon. wireless connectionRight-click on it and select "Status." In the dialog box that appears, click "Wireless Network Properties." Go to the "Security" tab.
This is where the field you're looking for is located. You'll see the "Network Security Key" line, with the characters hidden behind dots. To see them, you need to check the "Show entered characters" box. After that, hidden password will become visible in plain-text format.
Using the Command Prompt in Windows
If the graphical interface does not work correctly or you need to quickly copy a long combination of characters, it is more convenient to use command lineThis method works on all versions of Windows since XP and is not dependent on interface updates.
To launch the utility, press the key combination Win + R, enter cmd and press Enter. You can also search for "Command Prompt" and run it as administrator. First, we need to find out the exact name of the network profile, if there are multiple.
Enter the command to list all saved profiles:
netsh wlan show profiles
Find your network name in the list. Then use the command to display detailed information, including the key. The syntax requires the profile name:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the "Security Settings" section. There will be a line called "Key Contents," which displays the code you're looking for. This method is especially useful for system administratorswho need to quickly retrieve data without unnecessary clicks.
☑️ Check before entering a command
How to find out your password on macOS
Laptop owners Apple MacBook And MacBook Air They can also easily restore access. On macOS, this information is stored in the iCloud Keychain or the local keychain. The search process varies depending on the operating system version.
In older versions of macOS (pre-Ventura), open Applications → Utilities → Keychain. Select System from the list on the left, then find your Wi-Fi network name in the list. Double-click the network name.
In the window that opens, check the "Show password" box. The system will ask you to enter your administrator password or use Touch ID. After confirming, you will see the saved code. In newer versions of macOS (Ventura and later), the path has changed: "System Preferences" → "Wi-Fi" → "Advanced" (three dots) next to a known network.
⚠️ Note: If you use iCloud to sync your keys, you may be asked to enter your password from another trusted device signed in with your Apple ID.
This method ensures that you receive the latest key, as macOS strictly monitors the integrity of the data in the keychain. Biometric security here it acts as an additional barrier to ensure the security of your data.
Viewing via PowerShell
An alternative to the classic command line is a more powerful tool - PowerShellIt allows you to not only reset passwords, but also export profiles or manage network adapters at a deeper level.
Run PowerShell as administrator. Enter the command similar to CMD, but in PowerShell, the results may be formatted differently, which can be easier to read:
netsh wlan show profile name="NetworkName" key=clear
If you don't remember the exact network name, use wildcard characters or list the network first. PowerShell also allows you to script this process if you need to collect passwords from multiple computers on a corporate network.
What to do if the command fails?
If the system says "Access Denied," make sure you're running the console as an administrator. If the error is "Network not found," the profile has been deleted or was never saved on this device. Try reconnecting manually by entering the code from another device.
Using PowerShell is preferred in enterprise environments where remote control configurations. However, for a home user, the difference between CMD and PowerShell in this context is minimal.
Comparison of recovery methods
Each of the described methods has its advantages and disadvantages. The choice depends on your current situation, OS version, and comfort level with technical tools.
| Method | Complexity | Speed | Requirements |
|---|---|---|---|
| Windows settings | Low | Average | Graphical interface |
| Command line | Average | High | Knowledge of syntax |
| macOS Keychain | Low | High | Access to the system |
| PowerShell | High | High | Admin rights |
As you can see from the table, the graphical interface is most friendly to beginners, while console commands provide quick results for experienced users. Selecting a tool remains yours.
Possible problems and their solutions
Sometimes, even with administrator rights, the system may not display the password. This often happens if the network profile is corrupted or if specific enterprise security policies are in place. In such cases reset network settings may help.
Another common issue is the "Show Characters" button being grayed out. This means the current user doesn't have sufficient privileges. Try logging in as an administrator.
If your laptop has never connected to this network, none of the software methods will help. You'll have to look for a sticker on the router or use a device that's already connected to it. scan a QR code (if such function is supported).
⚠️ Note: Operating system and router interfaces are updated regularly. The location of menu items may vary slightly depending on the firmware version or Windows/macOS build. Always consult the manufacturer's current documentation if the standard path doesn't work.
In rare cases, antivirus software may block access to system security settings. Try temporarily disabling security modules to run diagnostics.
Frequently Asked Questions
Is it possible to find out the Wi-Fi password if the laptop is not connected to it?
No, the operating system only stores keys that have been used to successfully connect at least once. If the device has never connected to the network, there is no data in memory.
Is it safe to use third-party password recovery programs?
Using unverified software carries risks. Many such programs contain malware or spyware. It's better to use built-in OS tools, which are guaranteed to be safe.
What should I do if I forgot my router password to access the settings?
If the default login and password (often admin/admin) don't work, you'll need to reset the router to factory settings (press the Reset button). After that, the device will need to be configured again.
Where can I find the Wi-Fi code if I don't have a laptop at hand?
Try checking the sticker on the bottom of the router. You can also use an Android (version 10+) or iOS smartphone to scan the connection QR code, which is often generated in the Wi-Fi settings on an already connected phone.