How to Forget a Wi-Fi Network in Windows 10: All the Ways to Delete Saved Access Points

Forget Wi-Fi network in Windows 10 This feature can be useful in a variety of situations, from simply changing your router password to clearing your list of saved access points after moving or switching providers. The operating system automatically remembers all networks you've ever connected to, including open and password-protected ones. This is convenient for quickly reconnecting, but sometimes leads to problems—for example, when a device persistently tries to connect to the old network instead of the new one, or when saved data conflicts with the current router settings.

Unlike mobile devices, where you can forget the network in two clicks, in Windows 10 This process isn't always intuitive. The system offers several ways to delete saved networks, from the graphical interface to the command line and registry editing. In this article, we'll cover all the relevant methods, including hidden features not covered in standard instructions. You'll learn how to not only remove a network from the visible list but also completely erase its traces from the system to avoid future conflicts.

We'll pay special attention to situations where standard uninstallation doesn't work: for example, when a network continues to appear in the list despite all attempts, or when the system returns errors when attempting to connect to a new access point. These cases are often related to cached profiles or corrupted adapter settings, and we'll show you how to resolve them without reinstalling drivers.

Why Windows 10 remembers Wi-Fi networks and when to delete them

operating system Windows 10 automatically saves information about each Wi-Fi network you connect to in a special profile. This profile includes not only the network name (SSID), but also:

  • 🔑 Security type (WPA2-PSK, WPA3, open network, etc.)
  • 🔄 Automatic connection settings (network priority)
  • 📡 Frequency data (2.4 GHz or 5 GHz)
  • 🔗 Proxy settings (if configured)
  • ⏳ Last successful connection time

This feature is designed for user convenience: you don't have to enter a password every time you return to a familiar network's coverage area. However, there are several scenarios where saved profiles become a problem:

  1. Changing the password on the routerIf your network administrator has changed the security key and your computer continues to attempt to connect with the old information, you will experience persistent authentication errors.
  2. Name conflictIn densely populated areas, networks with the same names are often found (for example, TP-Link_1234). Windows may confuse them, connecting to the wrong router.
  3. Priority issuesThe system may stubbornly cling to the weak signal of the old network instead of the stronger new connection.
  4. SecuritySaved profiles of open networks (for example, in cafes or airports) increase the risk of automatically connecting to malicious access points with similar names.

It is important to understand that simply removing a network from the visible list in Parameters This isn't always enough. Some data may remain in the adapter cache or registry, causing the network to "return" after a reboot. In the following sections, we'll show you how to delete a profile. completely and irrevocably, including hidden traces in the system.

📊 How often do you connect to new Wi-Fi networks?
Daily
Several times a week
Rarely, only at home/at work
Only when traveling

Method 1: Remove the network via Windows Settings (graphical interface)

The easiest and safest method is to use the standard interface Windows 10This method is suitable for most users and doesn't require any special knowledge. Here are the step-by-step instructions:

  1. Open the menu Start and select Parameters (gear icon) or press the key combination Win + I.
  2. Go to the section Network and Internet.
  3. In the left menu, select Wi-Fi.
  4. Scroll down and click Managing known networks.

A list of all saved Wi-Fi networks will open. There are a few things to consider:

  • 🔍 The network you are currently connected to will be marked as Connected.
  • 📶 Networks with a weak signal may not appear in the main list of connections, but will be listed here.
  • 🔒 Secure networks are marked with a lock icon, open networks are not.

To remove an unnecessary network:

  1. Find the required network in the list and click on its name.
  2. Click the button Forget.
  3. Confirm the action in the dialog box that appears.

After this, the network profile will be removed from the system. However, it's worth noting the limitations of this method:

What is being removed What remains
Network name (SSID) Cached adapter data
Network password Connection priority settings
Security type Connection logs in the event log
Proxy settings (if any) Adapter driver temporary files

Check your current connection to another network|Close programs that use the Internet|Make sure you have administrator rights|Remember or save the passwords of the networks you need-->

If after deleting the network, it continues to appear in the list of available connections, this may mean that:

  • 🔄 The router broadcasts multiple networks with the same name (for example, on different frequencies)
  • 📱 Another device on your network (smartphone, tablet) creates an access point with the same SSID
  • 🖥️ There are traces of the profile left in the system registry or cache

Method 2: Removing via Command Prompt (for advanced users)

Command line (CMD) provides more flexible control over Wi-Fi profiles and allows you to remove networks that aren't visible in the graphical interface. This method is especially useful if:

  • 🖥️ The network is not visible in Parameters, but continues to appear when scanning
  • 🔧 You need to delete multiple networks at once
  • 🛠️ The standard method didn't work due to a damaged profile

Here's how to delete a network using the command line:

  1. Open Command Prompt as administrator. To do this:
    • Click Win + X and select Command Prompt (Administrator) or Windows PowerShell (Administrator)
    • Or enter cmd in the search, then right click and select Run as administrator
  • Enter the command to view all saved profiles:
    netsh wlan show profiles
  • Find the name of the network you want to delete in the list (case is not important).
  • Enter the command to remove (replace NETWORK_NAME to the real name):
    netsh wlan delete profile name="NETWORK_NAME"
  • To remove all saved networks use the command immediately:

    netsh wlan delete profile name= i=

    This method has several advantages over the graphical interface:

    • 🔍 Shows All saved profiles, including hidden ones
    • 🔧 Allows you to delete networks with invalid characters in their names
    • 📝 Can be used in scripts for automatic cleaning
    What to do if the command doesn't work?

    If when executing the command netsh wlan delete profile If you see the error "The operation failed", try:

    1. Restart the WLAN AutoConfig service: net stop wlansvcnet start wlansvc

    2. Check the network name for special characters (use quotation marks)

    3. Run the command line as a system user through Task Scheduler

    Please note the following potential issues:

    ⚠️ Attention: Teams netsh are case-sensitive in some versions of Windows. If the network is not removed, try entering the name exactly as it appears in the command output. show profiles, including spaces and special characters.

    For advanced users, you can export all Wi-Fi profiles to a file for backup before bulk deletion:

    netsh wlan export profile key=clear folder="C:\WiFi_Backup\"

    This command will save all profiles with passwords in clear text in the specified folder.

    Method 3: Removing via PowerShell (CMD alternative)

    PowerShell offers a more modern and powerful way to manage Wi-Fi profiles compared to the traditional command line. This method is especially useful for administrators who need to automate or manage large numbers of networks.

    To delete a network via PowerShell:

    1. Launch PowerShell as administrator (similar to CMD).
    2. Enter the command to view all profiles:
      Get-NetConnectionProfile | Where-Object {$_.NetworkCategory -eq"Public"} | Select-Object Name, InterfaceAlias

      To display only Wi-Fi networks, use:

      netsh wlan show profiles | Select-String "All user profiles"
    3. To remove a specific network, use:
      Remove-NetConnectionProfile -Name"NETWORK_NAME" -InterfaceAlias"Wi-Fi" -Confirm:$false

    Key benefits of PowerShell:

    • 🔄 Ability to filter networks by various criteria (name, interface type, network category)
    • 📊 More convenient information output in tabular format
    • 🔧 Integration with other Windows commands for comprehensive management

    To remove all Wi-Fi profiles directly in PowerShell:

    Get-NetConnectionProfile | Where-Object {$_.InterfaceAlias -eq"Wi-Fi"} | Remove-NetConnectionProfile -Confirm:$false

    If you frequently work with Wi-Fi networks, it's helpful to create an alias for this command. Add it to your PowerShell profile:

    New-Alias -Name delwifi -Value Remove-NetConnectionProfile -Scope Global

    After this you can use the short command delwifi -Name"NETWORK_NAME".

    Method 4: Manual removal from the registry (for complex cases)

    When standard methods don't work and the network keeps "coming back" after deletion, the problem may lie in the remnants of the profile in Windows registryThis method requires special care, as incorrect changes to the registry can lead to system instability.

    Here's how to safely remove Wi-Fi network traces from your registry:

    1. Click Win + R, enter regedit and press Enter.
    2. Follow the path:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
    3. In the folder Profiles You will see many subfolders with long names (these are unique network identifiers).
    4. Click on each folder and see the value of the parameter ProfileName On the right side of the window is the name of the network.
    5. Having found the required network, export the registry branch (right click → Export) in case of error.
    6. Delete the entire folder with the network profile (right click → Delete).

    Additionally, check the second registry section where security settings are stored:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces

    Here you need:

    1. Expand the interface folders (they are named after the adapter IDs).
    2. Each interface folder has a section Profiles — this is where network data is stored.
    3. Delete folders with network names you want to forget.
    ⚠️ AttentionBefore working with the registry, be sure to create a system restore point! To do this, search for "Create a restore point" and follow the instructions. Registry errors can prevent you from connecting to any Wi-Fi networks.

    After cleaning the registry:

    • 🔄 Restart your computer
    • 🔧 Reset network settings via Settings → Network & Internet → Status → Network reset
    • 📡 Update your Wi-Fi adapter driver via Device Manager

    This method is guaranteed to remove all traces of the network, including:

    • 🔑 Cached passwords
    • 📡 Connection priority settings
    • 🔄 Data on previous connections
    • 🛡️ Security information (encryption types)

    Method 5: Reset all network settings (nuclear option)

    If none of the previous methods worked, or you want to completely clear all network settings (for example, before selling your computer), you can perform a full reset of the Windows network stack. This procedure:

    • 🧹 Deletes All saved Wi-Fi networks
    • 🔧 Resets Ethernet and VPN settings
    • 📡 Removes installed protocols and adapter settings
    • 🔄 Resets all network components to their default state

    To perform a reset:

    1. Open Settings → Network & Internet → Status.
    2. Scroll down and click Network reset.
    3. Click Reset now and confirm the action.
    4. Wait for the process to complete and restart your computer.

    After the reset you will need:

    • 🔑 Re-enter passwords for all Wi-Fi networks
    • 📝 Configure network discovery settings (if used)
    • 🖥️ Reinstall specialized software (VPN clients, firewalls)
    • 🔧 It might be possible to update your network adapter drivers
    ⚠️ Attention: A full network reset removes All User settings, including VPN configurations, static IP addresses, and proxy settings, will be reset. If you're using a corporate network, you may need help from your IT department to reconfigure your connection after the reset.

    An alternative reset method is via the command line (without a GUI):

    netsh int ip reset
    

    netsh winsock reset

    netsh advfirewall reset

    ipconfig /flushdns

    These commands perform:

    Team Action
    netsh int ip reset Resets the TCP/IP stack to its initial state.
    netsh winsock reset Restores the Winsock directory (used by network programs)
    netsh advfirewall reset Resets Windows Firewall settings
    ipconfig /flushdns Clears the DNS resolver cache

    Additional tips and solutions to common problems

    Even after deleting the network, you may encounter some issues. Here are solutions to the most common problems:

    Problem 1: The network continues to appear in the list of available connections.

    • 🔄 Check if your router is broadcasting two networks with the same name (2.4 and 5 GHz)
    • 📡 Try disabling the feature Smart Connect on the router (network aggregation)
    • 🖥️ Perform a full clear of the adapter cache via Device Manager (remove the device and update the configuration)

    Problem 2: I can't connect to a new network after deleting the old one.

    • 🔑 Make sure you are entering the correct password (check the case)
    • 📶 Try connecting to the network from another device to check the router's operation
    • 🔧 Reset TCP/IP settings: netsh int ip reset c:\resetlog.txt

    Problem 3: The system asks for a password for a network that should be open.

    • 🔄 Delete the network and try connecting again by selecting "Connect automatically"
    • 📡 Check your router settings - client isolation may be enabled
    • 🖥️ Update your Wi-Fi adapter driver through the manufacturer's official website

    Travel Tip: If you frequently connect to public networks (at hotels or airports), regularly clear your list of saved networks. This will prevent automatic connections to potentially dangerous hotspots with similar names. For a quick cleanup, you can create a desktop shortcut with the following command:

    cmd.exe /c"netsh wlan delete profile name= i= & pause"

    For administrators: In corporate networks, profile deletion may be restricted by group policies. In this case, use:

    netsh wlan delete profile name="NETWORK_NAME" interface="INTERFACE_NAME"

    To see the interface names, use netsh wlan show interfaces.

    FAQ: Frequently Asked Questions

    Is it possible to delete a network I'm currently connected to?

    Yes, but deleting it will break the connection. We recommend connecting to a different network first or using a wired connection if the network you're deleting is your primary access point.

    Will deleting the network password on this computer remove it from my other devices?

    No, deleting a network in Windows 10 only affects the current computer. Other devices (smartphones, tablets, laptops) will retain the network information unless you delete it separately.

    Why does a network reappear the next time I connect after deleting it?

    This happens because Windows automatically creates a new profile the first time you successfully connect. To prevent this, disable the "Connect automatically" option the first time you connect to the network.

    Is it possible to restore a deleted network if I forgot the password?

    If you haven't backed up your profiles, it's impossible to recover your password after deleting it. However, you can:

    • View the password on another device connected to this network
    • Contact your network administrator (if it's a corporate or public network)
    • Reset the password on your router (if you have access to its settings)
    Is it safe to use netsh and PowerShell commands to delete networks?

    Yes, these commands are completely safe when used correctly. They are designed specifically for managing network profiles and will not harm the system as long as you specify the correct network names. However, be careful with bulk deletions (name=*) - this will delete all saved networks.