Many users are familiar with the situation where a network administrator or ISP changes the wireless network security key, but your laptop stubbornly refuses to connect. Windows, with its conservative memory, attempts to use previously saved authentication data, ignoring the new router settings. As a result, you see the "No internet access" status or endlessly receive an IP address, even though the password has indeed been changed.
The solution to this problem isn't the complexity of the settings, but rather the need to force a refresh of cached profiles on the device. The computer must "forget" the old data and accept the new one, which requires several sequential steps in the operating system interface. Users often try to simply enter the new code in the window that appears, but the system blocks this action, requiring the old network profile to be deleted first.
In this article, we'll detail the steps for different Windows versions, cover command line usage for advanced users, and answer frequently asked questions. You'll learn how to quickly resolve IP address conflicts and reset network settings, allowing you to get back online in minutes after changing your router credentials.
Why doesn't my laptop detect password changes?
The main reason lies in the mechanism of the protocol. WPA2/WPA3 and operating system security policies. When you first connect to an access point, Windows creates a special profile that stores not only the password itself but also the hash, encryption type, and other parameters. When you reconnect, the system compares the router's current data with what it stores, and if they don't match, it blocks the connection to prevent Man-in-the-Middle attacks.
Another factor is DNS and DHCP caching. Even if you somehow enter a new password, your laptop may attempt to obtain an IP address using the old rules or use cached DNS records that are no longer relevant to the updated router configuration. This creates the illusion of a connection, with the Wi-Fi icon showing network availability, but browser pages failing to open.
It's also worth considering the human factor and the peculiarities of a laptop keyboard. When entering a new, complex password, it's easy to make a mistake, especially if Caps Lock or an incorrect language layout. The system may not immediately display an error, but simply silently deny access, which can be confusing for inexperienced users.
⚠️ Note: If your router changed its encryption type (for example, from TKIP to AES) at the same time as the password, your older Wi-Fi adapter drivers may not support the new protocol. In this case, simply entering the password won't be enough—you'll need to update your drivers.
Removing an old network in Windows 10 and 11
The most reliable way to force a laptop to request a new password is to completely delete the offending network profile from the system memory. In modern versions of Windows, this process has become much simpler and more visual. You don't need to dig into the registry or use complex commands; simply use the built-in settings interface.
To get started, open the Start menu and go to "Settings" (the gear icon). Then, select "Network & Internet." In the left column (or in the list for Windows 11), find "Wi-Fi" and click "Manage known networks." Here you'll see a list of all the access points your laptop has ever connected to.
Find your home network name (SSID) in the list and click "Forget" or "Remove." After doing this, Windows completely erases all saved password and configuration data for this access point. Now, if you try to connect to it again, the system will act as if it's seeing this network for the first time and will prompt you to enter a new security key.
☑️ Network deletion algorithm
It's important to understand that after deleting a profile, you'll have to re-enter the password, so make sure you have it written down or accessible. It's also worth noting that deleting a network resets all its individual settings, such as the network type (public or private), which you may need to reconfigure to properly access shared folders or printers.
Using the Command Prompt to Reset a Profile
For users who value speed and precision, or in cases where the Windows graphical interface isn't working correctly, the command line is the ideal solution. This method allows you to delete a network profile even when the standard settings menu freezes or doesn't display the desired list.
First, you need to launch the command prompt as an administrator. To do this, right-click the Start button and select "Windows PowerShell (Administrator)" or "Command Prompt (Administrator)." In the window that opens, enter the following command to view all saved profiles:
netsh wlan show profiles
Find the exact name of your network in the list. Then use the delete command, substituting your network name in quotation marks. Be careful with the command syntax, as one extra letter will cause an error:
netsh wlan delete profile name="Your_Network_Name"
After the command is successfully executed, the system will report that the profile has been deleted. You can now close the console window and try connecting to Wi-Fi using the standard method via the taskbar. This method is especially useful for IT professionals setting up multiple computers in an office after changing corporate passwords.
What to do if the command fails?
If you see the error message "The WLAN AutoConfig service is not running," you need to start the service first. Press Win+R, type services.msc, find WLAN AutoConfig, right-click it, and select "Start."
Configuring security settings manually
Sometimes automatic detection of security settings fails after changing a password. In this case, Windows may suggest the wrong encryption type or authentication protocol. To fix this, you need to manually configure the correct settings for your router.
Go to Network and Sharing Center (you can find it by searching in the taskbar). Click Set up a new connection or network, and select Manually connect to a wireless network. In the window that opens, enter the network name (SSID) exactly as it appears in the list of available ones, and select the security type (usually WPA2-Personal) and enter a new password.
An important point is the "Start connection automatically" checkbox. Having it enabled will make life easier in the future, but if you change passwords frequently, it might be worth leaving it to manual control. Also, make sure the encryption type matches your router settings—most often, this is AES, but in older devices it may occur TKIP.
If your laptop still won't connect, try changing the network priority. In the command line, enter:
netsh wlan set profileorder name="Network_Name" interface="Wi-Fi" priority=1
This action will move your home network to the top of the priority list, causing your laptop to try to connect to it first, ignoring nearby open networks with similar names.
Reset Windows network settings
If deleting the profile or manually reconfiguring it doesn't help, the problem may lie deeper—in a corrupted operating system network stack. In such cases, a full network settings reset is the most effective. This will return all components responsible for internet connectivity to their factory settings.
To do this, open "Settings" -> "Network & Internet." Scroll down to the very bottom of the page and find the "Network reset" link. Click it, then click "Reset now." The system will warn you that the computer will restart in 5 minutes, and all network adapters will be reinstalled.
After rebooting, you'll have to re-enter your Wi-Fi password, as all saved profiles will be deleted. However, this method guarantees that any software conflicts that may have arisen after updating drivers or Windows itself will be resolved.
| Reset method | Impact on data | A reboot is required | Efficiency |
|---|---|---|---|
| Forget the network | Just the password and Wi-Fi settings | No | Average |
| netsh command | Network profile only | No | High |
| Complete network reset | All network adapters and settings | Yes | Maximum |
⚠️ Note: A full network reset will also delete any VPN connections and virtual switches (such as those for VirtualBox or Docker) you may have set up. Be prepared to reconfigure them.
Updating Wi-Fi adapter drivers
A common cause of failure to connect to a network with a new password is incorrect operation of the wireless adapter driver. Older versions of the software may incorrectly process authorization packets, especially if the router uses new security standards. WPA3.
You can check and update your driver using Device Manager. Right-click the Start button and select the appropriate option. Expand the Network Adapters branch and find your wireless device (usually listed as "Wireless," "Wi-Fi," or "802.11"). Right-click and select "Update driver" -> "Search automatically for driver software."
However, Windows doesn't always find the latest versions. It's best to visit the official website of your laptop manufacturer (HP, Dell, Lenovo, Asus, etc.), find your device model in the support section, and download the latest WLAN driver. A fresh installation often resolves compatibility issues.
In some cases, rolling back the driver can help. If the problem appeared after a recent Windows update, try clicking the "Roll Back" button in the driver properties. This will restore the previous, stable version of the software.
Common problems and their solutions
Even after completing all the steps described above, specific errors may still occur. For example, your laptop may display "Can't connect to this network" or continually ask for your password, claiming it's incorrect even though you're entering it correctly. This is often due to IP address conflicts or power settings.
Try disabling power saving for your Wi-Fi adapter. In Device Manager, go to the "Power Management" tab in your adapter's properties and uncheck "Allow the computer to turn off this device to save power." This will prevent the adapter from going into sleep mode, which sometimes causes re-authorization failures.
It's also worth checking your DNS service. Open a command prompt and enter the cache flush command:
ipconfig /flushdns
Then try to get the IP address again with the command ipconfig /renewThese simple steps often "shake up" the network configuration and allow you to establish a clear connection to the router.
Why does my laptop say "Incorrect password" even though I'm entering it correctly?
Most often, the issue is with the keyboard layout or capitalization. Make sure Caps Lock is off and the English keyboard layout is selected. Also, check for extra spaces at the end of the password if you're copying it from the clipboard. In rare cases, the router may not accept special characters if it has a character length or type limit.
Is it possible to connect without deleting the old network?
Technically, you can try changing the password in the network properties via the registry or PowerShell, but this is extremely time-consuming and risky. The standard and quickest way is to delete the network profile ("Forget") and re-enter the details. This takes less time than searching through hidden system settings.
What should I do if the Wi-Fi button is missing after a reset?
If the Wi-Fi icon disappears after a full network reset, the adapter driver is likely malfunctioning. Open Device Manager, find the adapter, uninstall it (Edit -> Uninstall device), and then select "Action -> Scan for hardware changes" from the menu. Windows will attempt to reinstall the device.
How do I know what type of encryption my router uses?
You can see this in the wireless network properties on an already connected phone or another laptop. In Windows, the encryption type is also listed on the "Security" tab of the Wi-Fi properties. Typically, it's WPA2-Personal (AES). If you're changing your router settings, try to avoid using the older WEP or WPA/TKIP encryption, as modern devices may block connections to them for security reasons.