How to find the Wi-Fi security code when connecting a new laptop

It's extremely common to need to connect a new device to your home network but lose or forget the password. Router owners often change factory settings for security reasons, write down complex combinations of characters, and then hide the notes or forget their contents. A new laptop can't access the internet without entering the password. security key, and the user is faced with the fact: the network is visible, but access is closed.

Fortunately, modern operating systems and router hardware interfaces offer several ways to restore access. You don't have to reset your router to factory settings, which would mean losing all your provider configuration. It's enough to know where to find saved data or how to retrieve it from the signal-distributing device itself.

In this article, we'll cover all the current methods for finding the access code: from viewing network properties on an already connected PC to logging into the router's administrative panel. We'll also cover physical stickers and command line commands that can help you solve the problem in just a few minutes.

Finding a password on an already connected Windows computer

If you have a desktop computer or another laptop that's currently connected to the desired Wi-Fi network, the easiest way to recover a forgotten password is through the operating system settings. Windows stores encrypted profiles of all networks you've ever connected to, but provides a convenient interface for viewing them.

First, you need to open the network connections window. Press the key combination Win + R, enter the command ncpa.cpl and press Enter. In the window that opens, find the icon for your wireless connection, right-click on it, and select State. Next, click the button Wireless network properties.

In the new window, go to the tab SecurityThis is where the information you're looking for is located. You'll see the "Network Security Key" field, where the symbols are hidden by dots. To see them, check the box next to the item. Show entered characters.

⚠️ Attention: Displaying the password may require administrator privileges. If the system asks for confirmation or an administrator password, make sure you have access to an account with full privileges on this computer.

Sometimes users encounter a missing or inactive "Security" tab. This can occur if the network driver is not working correctly or if the network profile was saved with restrictions. In this case, try updating the wireless adapter drivers through Device Manager.

📊 Which operating system do you use most often?
Windows 10
Windows 11
macOS
Linux
Other OS

Using the command line to extract the key

For more advanced users or in cases where the graphical interface is unstable, using the Windows command line is an excellent solution. This method allows you to display all saved profiles and their passwords in plain text, which is especially useful if you need to find the password for a network the computer hasn't connected to in a while.

Launch the Command Prompt as administrator. To do this, right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)." First, find out the exact network profile name by entering the following command:

netsh wlan show profiles

Find your network name in the list. Then enter the command to display details for a specific profile, adding the key key=clear, which is responsible for displaying the password in clear text:

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

In the report that opens, find the "Security settings" section. The "Key Content" line will contain the password you're looking for. This method is especially useful when you need to quickly copy a complex password without risking errors when entering it manually.

Viewing settings via the router's web interface

The most universal method, which works regardless of whether a device is currently connected to Wi-Fi, is to access the router's settings. To do this, you'll need to connect to the device via a LAN cable or, if possible, via a guest network or WPS.

Open any 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 accessing the control panel, are usually indicated on a sticker on the bottom of the device. The default login details are often admin/admin.

After successful authorization, you need to find the section responsible for the wireless network. Depending on your router model and firmware, this section may be called:

  • 📡 Wireless Settings
  • 🔐 Wi-Fi Security
  • 🌐 WLAN Configuration
  • 📶 Wireless mode

Within this section, look for the "Password," "PSK" (Pre-Shared Key), or "Wireless Key" field. Here you can not only view the current password but also change it to something easier to remember. Don't forget to save your changes by clicking the button. Save or Apply.

Router brand Typical menu path Password field name
TP-Link Wireless -> Wireless Security Wireless Password
ASUS Wireless Network -> General WPA Pre-Shared Key
D-Link Wi-Fi -> Security Settings PSK encryption key
Keenetic My Networks and Wi-Fi -> Home Network Wi-Fi network password
Tenda Wireless Settings -> Wireless Security Wireless Password

Interfaces of modern routers such as Keenetic or MikroTik, may differ from the classic schemes, but the logic remains the same: look for sections related to wireless connection and security.

Physical inspection of the device and documentation

Before delving into complex settings, it's worth checking the physical condition of your equipment. Many manufacturers place the factory password (SSID and security key) on a special label attached to the bottom or back of the router.

This information is typically labeled "PIN," "WPA Key," "Wireless Key," or "Password." If you haven't changed your wireless network settings since purchasing the device, this code will be valid. However, if the router was configured by your ISP or you previously configured it, the factory password may have been changed.

⚠️ Attention: If a sticker contains a WPS PIN, it's not always the Wi-Fi password. The WPS PIN is used to quickly pair devices without entering a long password, but in some router models it may be the same as the initial network password.

Don't forget about the documentation either. Your router box often includes a "Quick Start Guide" brochure, with the initial login credentials printed in large print on one of the first pages. If you've lost the brochure, try searching for your router model online—sometimes default passwords for specific models are published in databases.

What should I do if the sticker has worn off?

If the label on the bottom of the router is damaged or has worn off over time, try carefully removing the rubber feet. Manufacturers sometimes duplicate the serial number and MAC address information on the main board under the labels, although the password is rarely included there.

Connecting a new laptop via WPS

If you can't or don't want to know your password, there is a technology WPS (Wi-Fi Protected Setup), which allows you to connect devices without entering a security key. This is ideal for quickly connecting a new laptop if the router is nearby.

The method is simple: on the router body, find the button labeled as WPS or the one with two arrows forming a circle. On a new laptop, select your network from the list of available networks. Instead of entering a password, the system may prompt you to "Connect using WPS," or simply start the connection process.

Within 1-2 minutes of selecting the network on your computer, press the WPS button on the router (sometimes you need to hold it for 3-5 seconds until the indicator light flashes). The devices will exchange encryption keys automatically, and the laptop will gain internet access, saving the password for future connections.

☑️ Check before using WPS

Completed: 0 / 4

It's worth noting that some modern routers have the WPS feature disabled by default for security reasons, as this protocol is considered less secure than entering a complex WPA2/WPA3 password. If the button doesn't respond, you may need to enable it in the web interface.

Resetting your router as a last resort

If none of the above methods help, and you can't access the control panel because you've also lost your administrator password, the last resort is a hard reset. This will return the router to its factory settings, as if you just bought it.

To do this, find a small recess with the inscription on the body Reset or RestorePlug in the router, take a paperclip or a thin needle, press the button inside the hole, and hold it for about 10-15 seconds until all the lights flash simultaneously. After rebooting, the device will use the factory password from the sticker.

However, this method has a significant drawback: you'll have to reconfigure your connection to your ISP (enter your PPPoE or L2TP login and password, or configure a dynamic IP address), as well as change the network name and password to your own. If you're unsure or don't know your internet connection settings, it's best to contact your ISP's technical support.

FAQ: Frequently Asked Questions

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

On modern versions of Android (10 and above), you can view the saved password without root access. Go to Wi-Fi settings, tap the gear icon next to your active network, and select "Share" or the QR code icon. The password text is often displayed below the QR code, or it can be scanned by another phone.

What should I do if my new laptop doesn't have a LAN port to connect to a router?

If your Ultrabook doesn't have an Ethernet port, you can use a USB-LAN adapter. Alternatively, you can temporarily share your phone's internet connection via a USB modem, access your router's Wi-Fi settings (if your phone is already connected), or use the WPS method described above.

Is it safe to use Wi-Fi hacking software?

Using brute-force password cracking programs or hacking into other people's networks is illegal and violates computer security laws. Furthermore, such programs often contain viruses. Use only legal methods to restore access to your own network.

Why can't my laptop see the 5 GHz network?

Some older laptop models and network cards do not support the 5 GHz frequency band, operating only in the 2.4 GHz band. Check the specifications of your network adapter. Wi-Fi Adapter In Device Manager or on the manufacturer's website. In this case, connect to a 2.4 GHz network or use a USB Wi-Fi adapter that supports 5 GHz.