While it's common for a network administrator or ISP to change the wireless network access key, it often results in a technical issue for the end user. A laptop that previously connected successfully to the router suddenly stops seeing the network or, more commonly, endlessly tries to connect, returning an authorization error. This happens because the operating system saves previous security settings and attempts to log in using them, unaware of the changes.
Ignoring this error may cause the device to block subsequent connection attempts or create IP address conflicts on the local network. To restore internet access, you must forcefully delete the old network profile from the computer's memory. Only then will the system be able to request new authorization data and successfully establish a connection to the access point.
In this article, we'll cover the steps for Windows and macOS operating systems in detail, as the procedures differ significantly. We'll also cover common errors that occur when changing the encryption key and how to resolve them. Clear the network settings cache in a timely manner - This is the first and most important step that the user needs to take.
Why won't my laptop connect after changing the password?
The main reason for the inability to connect is due to the way the WPA2/WPA3 protocol works. When you change the password in the router settings, SSID (the network name) remains the same, but the cryptographic keys change. The laptop, seeing a familiar network name, automatically inserts the old password hash stored in the system. The router rejects this key, and a cycle of endless connection attempts begins.
The Windows operating system, for example, stores profiles of every network a user has ever connected to. Even if you changed your password six months ago and haven't turned on your laptop, the next time it comes into range, it will attempt to use the old credentials. Authentication conflict occurs precisely at the stage of handshake between the client and the access point.
Sometimes the problem is exacerbated by wireless adapter drivers. Some network card models aggressively cache security settings to speed up connections. If the driver is outdated or malfunctioning, it may ignore the system's request for new data. In this case, simply rebooting the router won't help—you'll need to access the OS settings.
⚠️ Note: If you're using a corporate network or a complex infrastructure with a Radius server, simply changing the password may not be sufficient. You may need to update your security certificates or change your domain policy settings.
It's important to understand that changing the password on the router breaks the connection to all devices that remember the old key. This includes smartphones, tablets, smart TVs, and IoT devices. Deleting a network profile on a laptop will not affect other devices., each of them will have to be reconfigured separately.
Deleting a saved network in Windows 10 and 11
In modern versions of Microsoft's operating system, the process of deleting a network profile has become more intuitive, although hidden settings are still accessible via the command line. The easiest way is to use the graphical interface of the system settings. This is safe and does not require administrator rights if the account has standard privileges.
To get started, open the Start menu and go to "Settings" (the gear icon). Then select "Network & Internet." In the left pane (or in the list for Windows 11), find "Wi-Fi." Here, you'll need to find the option to manage known networks. In Windows 10, it's called "Manage known networks," and in Windows 11, it may be located under "Advanced Wi-Fi settings."
☑️ Check before deletion
In the list of displayed networks, find the one whose password you changed. Click it and select "Forget" or "Delete." After doing this, Windows will completely erase all data about this access point, including the encryption type and security keys. Now, when you try to connect, the system will behave as if you were seeing this network for the first time.
- 📡 Click on the Wi-Fi icon in the tray (lower right corner of the screen).
- 🗑️ Find the problematic network in the list of available connections.
- 🚫 Right-click and select "Forget" (if the option is available in the current interface).
- 🔄 Or use the full path via Settings -> Network & Internet -> Manage known networks.
If the graphical interface does not work correctly or the desired network is not displayed in the list of "known" ones, you can use the command line. This universal method, which works even in Safe Mode. Open a command prompt as administrator and enter the command to view profiles: netsh wlan show profilesFind your network name in the list and use the delete command: netsh wlan delete profile name="Network_Name".
Setting up a connection on macOS
In Apple's operating system, the process of managing network profiles has its own specifics, depending on the version of macOS. In older versions (before Monterey), the settings were located in the access keys, whereas in newer systems, Apple has implemented a more convenient Wi-Fi management interface directly in System Preferences.
For macOS Ventura and later, open System Preferences from the Apple menu. Go to the "Wi-Fi" section in the sidebar. On the right side of the window, look for the "Advanced" button (usually located at the bottom of the list or as three dots). In the window that opens, you'll see a list of all networks your computer has connected to. Find the one you want, select it, and click the minus (-) button or select "Remove."
In older versions of macOS (Big Sur, Catalina, and earlier), this procedure requires accessing Keychain Access. Open Keychain Access via Spotlight or the Applications -> Utilities folder. Select "Passwords" from the list on the left. Find the name of your Wi-Fi network, right-click it, and select "Delete." The system will prompt you for confirmation and the user account password.
What to do if the network won't delete on macOS?
If the system displays an error when deleting a profile, try restarting your computer in Safe Mode. For Intel Macs, hold down Shift during startup; for Apple Silicon Macs, hold down the power button until the boot options appear. Safe Mode removes many system locks, allowing you to delete the problematic network profile.
After deleting the profile, you should restart your computer or turn the Wi-Fi module off and on again. This ensures that the macOS network stack completely flushes its cache. When rescanning the network, click the network name and enter a new password. Pay attention to your keyboard layout—macOS often defaults to English, and entering a password with Russian characters will result in an error.
Using the Command Prompt to Reset the Network
For advanced users or system administrators facing widespread connection issues, the most effective tool is the command prompt (CMD) or PowerShell. This method allows you to not only remove a single network but also completely reset the Windows network stack, eliminating hidden software errors.
First, you need to launch the console with administrator privileges. Type "cmd" in the search bar, right-click "Command Prompt," and select "Run as administrator." The first step is to run the command to reset all network settings: netsh winsock resetThis command rewrites the network sockets registry, which often solves driver problems.
Then reset the TCP/IP protocol with the command netsh int ip resetAfter this, it's recommended to delete a specific Wi-Fi profile if you don't want to reset all settings at once. Use the command: netsh wlan delete profile name="Your_network_name" i=. Parameter i= Indicates that the profile should be deleted for all interfaces.
| Team | Description of action | Need to reboot |
|---|---|---|
netsh winsock reset |
Resetting the Winsock directory to default settings | Necessarily |
netsh int ip reset |
Reset TCP/IP protocol settings | Necessarily |
ipconfig /flushdns |
Clearing the DNS client cache | Not required |
netsh wlan delete profile |
Deleting a specific Wi-Fi profile | Desirable |
After running all commands, be sure to restart your computer. Upon startup, the system will create new network configurations from scratch. This is especially useful if your laptop not only won't connect but also can't see the list of available networks. Complete reset of the network stack Fixes errors that cannot be corrected through the graphical interface.
Common mistakes and how to solve them
Even after deleting the old profile and entering a new password, the connection may fail. One of the most common errors is "Cannot connect to this network" or "Incorrect password," even though you are sure you entered it correctly. In this case, it's worth checking the encryption type. If the router is configured for WPA3, and the laptop's network card is old and only supports WPA2, connecting will be impossible without changing the router's security settings.
Another common issue is a hidden character or letter case. Wi-Fi passwords are case-sensitive. Make sure Caps Lock is not enabled and that you are using the correct language layout. Users often confuse the number 0 with the letter O, or 1 with l (lowercase L). They may look similar, but to the system, they are different characters.
⚠️ Note: If your router broadcasts networks in the 2.4 GHz and 5 GHz bands under the same name (Smart Connect feature), your laptop may try to connect to the 5 GHz band, where the signal is weaker or there is interference, ignoring the 2.4 GHz band. Try temporarily separating the network names in your router settings.
It's also worth checking your date and time settings. If your laptop's time is incorrect, security certificates may be invalidated, which will result in connection failure. Set up automatic time synchronization via the internet. Furthermore, antivirus programs and firewalls sometimes block connections to a "new" network, considering it suspicious due to encryption key changes.
- 🔍 Check your keyboard layout when entering your password (enable display of characters).
- 📅 Make sure the date and time on your laptop are set correctly.
- 🛡️ Temporarily disable third-party antivirus or firewall software to check.
- 📶 Try moving closer to the router to rule out signal problems.
Updating wireless adapter drivers
If software solutions don't help, the problem may lie in the network adapter drivers. Laptop and network card manufacturers regularly release updates that fix compatibility issues with new encryption standards. Outdated driver may not correctly handle the re-handshake process when changing a password.
To update, open Device Manager (press Win+X and select the appropriate item). Find the "Network Adapters" section, expand it, and find your Wi-Fi module (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 (Dell, HP, Lenovo, Asus) or chip manufacturer (Intel, Broadcom), download the latest driver for your model, and install it manually. Be sure to reboot after installation.
Resetting network settings as a last resort
If none of the above methods help, Windows offers a full network reset. This removes all installed network adapters and restores all network components to factory defaults. This is a radical but effective solution.
To reset your computer, go to Settings -> Network & Internet. At the bottom of the page, find the "Network reset" link (in Windows 11, go to Advanced network settings -> Network reset). Click the "Reset now" button. The system will warn you that your computer will restart in 5 minutes.
After rebooting, you'll have to re-enter passwords for all Wi-Fi networks, as the list of saved profiles will be completely cleared. VPN settings and virtual switches (such as those from VirtualBox or Docker), if used, may also be reset. This method ensures that no old configurations remain in the system.
What to do if resetting the network didn't help?
If even a full network reset and driver reinstallation don't resolve the issue, the laptop's wireless module may be faulty or the router may be blocking the device by MAC address. Check the list of blocked clients in the router settings. Also, try connecting the laptop to a different Wi-Fi network (for example, from your phone) to determine whether the issue lies with the router itself or the laptop's hardware.
Is it possible to connect without deleting the profile?
In rare cases, Windows automatically detects that the password has changed and requests a new one when attempting to connect. However, this shouldn't be relied upon. The system often caches the authorization error. Forcibly deleting the profile ("Forget the network") is the only guaranteed way to force the OS to request new credentials.
How do I know if my laptop supports WPA3?
Open command prompt and type netsh wlan show driversLook for the line "Supported encryption types" or "Supported cipher." If it says WPA3, your adapter and driver support the new security standard. If not, changing the router password to WPA3-only will prevent your laptop from connecting.