Many users are familiar with the situation when a computer refuses to connect to a previously known router or endlessly requests a password. Configuration failure This can occur after updating drivers, changing security settings on the router, or a software conflict within the operating system itself. Instead of the usual automatic login, the system returns an error or ignores the connection attempt, requiring a complete reset.
Often the problem lies in the fact that Windows Saved an invalid profile with outdated encryption keys. This is especially true if you recently changed the router password or switched it to WPA3 mode. The operating system continues to attempt to use the old data, resulting in cyclic authentication errors. In such cases, you should forcefully delete the saved profile and create a new one.
Don't panic if the indicator on the adapter is on, but there is no internet access. Resetting network settings via the command line solves 90% of problems with "forgotten" or blocked profiles without reinstalling drivers. Below, we'll look at proven methods for restoring access, ranging from simple interface actions to in-depth analysis of system logs.
Diagnosing the status of a wireless adapter
Before resorting to drastic measures, it's important to understand the current status of your network equipment. Users often try to restore the network without checking whether the module itself is active. Wi-FiSome laptops have physical switches or function keys (e.g. Fn+F2) that can software-basedly disable the radio module, creating the illusion of a software error.
You can check the adapter's status through Device Manager or Control Panel. If the driver is working correctly, there will be no yellow exclamation marks in the hardware list. However, even if the driver appears to be working properly, hidden resource conflicts may exist that prevent connection profiles from being processed correctly.
⚠️ Important: If the adapter is marked with error code 10 or 43 in Device Manager, a software network reset will not help - you will need to reinstall the drivers or replace the hardware.
It is also worth paying attention to Windows services. Service WLAN AutoConfig must be running and operating automatically. Without it, the operating system will be physically unable to manage wireless connections, regardless of whether the passwords entered are correct.
Deleting a saved profile via Settings
The safest and easiest way to fix this is to delete the old network profile through the graphical interface. This forces the system to "forget" all previous connection attempts and encryption keys associated with this SSID. To do this, go to the menu Start → Settings → Network & Internet.
In the window that opens, select the tab Wi-Fi, and then click on the button Managing known networksA list of all access points your PC has previously connected to will be displayed. Find the problematic network in the list, click on it, and select the option Forget.
- 🔄 After deleting the profile, you must completely restart your computer to reset the network services cache.
- 🔑 When you reconnect, the system will request a password again, creating a clean profile without old errors.
- 📡 Make sure you select the correct frequency (2.4 GHz or 5 GHz) if your router broadcasts them as different networks.
This method is effective when the problem is caused by password desynchronization. If the error persists after deleting and re-entering the data, the cause lies deeper—in system protocol settings or drivers.
Using the Command Prompt to Reset the Network
When the graphical interface is unresponsive or hides necessary options, the command line comes to the rescue. This method allows you to directly interact with the profile database. Netsh. Launch the terminal as administrator by entering cmd in the search and selecting the appropriate item.
First, you need to know the exact profile name that the system uses to identify the network. Enter the command netsh wlan show profilesFind your network name in the list. Then, to delete it, use the following command: netsh wlan delete profile name="Network_Name".
netsh wlan delete profile name="Home_WiFi"
If the removal was successful, the system will confirm this with a message. However, for full effect, it is recommended to reset all network settings of the TCP/IP stack. This will clear the DNS cache and reset Winsock, which often resolves issues with network services freezing.
⚠️ Note: Commands in the command line are case-sensitive and quotation mark-sensitive. If the network name contains spaces, it must be enclosed in quotation marks.
After executing all commands, be sure to reboot. Only then will the changes take full effect, and the adapter will begin scanning the airwaves with a clean slate.
☑️ Checklist before resetting via console
Resetting network settings via the system interface
In modern versions Windows 10 And Windows 11 A nuclear reset of all network components is available. This action removes all installed network adapters and reinstalls them, as well as resets protocol settings to factory defaults.
To use this feature, open Settings → Network & Internet → Advanced network settings (in Windows 11) or scroll down to the bottom of the status page (in Windows 10). There you'll find a link Network resetThe system will warn you that the computer will restart.
| Action | Result | Need to reboot |
|---|---|---|
| Forget the network | Deleting only one profile | Recommended |
| Resetting the adapter | Turning the device off and on | No |
| Complete network reset | Removing all profiles and drivers | Necessarily |
This method is a "heavy artillery" and should be used only if other methods fail. It is guaranteed to resolve software conflicts, but it will require you to re-enter the passwords for all Wi-Fi networks you use.
What happens when you reset your network?
When performing a hard reset, the operating system deletes registry keys related to network connections and resets firewall settings. All VPN clients and virtual adapters (such as those from Docker or VirtualBox) may be removed or require reinstallation.
Working with the Windows registry and services
Sometimes the problem lies in corrupted registry entries that control connection priority or power saving settings. Navigate to the following path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WlanSvc Allows you to check the wireless network service startup parameters.
Parameter value Start should be equal 2 (Automatic). If set to a different value, the service may not start on time during system boot, resulting in an inability to connect to known networks. Changing this setting requires administrator privileges and care.
It's also worth checking the adapter's power settings. In Device Manager, under your Wi-Fi adapter's properties, on the "Power Management" tab, uncheck the box. Allow the computer to turn off this device to save powerThis will prevent the module from operating unstable when the laptop goes into sleep mode.
- ⚡ Disabling power saving often solves the problem of spontaneous connection breaks.
- 🛡️ Check your antivirus: third-party firewalls may be blocking re-authorization on the network.
- 🔧 Use Windows' built-in troubleshooter by searching for "Network troubleshooter."
Editing the registry is a risky operation. Before any manipulation, it's recommended to create a system restore point to ensure you can roll back in case of unexpected errors.
Frequently Asked Questions (FAQ)
Why does Windows say "Can't connect to this network"?
This error most often indicates a security type or password mismatch. The router may be using a different protocol. WPA3, and your adapter only supports WPA2, or the old password is saved in the profile. A complete network profile deletion is required.
How to restore the network if the Wi-Fi button is missing?
Most likely, there was a problem with the WLAN driver or service. Try resetting the network through Settings or reinstalling the wireless adapter driver in Device Manager by selecting "Uninstall device" and restarting your PC.
Is it possible to recover a password for a forgotten network?
If you've previously connected to this network from this computer, you can view the password in the wireless network properties under "Security" by checking the "Show characters" box. If the profile is deleted, the password cannot be recovered programmatically.
Does antivirus affect network recovery?
Yes, some aggressive firewall settings in antivirus software can block the re-authentication process or treat the network as public and prevent detection. Try temporarily disabling the protection to test.
What to do if the network is visible but does not connect?
Check the frequency range. If the router is broadcasting at 5 GHz and the adapter is old (2.4 GHz), you won't be able to connect. Also, try statically entering the IP address and DNS in the IPv4 protocol properties.