How to Forget a Wi-Fi Network in Windows 10: A Complete Guide

Many users are familiar with the situation when a laptop or desktop computer stubbornly tries to connect to a Wi-Fi router with an incorrect password or an unstable signal. This happens because the operating system automatically Remembers the settings of all networks you've ever connected to. In Windows 10, managing these profiles has become more complex than in previous versions of the OS, and the standard interface doesn't always allow you to delete an unnecessary connection in the usual way.

It's often necessary to clear the list of saved networks to fix connection errors or simply tidy up security settings. If you've changed your router or password, but your device continues to attempt to connect to the network using the old credentials, the only solution is to forcefully delete the profile. In this article, we'll cover all available methods, from simple graphical interfaces to advanced commands for system administrators.

Before proceeding with the removal, it is important to understand that the procedure forgetting the network Completely erases all saved security keys and IP settings for a specific SSID. You'll need to re-enter the password the next time you connect. This is a fundamental step that helps flush the network error cache and forces the adapter to re-establish a handshake with the access point.

⚠️ Important: Deleting a network profile is irreversible for the current settings session. Make sure you have the current Wi-Fi password handy, as the system will no longer automatically fill it in.

There are several ways to accomplish this task, and the method you choose depends on your Windows 10 build, whether you have administrator rights, and your personal preferences for using the interface. We'll cover both the built-in graphical interface tools and console utilities, which are often more effective in complex situations.

Removing via system settings in current builds

In newer versions of Windows 10 (starting with the 2004 update and later), Microsoft has reintroduced the ability to manage Wi-Fi profiles directly in the Settings graphical interface. This is the easiest and safest method for the average user, and doesn't require command line knowledge. To use this method, open the Start menu and go to Settings. Parameters, or press a key combination Win + I.

In the window that opens, select a category Network and InternetIn the left menu column, make sure the tab is selected. Wi-Fi, then find the "Manage known networks" link. This is where a list of all profiles your computer has connected to in the past is stored. The interface may differ slightly depending on the build version, but the logic remains the same.

In the "Known Networks" list, find the one you want to remove. Left-click on it to reveal additional options. You'll see a button ForgetClicking this button will instantly delete the profile from the system. If the button is missing, your version of Windows doesn't support this graphical method, and you'll need to use the alternatives described below.

  • 🔹 Open Settings via Start or the Win+I hotkey
  • 🔹 Go to Network & Internet -> Wi-Fi
  • 🔹 Select Manage known networks
  • 🔹 Tap on the desired network and select Forget
📊 How often do you change your Wi-Fi passwords?
Once a month
Once every six months
Once a year
I never change

It's worth noting that this method only deletes the profile for the current user account unless enterprise group policies are applied. In a home environment, this isn't a concern, but in a corporate environment, administrators may block profile deletion for standard users.

Using the CMD command line to delete profiles

If the graphical interface doesn't provide the required options or isn't working correctly, the classic command line comes to the rescue. netsh (Network Shell) is a powerful tool for managing network configurations in Windows. You will need privileges to perform profile deletion operations. administrator.

Launch the Command Prompt as administrator. To do this, right-click the Start menu and select "Windows PowerShell (Administrator)" or search for "CMD," right-click, and select it. First, you need to know the exact profile name, which may differ from the network name (SSID), especially if Cyrillic characters or special symbols were used.

netsh wlan show profiles

This command will list all saved profiles. Find the desired network in the list. Pay attention to the "User Profile" column. To delete a specific network, use the following syntax, substituting the name of your profile:

netsh wlan delete profile name="Profile_Name"

If the network name contains spaces, it must be enclosed in quotation marks, as shown in the example above. After entering the command, the system will display a message confirming successful deletion. This method is advantageous because it works on almost all versions of Windows, starting with XP, and ignores many graphical interface bugs.

⚠️ Note: The command prompt does not ask for confirmation before deleting. Be careful when entering the profile name to avoid accidentally deleting access to an important corporate or home network.

To bulk delete all profiles at once, you can use the command netsh wlan delete profile name=all, however, in Windows 10 it often requires you to specify the interface name. For example: netsh wlan delete profile name=* interface="Wi-Fi"This is a radical method that will completely clear all saved Wi-Fi connections on the device.

PowerShell Management for Advanced Users

PowerShell is a more modern alternative to the command line with advanced object handling capabilities. It also uses a module to manage Wi-Fi profiles. NetConnection, but the syntax may seem more complex for beginners. However, PowerShell allows you to automate the process and obtain more detailed information about network status.

Launch PowerShell as administrator. To see a list of all profiles, enter the following command:

Get-NetConnectionProfile

However, to directly delete Wi-Fi profiles in PowerShell, it is more convenient to use the same commands netsh or working with XML configuration files. A direct cmdlet for deleting a specific Wi-Fi profile in the standard module may not be available depending on the OS version, so a hybrid approach is often used.

You can export the profile to XML, modify it, or simply delete it using a standard call. However, there's also a native deletion method via WMI (Windows Management Instrumentation), which is available in PowerShell:

$profileName = "Your_Network_Name"

$interfaceName ="Wi-Fi"

netsh wlan delete profile name=$profileName interface=$interfaceName

Using variables makes a script more readable and reusable. You can create a simple script .ps1, which will automatically clear the list of networks when necessary.

  • 🔹 PowerShell provides access to WMI classes
  • 🔹 Ability to create scripts for automation
  • 🔹 More flexible data output management
  • 🔹 Remote computer control support
Why does PowerShell sometimes not see netsh commands?

On some minimalist Windows builds or under certain security policies, the path to the executable files may not be specified in PowerShell's environment variables. In this case, use the full path C:\Windows\System32\netsh.exe or switch to CMD compatibility mode.

It's important to understand the difference between user profiles and system profiles. PowerShell allows you to distinguish between them and delete them selectively. If you're working in a domain, some profiles may be deployed via Group Policy and marked as "All Users," which requires administrator privileges to delete them.

Cleaning via Windows Registry Editor

The Windows registry is a centralized configuration database that also stores network connection settings. Manually editing the registry is the riskiest method, but it provides access to data that may be hidden from standard tools. Before beginning any work, it is strongly recommended to create a registry key. restore point systems.

Click Win + R, enter regedit and press Enter. You need to navigate to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles

Here you'll see a multitude of folders with names in the form of GUIDs (a set of random characters). To find the desired network, you'll have to click on each folder and look at the parameter ProfileName in the right part of the window. This is a labor-intensive process if there are many networks.

However, there is a more specific path specifically for Wi-Fi profiles, where keys and security settings are stored:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features

However, the most direct way to remove it is still to use the command line, since the registry stores data in encrypted or complex binary form, and simply deleting the key may not produce the desired result without restarting the WLAN AutoConfig service.

Parameter Description Recommendation
ProfileName The network name displayed to the user Use for search
Description Profile Description Often empty
DateCreated Profile creation date Useful for sorting
Guid Unique identifier Do not change manually

⚠️ Warning: Incorrectly editing the registry may result in operating system instability or complete loss of network settings. Always back up the registry before making changes.

Resetting network settings as a radical method

If none of the methods help, or if the system is unstable and constantly losing connection, it might be worth performing a full network reset. This feature is built into Windows 10 and returns all network components to their factory settings. This action will remove All saved Wi-Fi networks, passwords, VPN settings and virtual adapters.

To perform a reset, go to Parameters -> Network and InternetAt the very bottom of the Status page you will find a link Network resetBy clicking on it, you will see a warning that the computer will restart in 5 minutes.

This method is especially useful when upgrading to a new version of Windows 10 or after uninstalling antivirus software that may have installed its own network filters. After rebooting, you'll need to reconnect to your home network using the password.

  • 🔹 Removes all network adapters and reinstalls them
  • 🔹 Clears DNS cache and resets TCP/IP
  • 🔹 Deletes all Wi-Fi profiles and Bluetooth pairings
  • 🔹 Requires a mandatory computer restart

Using this method ensures that no legacy configurations remain in the system. This often resolves issues where the computer can see the network but cannot obtain an IP address or access the internet despite the correct password.

☑️ Checklist before resetting the network

Completed: 0 / 5

Common problems and their solutions

Even following the instructions, users may encounter errors. For example, the system may display "Access Denied" when attempting to delete a profile. This almost always means that the command prompt or PowerShell is running as a standard user, rather than administrator.

Another common issue is when a profile is deleted, but then immediately reappears. This behavior is typical for corporate computers connected to a domain. In this case, profiles are enforced by Group Policy (GPO). To resolve this issue, the average user will need to contact the organization's system administrator.

The WLAN AutoConfig service may also be damaged. If this service is stopped or is not running correctly, Wi-Fi management becomes impossible. You can check its status in the window services.mscFind the "WLAN AutoConfig" service, make sure the startup type is set to "Automatic," and restart it.

⚠️ Note: Interfaces and menu item names may vary slightly depending on the version of Windows 10 (Home, Pro, Enterprise) and cumulative updates installed. If you can't find the item, try searching in system settings.

Comparison of network removal methods

To help you choose the right method, we've summarized the key characteristics of the methods in a comparison table. Each has its own advantages depending on the specific situation and the user's level of expertise.

Method Complexity Speed Security
Options (GUI) Low High High
Command line Average Very high Average
PowerShell High High Average
Network reset Low Low (requires restart) Low (removes everything)

For most home users, using the standard settings menu or command line remains the optimal option. These methods strike a balance between convenience and efficiency, allowing you to quickly forget an unwanted Wi-Fi network.

Is it possible to restore a deleted network?

Automatically – no. Windows doesn't have a recycle bin for network profiles. However, when you reconnect to the same access point, the system will create a new profile from scratch, prompting you for a password again.

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

This often happens if you're currently connected to this network. Windows won't let you delete the active network profile. First, disconnect from Wi-Fi or switch to a cable (Ethernet) connection, then the button will become available.

How do I delete a network if I don't remember its exact name?

Use the command line. Command netsh wlan show profiles will display a list of all names. If the name contains special characters, copy it carefully. In the graphical interface, the list usually displays the SSID, which is easy to recognize visually.

Will the network be deleted on my other devices?

No. Wi-Fi settings are stored locally on each device. If you forget the network on your laptop, your phone or tablet will continue to store the password and automatically connect to the router. You'll need to repeat the process for them separately.

What should I do if Windows says "Failed to delete profile"?

Try restarting your computer and trying again. If the error persists, check if there's a process using the network running. As a last resort, perform a full network reset through Settings; this is guaranteed to clear all profiles.

Is it possible to delete system Wi-Fi Direct profiles?

Profiles created for features like "Projecting to this PC" or Wi-Fi Direct are often system-wide. Deleting them using standard tools can block them. This is usually unnecessary, as they don't interfere with normal operation and don't consume bandwidth without active use.