How to Set a WiFi Password in Windows 10: A Complete Guide

Wireless network security is the foundation of your home or office digital security. Windows 10 While it provides users with powerful tools for managing network connections, access to critical functions is often hidden deep in menus or requires the use of the command line. Many users find themselves in situations where they urgently need to retrieve a saved access key or, conversely, set up a new barrier to intruders without instructions from their ISP.

Changing the access key is not just a whim, but a necessary preventive measure, especially if you suspect that your Wi-Fi Third parties may use it. The operating system remembers all the networks you've ever connected to and can act as a source of this information if necessary. However, it's important to understand the difference between changing the password on the router itself and viewing the saved key on your computer.

In this article, we'll explore all available methods for managing network access. You'll learn how to use built-in diagnostic tools, the system's graphical interface, and specialized utilities. Please remember that to change the password directly on the router, you will need administrator rights for the device and access to its web interface. We'll look at both scenarios so you can choose the one that best suits your situation.

Checking the current network security status

Before making any changes, you need to verify the current security status of your connection. Windows 10 Allows you to quickly view the properties of your active connection, including the encryption type. This is a basic step that's often overlooked, but it provides insight into the level of security you're currently using.

Right-click on the network icon in the tray (near the clock) and select Open Network & Internet SettingsIn the window that opens, find the link Network and Sharing Center, which is usually located at the bottom of the page or in the corresponding menu section. It displays a schematic representation of your network, with the name next to it. Wi-Fi The current protection is indicated.

⚠️ Attention: If the security column indicates Open or Without protection, your traffic is transmitted in cleartext. Any data, including passwords for websites without HTTPS, can be intercepted by attackers within range.

Click on the wireless connection name to open the status window. Here you'll see detailed information about the speed, session duration, and, most importantly, the button Wireless network propertiesThis is where you'll find key security settings. Don't close this window yet, as we'll need it in the next step to retrieve saved data.

📊 What type of encryption does your network use?
WPA2-Personal
WPA3-Personal
WEP (legacy)
I don't know / I haven't checked

Viewing a saved password through the Windows interface

The easiest way to find out your WiFi password in Windows 10 is to use the system's graphical interface. This method doesn't require complex commands and is suitable even for inexperienced users. However, it only works if your computer is already connected to the network or has been connected previously and has saved your login information.

In the wireless network status window that we opened in the previous step, click the button Wireless network propertiesYou may be asked to confirm your administrator rights via a pop-up window. User Account ControlAgree to the request to proceed to the tab. SecurityThe main encryption parameters are displayed here.

In the field Network security key The symbols are hidden by asterisks or dots. To see them, check the box. Show entered charactersAfter this action, the system will display the real password in plain text. Copy it or write it down to use for setting up other devices.

  • 🔍 Make sure you are on the correct tab Security, and not Connection or General.
  • 📝 The encryption type must be WPA2-Personal or newer to ensure high data protection.
  • 🖥️ If the Properties button is grayed out, your account may not have administrator rights on this PC.

Sometimes the system may prompt you for a computer administrator password instead of simply confirming it. This is a standard Windows security procedure that prevents unauthorized access to critical network settings. If you've forgotten your PC administrator password, this method won't work, and you'll have to use alternative methods.

Using the Command Line to Extract Keys

For more advanced users or in situations where the graphical interface does not work correctly, the command line is the ideal solution. Netsh — is a powerful Windows Network Shell tool that allows you to manage your network configuration, including viewing saved profiles and passwords. This method is universal and works on all versions of Windows, starting with Vista.

Run the command prompt as administrator. To do this, click Win + X and select Windows PowerShell (Administrator) or find cmd in search, right click and select Run as administratorFirst, let's list all saved WiFi profiles to find the exact name of the desired network.

netsh wlan show profiles

Find your network name in the list. Then, use the command to display detailed information about a specific profile, including the security key. The command syntax requires the profile name to be specified exactly. If the name contains spaces, it must be enclosed in quotation marks.

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

In the command output, find the section Security parameters. Line Key content (or Key Content (in the English version) will contain the password you're looking for in plaintext. This method is especially useful if you need to quickly access a password without diving deep into the settings menu.

What to do if the command returns an error?

The "Group parameter not found" error usually means the network name is incorrect. Check the spelling of the name in the profile list. The "Access denied" error indicates insufficient administrator privileges—restart the console as an administrator.

Changing the password via the router's web interface

If your goal is not just to find out the current password, but to set a new one for all devices, you need to access the router's settings. Changing the password through Windows is only possible indirectly, by accessing the router's admin panel through a browser. This action will disconnect all connected devices, and they will need to be reconnected with a new key.

Open your browser and enter your router's IP address into the address bar. This is most often 192.168.0.1 or 192.168.1.1The exact address, as well as the login and password, are usually located on a sticker on the bottom of the device. If you've changed them previously, use your own information. Log in using your administrator credentials.

Interfaces from different manufacturers (TP-Link, ASUS, D-Link, Keenetic) are different, but the logic remains the same. You need to find the section related to wireless mode. It may be called Wireless, Wi-Fi, Wireless network or WLAN. Within this section, look for the subsection Wireless Security or Wireless security.

Manufacturer Typical menu path Password field name
TP-Link Wireless -> Wireless Security Wireless Password
ASUS Wireless Network -> General WPA-PSK key
D-Link Wi-Fi -> Security Settings PSK encryption key
Keenetic My Networks and Wi-Fi -> Home Network Password

Enter a new, complex password in the appropriate field. It is recommended to use a combination of upper and lower case letters, numbers, and special characters. After entering, be sure to click the Save (Save) or Apply (Apply). The router may reboot, and the internet connection will be temporarily lost.

⚠️ Attention: After changing your router password, your computer will automatically disconnect from WiFi. You'll need to find your network in the list of available networks and enter the new access key manually.

☑️ Password Change Checklist

Completed: 0 / 5

Setting up automatic connections and managing profiles

Windows 10 offers flexible management of network profiles. You can configure the system to not automatically connect to open or suspicious access points, and to connect to trusted networks without asking questions. This is an important part of your overall security strategy.

To delete an old or unnecessary network profile, use the command line again. This is useful if you've changed the router password, but Windows continues to try to connect with the old credentials, returning an error. The deletion command looks like this:

netsh wlan delete profile name="Network_Name"

There is also a "Manage known networks" feature in the WiFi settings graphical interface. Go to Parameters -> Network and Internet -> Wi-Fi -> Managing known networksSelect the desired profile and click ForgetThis action will clear all saved network data, including the password.

For corporate networks or networks with a hidden SSID (network name), the connection process requires manual configuration. When you first connect to such a network, Windows will ask if this computer can be discovered by other devices. In public areas, always select the "Discoverable" option. Noto activate the "Public Network" profile, which blocks incoming connections and makes your PC invisible to other WiFi users.

  • 🔒 The "Public Network" profile limits your PC's visibility on the local network.
  • 📡 Hiding the SSID is not a reliable security method, but it reduces the network's visibility to ordinary users.
  • 🔄 Regularly clearing your list of known networks improves privacy and eliminates connection conflicts.

Connection problems and their solutions

Even with a correctly set password, connection errors may occur. Windows 10 sometimes caches data incorrectly or conflicts with network adapter drivers. If the system displays "Can't connect to this network" or endlessly attempts to obtain an IP address, troubleshooting is required.

The first thing you should try is resetting your network settings. In the network settings, scroll down to Network reset. Click the button Reset nowThe computer will restart in 5 minutes. This will remove and reinstall all network adapters, as well as reset all network settings (DNS, TCP/IP) to factory defaults.

If the problem persists, check your wireless adapter drivers. Open device Manager (via search or Win+X), find the section Network adaptersFind your WiFi module (usually it will contain the words Wireless, Wi-Fi, 802.11). Right-click and select Update driver or Remove device (After rebooting, Windows will try to install the driver again).

⚠️ Attention: Router settings interfaces and Windows versions are constantly updated. The layout of menu items may differ slightly from what's described. If you can't find a specific option, consult the documentation for your router model or the manufacturer's official website.

In complex cases, manually registering DNS servers can help. In the protocol properties Internet Protocol version 4 (TCP/IPv4) try specifying DNS from Google (8.8.8.8) or Cloudflare (1.1.1.1). This often solves name resolution problems where the password is accepted but the internet is not working.

Frequently Asked Questions (FAQ)

Is it possible to find out a WiFi password if the computer is not connected to it?

No, Windows only stores passwords for networks to which the device has connected at least once and saved the profile. If the profile has been deleted or the computer has never connected to that network, it is impossible to find the password through Windows settings.

I forgot my router admin password. How do I reset it?

There is a button on the body of each router. Reset (often recessed into the case). Press it with a paperclip and hold it for 10-15 seconds while the power is on. The router will reset to factory settings, and the WiFi password will be set to the one on the sticker on the bottom of the device.

Why does Windows say "Can't connect to this network" after changing the password?

Windows is most likely trying to use an old saved password. You should "Forget" the network in the WiFi settings or delete the profile via the command line, then reconnect using the new key.

Is it safe to use third-party password recovery programs?

Using third-party software carries risks. Many such programs may contain viruses or collect data. Built-in Windows tools (CMD, Network Properties) are completely safe and sufficient for most tasks.

How can I make my phone automatically share my password with my neighbors?

Windows 10 has a feature called "Password Sharing." If enabled in your WiFi settings, your Skype or Outlook contacts can connect to your network without entering a password if you're nearby. This feature can be disabled in the Manage Known Networks menu.