How to find out the password for the Wi-Fi network your computer is connected to

It's common to need to connect a new device to a wireless network but have forgotten the access key. Fortunately, if your computer or laptop is already successfully connected to the router or has ever been connected to one, the operating system Windows Automatically stores these credentials in memory. You won't need to reset your router to factory settings or look for the sticker on the bottom of the device if you have physical access to an already authorized PC.

There are several proven methods for extracting this information, ranging from the graphical interface to console commands. The choice of a specific method depends on your operating system version and your comfort level with technical tools. In some cases, accessing the router's web interface may be necessary, which is also a reliable solution.

It is important to understand that all the actions described below are only legal if you are the owner of the network or have administrator permission. The password is stored in encrypted form in the system registry and is only accessible to users with administrator rights. We'll walk you through step-by-step instructions for various scenarios so you can restore access to your network data as quickly as possible.

Viewing a password through the Windows graphical interface

The easiest and most accessible way to find a forgotten key is to use the standard network properties display tools in your operating system. This method works reliably on all modern versions of Windows, including 10 and 11, and doesn't require complex commands. All you need to do is click the relevant menu items a few times.

To get started, open the Start menu and go to Settings, or right-click the network icon in the system tray and select "Network and Internet Settings." In the window that opens, find the "Network and Sharing Center" link or go directly to the adapter settings. Here, select your active wireless connection by clicking on its name.

In the status dialog box that opens, click the button Wireless network properties. After that, switch to the tab SecurityThis is where the information you're looking for is located, hidden by asterisks by default. To see the characters, check the box next to "Show entered characters."

⚠️ Attention: If the Security tab is blank or the buttons are grayed out, make sure you're logged in with an account with administrator privileges. Standard users may not have access to view saved security keys.

It's worth noting that the Settings interface has been significantly redesigned in recent Windows 11 updates. The path may now look different: Settings → Network & Internet → Wi-Fi → Manage known networksAfter selecting the desired network from the list, you'll see a "View" button next to the security key field. This new interface is more intuitive, but functionally identical to the classic one.

Using the command line to extract the key

For more advanced users or in situations where the graphical interface isn't working correctly, using the command line is a great solution. This method not only allows you to view the password for the current network but also displays the keys for all networks the computer has previously connected to. This is especially useful if you want to restore access on another device and the current PC is temporarily disconnected from the router.

Run the command prompt as administrator. To do this, enter cmd In Windows Search, right-click 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 profiles and press Enter. The system will display a list of all networks whose passwords are stored in memory.

Once you find the name of the desired network in the list, use the following command to display the details, including the security key:

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

In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. If the network name contains spaces, be sure to enclose it in quotation marks, as shown in the example above.

  • 🔍 Search all networks: Team show profiles Without parameters, it displays only the names, which is convenient for primary navigation.
  • 🔑 Clear key: Parameter key=clear is critically important, because without it the password will be hidden by asterisks even in the console.
  • 📝 Encoding: On systems with a locale other than English, network names may appear as gibberish unless the console encoding is switched to UTF-8.
What to do if the command fails?

If the system displays the error "WLAN AutoConfig service is not running", you need to open services (services.msc), find the WLAN AutoConfig service and start it, setting the startup type to "Automatic".

Restoring access via the router's web interface

If none of the computer methods work, or you're using a device that's never connected to this network, the only universal solution is to access the router's settings. The Wi-Fi password is stored in the router's configuration, and knowing the password for the device's admin panel, you can always view or change it.

To log in, you need to open your browser and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password for entry, are usually indicated on a sticker on the bottom of the device. The standard data is often a combination admin/admin or admin/password.

After successful authorization, the interface may look different depending on the manufacturer (TP-Link, ASUS, D-Link, Keenetic). You need to find the section related to wireless networking. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, look for a subsection called "Security" or "Basic Settings."

Manufacturer Typical menu path Password field name
TP-Link Wireless → Wireless Security Wireless Password / PSK Password
ASUS Additional settings → Wireless network WPA Pre-Shared Key
D-Link Wi-Fi → Security Settings PSK encryption key
Keenetic My Networks and Wi-Fi → Home Network Wi-Fi password

Changing router settings requires caution. If you decide to change the password, not just view it, all connected devices will lose connection and require re-authorization with the new key. Make sure you remember or write down the new information before applying the changes.

📊 What kind of router do you have at home?
TP-Link
ASUS
D-Link
Keenetic
Another

Wi-Fi password recovery software

There is specialized software designed to manage wireless connections and recover lost data. Utilities such as WirelessKeyView from NirSoft or WiFi Password Revealer, automate the process of extracting keys from the Windows system registry. They are useful when standard methods seem too complex or time-consuming.

These programs work by scanning the system files where Windows stores connection profiles. The program reads the encrypted key and decodes it, displaying it in a convenient list. Most of them are free for personal use and require no installation, running directly from the executable file.

⚠️ Attention: Antivirus programs may classify password recovery utilities as potentially unwanted software (HackTool or RiskWare). This is because they use methods similar to hacking tools. Only add the program to the exceptions list if you downloaded it from the developer's official website.

Using third-party software carries certain risks. Downloading programs from untrusted sources can infect your computer with viruses. Always scan files using services like VirusTotal. Furthermore, some "recovery" programs may be pure adware that does nothing but display ads.

  • 🛡️ Safety: Use only proven utilities from reputable developers such as NirSoft.
  • 💾 Portability: Many of these programs do not require installation, which is convenient for use from a flash drive.
  • Speed: The process of scanning and displaying all saved networks takes a fraction of a second.

Resetting your router as a last resort

If none of these methods work and you can't access the router's admin panel (you've forgotten the admin password), the last resort is a complete factory reset. This will return the router to its original state, including the default Wi-Fi password found on the sticker.

To perform a reset, find a small hole with the inscription on the router body Reset or RestoreIt's usually recessed into the housing to prevent accidental pressing. You'll need a thin object, such as a straightened paperclip or toothpick. Press the button inside the hole and hold it for 10-15 seconds until the front panel lights flash simultaneously.

After rebooting, the router will broadcast the network with the factory name (SSID) and request the default password. You can connect using the information on the sticker and reconfigure the internet if necessary. Be prepared to re-enter your ISP login and password if they weren't assigned automatically.

This method should only be used in a desperate situation, as it requires time to reconfigure the entire home network. Make sure you have a contract with your provider or access to your personal account to restore your internet connection settings.

☑️ Preparing to reset your router

Completed: 0 / 5

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password on a phone without root access?

On Android 10 and above, as well as iOS 16+, you can view the password for the network you're connected to through the Wi-Fi settings. Typically, you tap the "i" icon or QR code next to the network name, after which the system will require biometric authentication or a PIN code and display the password. On older OS versions, this is impossible without root access.

Where is the Wi-Fi password physically stored in Windows?

Wireless network data, including security keys, is stored in a protected part of the Windows system registry and is also duplicated in profile files in the C:\ProgramData\Microsoft\Wlansvc\Profiles\InterfacesAccess to these files and registry sections is strictly controlled by OS permissions.

What should I do if the Security tab is grayed out and inactive?

This means your current account doesn't have administrator privileges. You'll need to either log in as an administrator or ask the computer owner to enter the administrator password to confirm the action when attempting to open the network properties.

Will the command line method work if I'm not currently connected to Wi-Fi?

Yes, it will work. Team netsh wlan show profile Accesses the connection history stored in the system. If you've ever connected to this network and checked the "Connect automatically" box or simply saved the password, it will remain in your profile's memory even after disconnecting.