Where can I find my network security key on my computer?

Losing your wireless network password is a classic problem faced by every user who buys a new gadget or invites guests over. Network security key — this is the very set of characters required to authorize a device on a provider's local network or home router. It often happens that the password was set once during the initial setup of the equipment, written down on a piece of paper, and then safely lost, while the computer's memory already stores it in encrypted form.

Restoring access is possible in several ways, depending on whether you have physical access to the router and whether at least one device running Windows or macOS is connected to the network. WPA2-PSK And WPA3 These are modern encryption standards that reliably protect traffic but require precise character entry. In this article, we'll examine in detail software and hardware methods for extracting saved passwords.

If none of these methods help, you can always reset your router completely. However, this is a last resort and requires reconfiguring all internet connection settings. Before resorting to this, it's worth trying less drastic methods that only take a couple of minutes. Below are proven solutions for various operating systems.

Finding a password through Windows 10 and 11 settings

The Windows operating system has a built-in mechanism for saving wireless network profiles. If your computer has ever connected to the desired Wi-Fi network, the password is already in the system; it's simply hidden from the user's view for security reasons. To view it, you need to go to the Network and Sharing Center. Open Control Panel and find the "Networking" section. Network and Internet and select Network and Sharing Center.

In the window that opens, find the active connection with the name of your wireless network (SSID) and click on it. A small status window will appear, where you need to click the button Wireless network propertiesThis is where the code you're looking for is hidden. In the new dialog box, go to the tab SecurityYou will see a field Network security key, the contents of which are hidden by asterisks.

To display the password, check the box next to the item Show entered charactersThe system may request administrator privileges to confirm the action. After this, the asterisks will turn into readable text that can be copied or rewritten. This method works reliably on all current versions of Windows, including builds 22H2 and later.

⚠️ Attention: If the "Security" tab is missing or the Properties button is grayed out, you may be using a guest network or a profile created with limited privileges. On corporate networks, access to these settings may be blocked by administrator group policies.

📊 What operating system do you use?
Windows 10
Windows 11
macOS
Linux
Other OS

Using the command line to extract the key

For experienced users or in cases where the graphical interface isn't working correctly, there's a faster way via the command line. This method allows you to display a list of all saved networks and their passwords in text format. You'll need to launch the terminal as administrator. Right-click the Start menu and select Windows PowerShell (Admin) or Command Prompt (Administrator).

The first step is to get the exact name of the network profile if you don't remember it by heart. Enter the command netsh wlan show profilesThe system will display a list of all saved profiles. Find the desired network name in the list. Then, use the command to display detailed information, including the key:

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

In the command output, find the line Key content (or Key Content in the English version). Your password will be listed next to it. This method is especially useful when you need to quickly find the password for the network your computer is currently connected to, or for a network that was active in the past but is now out of range.

Checking the physical sticker on the router

The most obvious, yet often overlooked, method is to inspect the router's case. Most modern devices are factory-set to SSID (network name) and password are already specified by the manufacturer. This information is located on a special sticker located on the bottom or back of the device. Look for the fields marked as Wireless Key, WPA Key, Pin or simply Password.

Typically, the password is a random string of 8 or more characters. If you've never changed your router's settings since purchasing it from a store, the information on the sticker will be valid. However, if the router was previously used or configured by a service provider, the factory password may have been changed, making the sticker useless.

It is worth noting that on some models from TP-Link, Asus or Keenetic A QR code can be used instead of a text password. Scanning it with a smartphone camera allows instant access to the network without manually entering characters. This is convenient, but doesn't help if you need to enter the password directly into a text field on your PC.

Manufacturer Sticker location Password designation Key length
TP-Link Bottom panel Wireless Password / PIN 8 characters
Asus Back panel / Bottom WPA Pre-Shared Key 8-12 characters
D-Link Bottom panel WPA Key 8 characters
Xiaomi Bottom of the body Password 8 characters

Logging into the router's web interface

If the sticker has worn off and your computer isn't connected to Wi-Fi (or you want to find out the password for another device), logging into the router's admin panel will help. To do this, connect to the router via LAN cable or via Wi-Fi (if you have the password written down somewhere). Open your browser and enter the gateway's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1.

The system will ask for a login and password to access the settings. By default, these pairs are often used. admin/admin or admin/passwordIf you changed this data and forgot it, you will have to reset the router using the button ResetOnce in the menu, look for the section Wireless, Wi-Fi or Wireless modeThere will be a subsection inside. Security (Security), where in the field Wireless network password (Wireless Password) and your key is stored.

Interfaces from different manufacturers differ, but the logic remains the same. MikroTik this is a section Wireless -> tab Security Profiles. U KeeneticMy Networks and Wi-Fi -> Home networkIn modern models with cloud services support (for example, Tenda or TP-Link Tether) You can even view your password through the mobile app linked to your account.

What to do if the router's IP address has changed?

If the default 192.168.0.1 or 1.1 aren't working, find the current gateway using the command line. Enter the ipconfig command and find the "Default Gateway" line in the section for your adapter. This IP address is the router's login address.

Viewing a saved password on macOS

Apple computer users can also easily restore access. On macOS, keys are stored in the iCloud Keychain or the local keychain. To view them, open the app. Bunch of keys (Keychain Access). You can find it through Spotlight search (Cmd+Space) or in the folder Programs -> Utilities.

Select a category from the list on the left PasswordsEnter the name of your Wi-Fi network in the search bar. Double-click the entry found. In the window that opens, check the box. Show passwordThe system will require you to enter your Mac user account password or use Touch ID to verify your identity.

In newer versions of macOS (Ventura, Sonoma) the process is simplified. Go to System Preferences -> Wi-FiFind your network in the list of known networks and click on the three dots or the button Read moreThere will be an eye icon next to the password field. Click it, authenticate, and the password will be copied to the clipboard or displayed on the screen.

☑️ Check before resetting your router

Completed: 0 / 6

Resetting your router as a last resort

When none of the software methods work, and the sticker on the case is missing or the data on it is inconsistent, the last option is a hard reset. On the case of every router there is a small hole with the following inscription: Reset or RestoreTo activate the function, press it with a thin object (paper clip, toothpick) and hold for about 10-15 seconds until the indicators blink simultaneously.

After this procedure, the router will return to factory settings. The Wi-Fi password will be the same as the one on the sticker., but your internet connection settings (PPPoE, L2TP, VLAN) provided by your ISP will also be reset. If you don't know your internet login and password (not Wi-Fi), your internet connection won't work after the reset until you re-enter these details in the web interface.

Use this method only if you're confident you can reconfigure your router, or if you have a contract with your provider that specifies the technical specifications. Otherwise, you could be without internet indefinitely while waiting for a technician to arrive.

⚠️ Attention: Router and operating system interfaces are regularly updated. Menu locations, item names, and access paths may vary depending on your device's firmware version. Always consult the manufacturer's official documentation if the default paths don't work.

Frequently Asked Questions (FAQ)

Is it possible to find out a Wi-Fi password if the computer has never connected to this network?

No, it's impossible to find the password using Windows or macOS software if the device has never logged into the network. In this case, the only solution is to find the router's password sticker, access the router's admin panel via a cable, or ask other users who know the password.

What is WPS and will it help me log in without a password?

WPS Wi-Fi Protected Setup (WPS) is a simplified connection technology. If your router has a WPS button, you can press it and then select WPS connection from the Wi-Fi menu on your computer or phone. You won't need to enter a password; your device will connect automatically. However, this feature is often disabled by default for security reasons.

Where can I find the security key if my router is provided by my ISP?

If the equipment is leased, the data is often located in the subscriber's personal account on the provider's website or in a smartphone app (e.g., "My Rostelecom," "Dom.ru"). The password may also be specified in the service agreement.

Why is the Network Security Key field grayed out and unavailable?

This happens if you're trying to view the password for the network your computer is currently connected to, but you don't have administrator rights or the network profile is corrupted. Try "Forget Network" in the Wi-Fi settings and reconnect, saving the password, or use the command prompt as an administrator.