How to find out the Wi-Fi password on a desktop computer

It's quite common to need to connect a new device to your home network but lose or forget the password. Fortunately, if at least one computer is already connected to the wireless network, access can be restored using the operating system's built-in tools. Modern Windows and macOS operating systems store security keys in special registries, which can be accessed without complex hacking tools.

In this article, we'll look at proven methods for extracting saved passwords. You'll learn how to use command line, the system's graphical interface, and even your router's web interface. These methods are universal and suitable for both older versions of Windows and the latest releases.

Don't panic if you've forgotten the complex symbols you once invented for protection. Desktop computer Often becomes the trusted device that remembers all settings. The main thing is to have physical access to the system and administrator rights, without which changing security settings will be impossible.

⚠️ Attention: All methods described below are intended solely for restoring access to your own networks or networks that you are officially authorized to administer.

Password recovery through Windows 10 and 11 settings

The easiest and most secure way to find your access key is to use the operating system's graphical interface. This method requires no command knowledge and is easy to understand even for novice users. However, the interface may differ depending on your Windows version, so we'll cover a general procedure.

First, you need to open the network connection management menu. In Windows 10 and 11, this is done via Control Panel or ParametersIf you're on Windows 11, the path may be a little longer due to the updated design of the Settings menu. Click the Wi-Fi icon in the system tray or go to Settings → Network & Internet.

Next, you need to find the section responsible for additional network settings. In the classic view, this is called Network and Sharing CenterHere you'll see your active connection. Click on your wireless network's name to open the status window.

📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 8/8.1
Windows 7 or later

In the window that opens, find the button Wireless network propertiesIt opens a dialog box that displays the connection's technical specifications. Go to the tab SecurityThis is where the key we are looking for is hidden.

Default field Network security key Hidden by asterisks. To see the symbols, check the box next to the item. Show entered charactersThe system may request confirmation of administrator rights—this is a standard data protection procedure.

After confirmation, the password will be displayed in plain text. You can now copy it or write it down. This method works reliably if the computer is currently connected to the network or has previously connected to one.

Using the Command Prompt to View Keys

For more advanced users or in cases where the graphical interface does not work correctly, it is ideal command lineThis tool provides direct access to Windows network profile configurations. This method is especially useful if you need to find the password for a network the computer isn't currently connected to but has stored in memory.

Run the command prompt as administrator. To do this, enter cmd In the search box, right-click on the result and select the appropriate option. The first step is to get a list of all saved Wi-Fi profiles.

Enter the command netsh wlan show profilesThe system will display a list of all networks for which passwords have ever been saved on this PC. Find the required network name (SSID) in the list.

Now you need to request detailed information about a specific profile. Use the following structure:

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

Instead of Your_network_name Enter the exact name of your Wi-Fi network that you saw in the list earlier. If the name contains spaces, quotation marks are required. In the command output, find the section Security parameters. Field Key content will contain the password in clear text.

What should I do if the command prompt gives an access error?

If you see a permissions error message, make sure you're running the console as an administrator. The issue may also occur if the network profile is corrupted or has been deleted by system cleanup utilities.

This method is great because it allows you to quickly access data without having to navigate menus. The commands work on all modern versions of Windows, starting with Windows 7. Just be careful with the syntax and the correct spelling of the network name.

Viewing the password through the router's web interface

If your computer is connected to the router via cable or you already know the password for the device's admin panel, you can access the settings directly on the router. This is the "source of truth," as the router distributes the keys to all devices. To log in, you'll need the gateway IP address.

Open your browser and enter your router's address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address can be found through the command line by entering the command ipconfig and finding the line Main gateway.

After entering the address, the system will ask for your login and password. If you haven't changed them, they may be the default ones (often admin/admin) and are indicated on the sticker on the bottom of the router. If you changed your login details and forgot them, this method will not work without a factory reset.

In the router interface (for example, Keenetic, TP-Link, Asus, D-Link) you need to find the section related to the wireless network. It may be called Wireless, Wi-Fi, Wireless network or WLANLook for the subsection inside Security or Security settings.

In the field Encryption key, Password or Pre-Shared Key The current password will be displayed. In some firmware versions, it's hidden, but there's a "Show" button (an eye) next to it. If the field is empty or completely hidden, you can simply enter a new password and save the settings.

⚠️ Attention: Changing the password in your router settings will disconnect all devices from the Wi-Fi network. You'll have to reconnect phones, tablets, and TVs using the new key.

This method is especially useful if you need to find out a password and the computer you are trying to use is not connected to the network, but has a wired connection to the router.

Restoring access on macOS

Computer users Apple You may also need to remember your password. In the macOS operating system, all saved keys are stored in a special secure database called Bunch of keys (Keychain Access). Access is provided through built-in utilities.

To find the password you need, open the system search (Spotlight) and type "Keychain" or Keychain AccessLaunch the app. Select a category in the left column. System or Entrance, and then sort the list by name.

Find the name of your Wi-Fi network in the list. Double-click it to open its properties. In the window that opens, check the box. Show passwordThe system will ask you to enter your macOS account password (or Touch ID) to confirm your identity.

After successful authentication, the password you're looking for will be displayed in the text field. This method is secure and works on all current versions of macOS, including Catalina, Big Sur, Monterey and newer ones.

If you use iCloud and iCloud Keychain, passwords saved on your Mac can be accessed on other Apple devices signed in with the same Apple ID. This allows for convenient syncing of network settings.

Using third-party software

There are many programs that automate the password extraction process. They are convenient because they provide a graphical interface with a list of all networks and "Copy" buttons. However, using such software requires caution.

One of the popular utilities is WirelessKeyView from NirSoft. This is a portable program that doesn't require installation. It scans the Windows registry and displays a list of all saved Wi-Fi profiles with their keys in plaintext. The program is lightweight and free.

Another option is - WiFi Password RevealerThis tool can also recover lost passwords and has a quick copy function. However, be careful when installing: such programs often prompt you to install additional software (adware), which you should refuse.

Program Platform License Peculiarities
WirelessKeyView Windows Freeware Portable, no installation required
WiFi Password Revealer Windows Free/Pro Simple interface, there are ads
Bunch of keys macOS Built-in Native Apple tool
Command line Windows/Linux Built-in Requires command entry

The main risk of using third-party software is the possible presence of viruses or Trojans in the installers. Antivirus programs can react to such programs as HackTool or PUP (Potentially Unwanted Program), as they interfere with system security settings.

What to do if your computer doesn't remember the network

Sometimes a computer has never connected to the desired network, or the profile has been deleted. In this case, it's impossible to recover the password from that specific PC using software. However, there are workarounds.

If you have access to another device (such as an Android smartphone) that's connected to Wi-Fi, you can view the password there. On Android 10 and above, you can open the network's QR code, and often the password will appear in text form underneath it or when scanned with another phone.

You can also use physical access to the router. If the settings haven't been changed, the password may be on the factory sticker. If they have been changed but you don't remember them, the only option left is to reset the router to factory settings using the reset button. Reset.

After resetting, the router will revert to the factory password (indicated on the sticker), and you'll be able to connect. You can then use the web interface (as described above) to set a new password.

☑️ Check before resetting your router

Completed: 0 / 4

⚠️ Attention: Resetting your router deletes all settings, including your ISP settings. If you don't know your internet login and password (PPPoE, L2TP), you may not be able to access the internet after the reset without calling your ISP's technical support.

Therefore, before resorting to drastic measures, try all the software recovery methods described in the previous sections. Often, the information you're looking for is already hidden deep within the system; you just need to know where to look.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if I'm not the computer administrator?

Without administrator rights, access to system security settings and the command prompt with read/write permissions for Wi-Fi profiles will be limited. You won't be able to view the password using standard Windows tools. However, if you have physical access to the router, you can try accessing its settings if the factory administrator password hasn't been changed.

Where are Wi-Fi passwords stored in the Windows file system?

Passwords are stored encrypted in system registry and configuration files. The path to these files is not intended for direct user editing. Directly copying these files to another computer without the appropriate encryption keys will not allow password recovery. Use the built-in utilities. netsh or graphical interface.

Is it safe to save Wi-Fi passwords in Windows?

Yes, it's safe as long as you use a strong password to log in to your Windows account and don't allow others physical access to your computer while it's running. Windows encrypts stored keys. The risk only arises if an attacker gains administrator rights on your system.

What should I do if the name I need is not in the list of networks?

This means the computer has never connected to this network or the profile has been deleted. In this case, it's impossible to find the password through this computer. Try finding another device that has previously connected to this network or reset the router.