How to find out the Wi-Fi number your computer is connected to: A complete guide

It's quite common to need to connect a new device to an existing wireless network but have forgotten or lost the password. Modern operating systems, such as Windows 10 And Windows 11, reliably hide password characters for security purposes, turning them into asterisks. However, if you already have at least one device that is successfully authorized on the network, restoring access will be easy even without special utilities.

There are several proven methods for solving this problem, from using the system's graphical interface to more advanced console commands. The specific method you choose depends on your operating system version and your level of administrative access. In this article, we'll cover in detail how to find the Wi-Fi network number your computer is connected to using built-in Microsoft tools, and we'll also explore alternative options via the router's web interface.

It's important to understand that you'll need administrator privileges to perform most of the steps described. This is a standard security measure to prevent unauthorized access to network adapter configuration. If you're working on a corporate computer, some methods may be blocked by the system administrator, so in this case, it's best to contact your organization's technical support.

Viewing a saved password through Windows settings

The easiest and most accessible way to find out your network credentials is to use the standard wireless connection properties window. This method works reliably on all current versions of Windows, starting with Windows 7, and doesn't require complex commands. However, keep in mind that the interface may vary slightly depending on the operating system build.

First, you need to open the Run window. This can be done by pressing the following key combination: Win + R on the keyboard. In the input field that appears, enter the command ncpa.cpl and press Enter. This command opens the classic Network Connections window, which displays all active adapters on your computer, including virtual and physical interfaces.

Find your wireless connection icon, usually labeled "Wireless Network" or "Wi-Fi." Right-click it and select "Status." In the window that opens, click "Wireless Network Properties." A new dialog box will appear, where you should go to the "Security" tab. The password you're looking for is hidden here, in the "Network Security Key" field. To view it in plain text, check the "Show characters" box.

⚠️ Note: If the "Security" tab is missing or the fields are grayed out, this may mean your account lacks sufficient permissions or your organization's group policies are blocking access to this data. Such restrictions are common in corporate networks.

This method allows you to quickly access your security key, but it only works for the network you're currently connected to or that's saved as active in your profile. If your computer has never connected to the desired Wi-Fi network, this method won't work.

Using the command line to obtain network data

For more experienced users or in situations where the graphical interface does not work correctly, using the command line is the ideal solution. CMDThis tool provides direct access to wireless network profiles stored on the system. The command line not only allows you to view the current password but also list all networks ever used.

Launch the Command Prompt as administrator. To do this, right-click the Start button and select "Command Prompt (Administrator)" or "Windows PowerShell (Administrator)". First, enter the command netsh wlan show profilesThis will display a list of all saved Wi-Fi profiles. Find the desired network name in the list and remember its exact spelling, as you'll need it in the next step.

Now enter the command to display detailed profile information, including the security key. The command syntax is as follows:

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

Replace Your_Network_Name with the actual name of your Wi-Fi network. If the name contains spaces, be sure to enclose it in quotation marks. After running the command, scroll to the "Security settings" section in the output. The "Key Content" line will display the password in clear text.

What to do if the command doesn't work?

If the system reports "Access Denied," make sure you're running the console as an administrator. If the error is syntax-related, check the spelling of the network name, including the case.

Using the console is especially convenient when you need to quickly copy a password or send it in plain text. This method is also often helpful when the Windows graphical interface freezes or runs slowly.

Finding a password using PowerShell

An alternative to the classic command line is a more powerful tool - PowerShellIt provides advanced capabilities for working with network objects and is often used by system administrators. The command syntax may be more complex, but the functionality is greater.

Open PowerShell as administrator. To list all profiles, you can use the command:

netsh wlan show profiles

However, to immediately get the password in a convenient format, you can use a more specific query. Enter the following command, replacing the network name with your own:

(netsh wlan show profile name="Network_Name" key=clear) | Select-String "Key Contents"

This command filters the output and displays only the line containing the password, making the results much easier to read. PowerShell also allows you to export this data to a file or variable for later use in automation scripts.

The PowerShell method is especially useful for users accustomed to working with scripts or managing multiple connections. It provides flexibility and accurate output.

Viewing the password through the router's web interface

If none of the operating system methods work, the "gold standard" is always accessing the router's settings. This method is universal and works regardless of the device (PC, smartphone, tablet) you're using. You'll need a browser and the default gateway address.

In the address bar of your browser, enter the router's IP address. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password, are usually found on a sticker on the bottom of the device. If you've changed this information before and have forgotten it, you may need to reset the router to factory settings.

After logging in, go to the wireless network section. It may be called "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Depending on your router model (TP-Link, Asus, D-Link, Keenetic), the interface will differ, but the logic remains the same. Look for the "Wireless Password," "PSK Key," or "Security Key" field. Here you can see the current password and change it to a new one if necessary.

Router brand Typical login address Menu section Password field name
TP-Link 192.168.0.1 Wireless / Wireless Security Wireless Password
Asus 192.168.1.1 Wireless network Authentication Method / Key
D-Link 192.168.0.1 Wi-Fi / Security Settings PSK encryption key
Keenetic 192.168.1.1 My Networks and Wi-Fi Wi-Fi network password
⚠️ Please note: Router firmware interfaces are updated regularly. Menu locations and item names may differ from those described. If you cannot find the section you need, consult the official manual for your model on the manufacturer's website.

This method gives you complete control over the network. Not only will you know the password, but you can also change the encryption type, hide the SSID, or set up a guest network.

📊 Which password recovery method do you find most convenient?
Via Windows settings (GUI)
Via the command line (CMD)
Via the router's web interface
Using third-party programs

Using third-party recovery utilities

There are many utilities on the software market designed to manage wireless connections. Programs such as WirelessKeyView from NirSoft or WiFi Password Revealer, are capable of extracting saved keys from the Windows registry. They are often used by IT professionals for quick diagnostics and access restoration.

The main advantage of such programs is their speed and the ability to export all passwords at once to a text file or HTML report. You don't need to remember commands or dig through the depths of Windows settings to find the right menus. Simply launch the utility, and it will display a list of all networks and their keys.

However, using third-party software carries certain risks. Firstly, antivirus programs may classify such programs as potentially unwanted programs (PUPs), as their functionality is similar to that of password-stealing malware. Secondly, downloading software from untrusted sources puts you at risk of infecting your computer with viruses.

☑️ Safety rules when using third-party software

Completed: 0 / 4

It's recommended to use such tools only in extreme cases when standard Windows tools don't work, and only if you trust the program's developer. For one-time use, the command line is often more convenient.

Problems and limitations when restoring access

Even with theoretical solutions, users may encounter technical obstacles. For example, if a network profile in Windows is corrupted, the system may not display the password or return an error when attempting to view properties. In such cases, deleting the profile and reconnecting can help.

Another common problem is working on a domain network. Computers connected to a corporate domain often have limited access rights to network settings. Attempting to run the command prompt as administrator may be blocked by security policies, even if you know the administrator account password.

Guest networks are also worth mentioning. If you're connected to guest Wi-Fi at a café or hotel, the password may be dynamic or entered through a captive portal. In such cases, a physical encryption key in the traditional sense may not be present, as access is controlled at the HTTP/HTTPS protocol level.

Understanding these limitations will help you diagnose the problem more quickly and choose the right solution, without wasting time on methods that are obviously ineffective.

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if the computer is not connected to it?

No, if the computer has never connected to this network and hasn't saved a profile, it's impossible to find the password using Windows itself. However, if you have access to the router (physically or via cable), you can access its settings and view or change the password there.

Is it safe to save passwords in Windows?

Yes, Windows stores passwords in encrypted form. Only users with administrator rights can access them. However, if an attacker with administrator rights gains access to your computer, they can extract this data.

What should I do if I forgot my router password to access the settings?

If the default login and password (usually admin/admin) are not working and have been changed, you will need to reset the router to factory settings. To do this, press and hold the button Reset Press the button on the device body for about 10-15 seconds. After this, the router will return to the factory settings indicated on the sticker.

Is it possible to see the password on Android or iPhone?

Modern versions of Android (10+) and iOS (16+) have the ability to view the password for the current network or saved networks, but this often requires biometric authentication (FaceID, TouchID) or a screen unlock code. On Android, the password can be found in the QR code for connection.

Why are there asterisks instead of passwords in the command line?

In the command line, passwords are never shown as asterisks when you type them, but they are shown as asterisks when you output the command. show profile without parameter key=clear The security key will be hidden. Make sure you add the parameter key=clear to the end of the command.