How to Forget a WiFi Network on a Windows Laptop: All Methods

Many users are familiar with the situation where a laptop flatly refuses to connect to the router or constantly attempts to connect with incorrect data. Often, the root of the problem lies in a saved profile that contains outdated or incorrect security settings. Windows tries to automatically reconnect using cached data, even if you've changed the password or encryption type on the router.

The solution lies in a simple yet effective operation: deleting (or "forgetting") the network. This action forces the operating system to erase all saved access keys and configurations for a specific SSID. After this, whenever a connection attempt is made, the computer will request the latest data again, which resolves the configuration conflict in 95% of cases.

In this guide, we'll cover all available methods for accomplishing this task, from the standard settings interface to advanced command-line methods. You'll learn how to manage the list of known networks, clean the registry, and prevent automatic connections to public access points.

Why do I need to delete a WiFi network profile?

The Windows operating system stores information about every access point you've ever connected to. This mechanism is convenient for automation, but it becomes a problem when the hardware configuration changes. If the router changes the channel, encryption standard, or password, the old profile on the laptop may block successful authentication, creating an endless loop of connection attempts.

In addition, deleting a profile is useful for the purposes of securityIf you connected to a public network at a cafe or airport, it's best to delete it after use. This will prevent your device from automatically connecting to a potentially unsafe hotspot in the future when you're within range.

Why doesn't Windows forget the network itself?

The operating system prioritizes connection stability. If the password was previously correct, Windows assumes it is still valid and does not check for a change without explicit user prompting or resetting network settings.

It is also worth noting the work of the function Wi-Fi Sense In older versions of the operating system, it was possible to share access with contacts. Although this feature was removed in Windows 10 and 11, the habit of saving all known networks remains. Regularly cleaning the list of known networks is a good digital hygiene practice.

Removing a network using standard Windows 10 and 11 settings

The easiest and safest way to delete a saved profile is to use the built-in graphical interface. In modern versions of Windows 10 and 11, the Settings menu has become more intuitive, allowing you to manage connections without complex commands.

To get started, open the Start menu and select the gear icon to get to Parameters. Next, go to the section Network and InternetIn the left part of the window (or in the center, depending on the OS version), select the category Wi-FiHere you will need to find a link or button called "Manage known networks."

A list of all SSIDs that the system remembers will open. Find the desired network in the list, click on it, and press the button. ForgetThe system will immediately delete the profile, and the next time a signal is detected, the router will request the password again.

  • 📡 Open Parameters via the Start menu.
  • 🔗 Go to the section Network and Internet -> Wi-Fi.
  • 🗑️ Find the desired network in the list and click Forget.
  • ✅ Confirm the action if prompted by the system.
📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 8.1
I don't know
Other OS

It's important to understand that after this operation, all applications that used saved credentials for syncing or cloud services over this network may require re-authorization. This is normal behavior, confirming that the old keys have been successfully removed from storage.

Deleting WiFi profiles via the command line

For system administrators or advanced users, the command line (CMD) is a more effective tool. It allows you to not only delete profiles but also view their full list, including those hidden in the graphical interface. This is especially useful if a network isn't listed in the standard list but continues to interfere with your work.

To run the utility, you need to open a command prompt with administrator rights. Right-click the Start button and select Windows PowerShell (Administrator) or Command Prompt (Administrator)In the window that opens, enter the command to view all saved profiles:

netsh wlan show profiles

The system will display a list of all known profiles. Find the exact name of the desired network. To delete it, use the command:

netsh wlan delete profile name="Network_Name"

Please note that if the network name contains spaces, it must be enclosed in quotation marks. If you enter the name incorrectly, the system will return the error message "Group or resource not found."

This method also allows you to delete profiles in bulk if you prepare a script, but for one-off operations, a manual command is sufficient. A reboot is not required after the action is performed—the changes take effect immediately.

Comparison of removal methods: characteristics table

The choice of removal method depends on your goals and your level of system access. A graphical interface is suitable for most home users, while the command line offers greater control. Below is a comparison of the key features of the different approaches.

Method Complexity Availability Bulk deletion capability
Windows Settings Low All versions of Win 10/11 No (only one)
Command Prompt (CMD) Average Requires admin rights Yes (via scripts)
Windows Registry High Experienced users Yes (by deleting keys)
Network reset Low All versions Yes (removes ALL networks)

As the table shows, for a single deletion, it's best to use the default settings. However, if you're setting up a computer for an office and need to clear the connection history of a previous employee, the command line will be more effective.

Radical measures: a complete reset of network settings

If deleting a specific profile doesn't help, or if the network list is corrupted and causing network stack errors, you can perform a full reset. This will return all Windows network components to factory settings. This means you'll have to re-enter passwords for all Wi-Fi networks you use.

To perform a reset, go to Parameters -> Network and InternetFind the link at the very bottom of the page. Network reset (in Windows 10) or Additional network parameters -> Network reset (in Windows 11) Click the button Reset now and confirm the action.

⚠️ Note: After resetting the network, your computer will reboot after 5 minutes. All saved Wi-Fi passwords, VPN settings, and virtual switches (e.g., for Docker or VirtualBox) will be deleted. Make sure you know the passwords for your networks before starting the process.

This method often resolves issues with network card drivers that aren't working properly or when errors have accumulated in the registry that prevent the Wi-Fi module from functioning properly. It's a "clean slate" for the network adapter.

☑️ Checklist before resetting the network

Completed: 0 / 5

Deleting profiles via the Windows registry

For experts who require deep-level intervention, it's possible to delete profiles via the system registry. This method is not recommended for regular users, as an error can lead to system instability. However, it does allow you to see hidden keys that aren't visible through standard tools.

Profiles are stored in the path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesWithin this branch are folders with unique identifiers (GUIDs). To find the required network, you'll need to check the parameter ProfileName in each folder.

Deleting a profile key from the registry is equivalent to the "Forget" command, but is performed at the Windows configuration database level. Before any registry manipulation Necessarily Create a backup copy of it via the File -> Export menu in the Registry Editor.

Using this method is only justified in those rare cases where the profile is "zombified"—that is, it cannot be deleted either through the settings or the command line, and continues to hang in the system as a dead weight.

Common problems and their solutions

Even after attempting to delete a network, users may encounter issues. For example, the "Forget" button may be grayed out. This often happens if you're trying to delete a network you're currently connected to. Disconnect from Wi-Fi first, and the button will become active.

Another common issue is automatic profile recovery. This can occur if corporate policies or wireless management software (such as those from Lenovo or Dell laptop manufacturers) are installed on the computer and override Windows settings.

⚠️ Note: Wi-Fi driver and management utility interfaces may vary depending on the hardware manufacturer. If standard Windows methods don't work, check for a third-party connection manager in the system tray.

It's also worth checking out the service WLAN AutoConfigIf it is stopped or not working properly, you will not be able to manage profiles. Make sure that in the Services window (services.msc) this service is running and the startup type is set to Automatic.

In some cases, updating your network card drivers can help. The manufacturer may fix bugs in the adapter's software that prevent the network security settings from being correctly removed or updated.

Questions and Answers (FAQ)

What happens if I forget the network I'm currently connected to?

The connection will be immediately terminated. The computer will attempt to reconnect, but since the password will be erased from memory, it will prompt you to enter it again. If you don't enter the correct password, you will no longer be able to access the internet through this access point.

Is it possible to recover a deleted network profile?

No, it's not possible to directly restore a deleted profile. Windows doesn't have a recycle bin for network settings. You'll need to reconnect to the network and enter your password to create a new profile with the current settings.

Will the network be deleted on my other devices if I forget it on my laptop?

No. Wi-Fi settings are stored locally on each device. Deleting a profile on a laptop will not affect your phone, tablet, or other computer, even if they use the same Microsoft account.

Why does Windows automatically connect to open networks?

This is a security and convenience feature. If a network doesn't require a password, Windows considers it public. To avoid this, select the "Public" network type when first connecting to public networks and uncheck "Connect automatically" if available in the advanced settings menu.

How to prevent automatic connection to known networks?

In Windows 10 and 11, you can disable automatic connection for specific networks. When connecting, uncheck "Connect automatically." You can also use group policies or the registry to block connections to networks with specific SSIDs.