How to Forget a WiFi Network in Windows 10: A Complete Guide

Modern operating systems, including Windows 10, strive to automate the internet connection process as much as possible, saving user passwords and preferences for easy access in the future. However, this convenient feature sometimes becomes a problem when it's necessary to change router settings, change a password, or simply clear unnecessary entries from the list of saved profiles. In such situations, it becomes necessary to forcefully delete a saved connection profile, or, as users say, "forget" the network.

Deleting profiles may be necessary not only when upgrading hardware but also to resolve common connection errors when the system attempts to use old, incorrect login credentials. Understanding how to manage saved profiles is an essential skill for any PC user who wants to maintain the stability of their home or office network. In this article, we'll cover all the available methods for accomplishing this task in detail.

There are several ways to solve the problem: from using a graphical interface Parameters, which is the most beginner-friendly, before using more advanced tools like the command line for bulk management. The choice of a specific method depends on your current situation: whether you're currently connected to the network or not, and whether you need to delete a specific entry or clear the entire list at once.

Why do I need to delete saved WiFi profiles?

The main reason users have to think about how to forget a WiFi network on Windows 10 is because of changes to the access point configuration. If you've updated your router, changed the encryption type, or WPA2 on WPA3 or simply set a new password, the operating system may continue to attempt to connect using outdated security keys. This leads to endless loops of login attempts and an inability to access the internet.

Another common cause is having multiple profiles in your list, especially if you frequently move your laptop between home, the office, and cafes. A large number of saved entries can slow down the scan for available networks or cause priority conflicts when the system tries to connect to a weak neighbor's network instead of your powerful access point.

⚠️ Important: Deleting a network profile is irreversible for your current settings. If you forget the network, you will need to re-enter the password to reconnect. Make sure you have up-to-date login information before starting the process.

Clearing the list also helps for diagnostic purposes. If you're experiencing constant connection drops or low speeds, deleting the old profile and creating a new one from scratch often clears accumulated software errors in the TCP/IP stack and adapter drivers. This is a kind of "soft reset" of the connection settings for a specific provider or router.

📊 How often do you change your WiFi password?
Once a month
Once every six months
Once a year
I never change

Removing a network via the Windows Settings menu

The simplest and most recommended method for most users is to use the system's built-in graphical interface. This method requires no knowledge of special commands and allows for visual monitoring of the process. It's ideal for situations where you need to remove one or more specific networks from the list of saved networks.

First, you need to open the main settings menu. Press the key combination Win + I on your keyboard or right-click the Start button and select Settings. In the window that opens, find and go to the section Network and InternetAll the main connection settings for your computer are located here.

The next steps depend on whether you're currently connected to the network or not. If you're out of range or disconnected from WiFi, select the tab in the left menu. Wi-Fi, and then click on the link Managing known networksA list of all profiles that have ever been saved on this device will open.

If you're actively using the internet right now, the interface may be slightly different. In this case, go to the section Wi-Fi, scroll down the page to the item Managing known networks or click on the link Change adapter settingsIf there's no direct button (the location may vary in different Windows 10 builds), find the desired network in the list, click it, and press the button Forget.

☑️ Check before deletion

Completed: 0 / 4

After clicking the button, the system will immediately delete the profile. If you were connected, the connection will be broken. Now, if you try to connect again, Windows will act as if it's seeing this network for the first time and will prompt you for the password again.

Using the Command Line to Delete Profiles

For advanced users or system administrators who need to remove multiple networks or perform cleanup on a computer without a graphical interface, the command line is the ideal solution. netsh provides powerful tools for managing Windows network settings, allowing you to perform operations that are unavailable or hidden in the regular menu.

To get started, you need to launch the command prompt with administrator rights. Click Win + X and select Windows PowerShell (Administrator) or Command Prompt (Administrator)Without administrator rights, the system will not allow you to make changes to the network configuration. The first step is always to view a list of all saved profiles. Enter the following command and press Enter:

netsh wlan show profiles

The system will display a list of all saved profiles in the "User Profiles" section. Find the exact name of the network you want to delete. Pay attention to the case and special characters, as the name must be specified exactly. To delete a specific profile, use the command:

netsh wlan delete profile name="Your_Network_Name"

Instead of Your_Network_Name Substitute the actual name you saw in the list. If the name contains spaces, quotation marks are required. After executing the command, the system will confirm successful deletion with the message "Profile 'Network_Name' has been successfully removed from the interface."

⚠️ Warning: There is no Undo option in the command line. Be extremely careful when entering the name of the profile you are deleting to avoid accidentally erasing connection data for a critical network, such as a corporate or home network.

This method is especially useful when the graphical interface is malfunctioning or frozen. The command line accesses system services directly, bypassing potential bugs in the settings interface.

How to delete all profiles at once?

If your goal is a complete wipe, you can use the netsh wlan delete profile name= command. i= The asterisk indicates a wildcard mask, meaning it deletes all profiles. Be careful, as this will delete all saved WiFi networks on your computer.

Resetting network settings via PowerShell

An alternative to the classic command line is a more modern shell PowerShellIt has a more flexible syntax and allows you to run complex scripts, although the same commands can be used for the simple task of deleting a network. netshHowever, PowerShell also allows you to interact with the class WlanProfile directly, which gives more control.

To begin, open PowerShell as an administrator. You can find it by searching in the Start menu, right-clicking it, and selecting the appropriate option. To remove the network, we'll again use a tried-and-true utility. netsh, as it is the de facto standard for managing wireless interfaces in Windows, but let's do it in the PowerShell environment.

First, let's list the profiles with the command netsh wlan show profilesOnce you've decided on a network name, delete it. The advantage of PowerShell is that you can combine this with other commands, for example, attempting to reconnect or flushing the DNS cache immediately after deleting.

If standard methods don't help and the profile is stuck to the system, you can try a more radical method by resetting the network stack itself. In PowerShell, this is done with the command netsh int ip reset And netsh winsock reset, after which a computer restart is required. This will reset all network settings to factory defaults, including deleting all WiFi profiles.

Comparison of WiFi network removal methods

The choice of network deletion method depends on your skills and the specific situation. The graphical interface is convenient for one-time actions, the command line is for selectively deleting problematic networks, and a full reset is for global issues. Below is a table to help you decide.

Method Complexity Speed Risk of error
Windows Settings Low Average Minimum
Command line Average High Average (syntax)
Complete network reset Low Low (requires reboot) High (removes everything)
Registry (not recommended) High High Critical

As can be seen from the table, for 95% of users the "Options" menu remains the optimal option. Using the registry (Registry) is listed as not recommended because direct editing of keys in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles may lead to unstable operation of the system at the slightest error.

Solving common problems when deleting

Sometimes users encounter a situation where the "Forget" button is inactive (grayed out) or the profile disappears from the list, but the system continues to automatically connect. This can be caused by group policies if the computer is corporate, or by wireless adapter driver errors.

In a corporate environment, security policies may prohibit the deletion of certain profiles. In this case, standard methods won't work, and you'll need to contact your system administrator. If the problem is with the driver, try uninstalling the device via device ManagerFind your wireless adapter, right-click it, and select "Uninstall device." Then restart your computer. Windows will automatically reinstall the driver.

It's also worth checking out the service WLAN AutoConfig. Click Win + R, enter services.msc and find this service in the list. It must be started and running automatically. If it is stopped, you will not be able to manage WiFi networks, including deleting profiles.

⚠️ Note: Operating system and driver interfaces are constantly updated. The location of buttons and menus may vary slightly depending on the Windows 10 build version (e.g., 21H2, 22H2) or the installed WiFi adapter driver version. If you don't see the button described, look for a similar one.

Frequently Asked Questions (FAQ)

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

The connection will be immediately terminated. The computer will stop transmitting data through this interface. If you have other saved networks within range, Windows will attempt to connect to them. If there are no other networks, you will be without internet access until you re-enter your password.

Is it possible to recover a deleted WiFi profile?

The operating system itself doesn't provide a way to "restore" a deleted profile. Windows doesn't store user-accessible backups of profiles. The only way to "restore" access is to re-find the network in the list of available networks and enter the password to create a new profile.

Why is the "Forget" button inactive (gray)?

This often happens if you're trying to forget the network you're connected to via Ethernet and your WiFi adapter is turned off, or if the settings are controlled by your organization. Try turning on your WiFi adapter or signing out of your organization account, if possible.

Will the network password be removed if I simply turn off my laptop?

No, simply shutting down or restarting your computer does not delete saved profiles. They are stored in the system's non-volatile memory. To delete them, you must manually perform the "Forget Network" procedure through the settings or command line.