How to Forget a Wi-Fi Network on a Laptop: A Complete Guide

Many users are familiar with the situation where a laptop refuses to connect to a wireless network or continually tries to use an incorrect password. This often happens after changing a router, updating a security key, or moving to a new office where the network name remains the same, but the hardware settings have changed. Rather than endlessly trying to fix the connection, the most effective way is to "forget" the network, which completely deletes the saved configuration profile from the device's memory.

This process forces the operating system to treat the network as a new, unknown access point, requiring you to re-enter your authorization data. Cleaning profiles is a standard method for diagnosing connection issues, helping to resolve IP address conflicts and security protocol errors. In this article, we'll cover the steps for various versions of Windows and macOS, as well as advanced network connection management techniques.

Whether you're using a corporate laptop or a personal device, understanding how it works network profiles will help you quickly resolve internet access issues. We'll cover not only the standard settings menus but also the command line for when the graphical interface isn't working correctly or isn't accessible.

Deleting a network profile in Windows 10 and 11

In modern versions of the Microsoft operating system, the procedure for deleting a saved network is extremely simplified and accessible through a graphical interface. Open the Start menu and go to the section Parameters, which is indicated by a gear icon. Next, select the "Network & Internet" category, where you'll find "Wi-Fi" on the left side of the window (or in the center for Windows 11).

After opening the wireless network settings, find the "Manage known networks" option. This will display a list of all access points your laptop has previously connected to. Find the desired network name in the list, click it, and select "Forget." The system will immediately delete all saved data, including passwords and encryption types.

⚠️ Note: If you are within range of the network being deleted, your laptop may attempt to automatically reconnect to it immediately after deleting the profile if a cache or auto-connect trigger remains. We recommend temporarily disabling your Wi-Fi module before beginning the process.

For users who prefer hotkeys, there is a quick way to access these settings. Press the combination Win + I to call up the parameters, then use keyboard or mouse navigation in sequence. It is important to note that in corporate networks with configured Group Policy, this option may be blocked by your system administrator.

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

Using the command line to manage networks

When the graphical interface freezes or does not display the desired profile, the command line comes to the rescue cmdThis method is considered more reliable and professional, as it interacts directly with Windows system services, bypassing possible interface bugs. To get started, you must run the console as an administrator.

First, you need to get a list of all saved profiles. Enter the command netsh wlan show profiles and press Enter. In the list that appears, find the exact name of the network you plan to delete. Pay attention to the case and spaces, as the system is sensitive to these parameters.

netsh wlan delete profile name="Network_Name" i=* 

After entering the command, the system will confirm successful profile deletion. If the network was active, the connection will be terminated immediately. This method is especially useful for deleting "hidden" networks or profiles that aren't visible in the standard settings menu but continue to interfere with the adapter's operation.

In some cases, you may need to delete all profiles at once, which is relevant when completely reconfiguring a laptop or transferring the device to another user. Use the command netsh wlan delete profile name= i=, but proceed with caution, as this action is irreversible and will require you to re-enter passwords for all your home and work networks.

Resetting the Wi-Fi network on a MacBook (macOS)

Apple laptop owners should be aware of interface differences between macOS versions. In older versions, prior to Ventura, network management was handled through System Preferences, under Network. From there, you had to select your Wi-Fi adapter, click the Advanced button, and then delete the profile you no longer need from the Preferred Networks list by clicking the minus sign.

In recent versions of macOS (Ventura, Sonoma, and newer), the logic has changed. Open System Preferences, go to the Wi-Fi section, and look for the "Advanced" or "Known Networks" button at the bottom of the window. Select the desired network from the list and click the "Delete" button (usually indicated by three dots or a minus sign).

  • 🍏 Open the Apple menu and select System Preferences.
  • 📡 Go to the "Wi-Fi" section in the sidebar.
  • 🗑️ Find the "Known Networks" section and click "Details".
  • ❌ Select the target network and click "Delete network".

After completing these steps, macOS will forget all security settings and proxy settings for the selected access point. If you plan to connect to it again, the system will prompt you for the password again. This is also a great way to fix situations where your laptop can see the network but can't obtain an IP address.

⚠️ Note: On a MacBook, deleting a network also clears the iCloud Keychain data for that specific access point. If you have passwords synced via iCloud Keychain, the network may be deleted on your other Apple devices as well.
Why doesn't my MacBook see the delete button?

In some corporate configuration profiles, administrators may block the ability to delete certain networks. Check if a management profile (MDM) is installed on the device that restricts these actions.

Comparison table of removal methods

The method you choose depends on your operating system and your access level to settings. Below is a table to help you quickly navigate the available options for different scenarios.

operating system Graphical interface Command line Complexity
Windows 10/11 Settings -> Network & Internet netsh wlan delete profile Low
macOS (older) System Preferences -> Network Not required Low
macOS (new) System Preferences -> Wi-Fi Not required Low
Linux (Ubuntu) Settings -> Wi-Fi nmcli connection delete Average

As the table shows, Windows provides the most flexible tools via the console, while macOS relies on a graphical interface. Linux distributions such as Ubuntu or Mint also have a powerful tool. nmcli, which allows you to manage connections through the terminal using the command nmcli connection delete id"Network_Name".

Using the command line in Windows is often faster, especially if you need to delete numerous old profiles accumulated over years of laptop use. In macOS, the process is more visual, but less flexible for bulk deletion without third-party scripts.

Troubleshooting automatic connection issues

Sometimes, even after deleting a network, the laptop continues to try to connect to it or behaves erratically. This may be due to the fact that a network remains in the system. network priority or the DNS cache contains outdated entries. In Windows, you can manage connection priority, although doing so using standard tools is more difficult than simply deleting the profile.

If a standard uninstall doesn't help, try resetting your network settings. In Windows 10 and 11, this can be done via Settings -> Network & Internet -> Advanced network settings -> Network reset. This will remove all network adapters and reinstall them, returning them to factory defaults.

☑️ Checklist before resetting the network

Completed: 0 / 4

After the reset, the system will require a reboot. At this point, all saved Wi-Fi networks will be deleted, and you'll have to re-enter passwords. This is a drastic step, but often the only way to resolve adapter driver issues or deep system configuration errors.

It's also worth checking the adapter's power settings. Sometimes the system turns off the device to save power, which leads to connection loss and errors when trying to reconnect. Open Device Manager, find your Wi-Fi adapter, go to Properties, and in the Power Management tab, uncheck "Allow the computer to turn off this device."

Security and Public Networks

Pay special attention to the issue of "forgotten" networks when using a laptop in public places, such as cafes, airports, and hotels. Saving open network profiles poses security risks, as the device may automatically connect to a fake access point with the same name (the Evil Twin method) created by attackers.

If you connected to a network with a name like "Free Airport Wi-Fi" or "Cafe_Guest," be sure to delete that profile after you're done. This will prevent automatic connections in the future when you're near a potentially unsafe network and reduce the risk of data interception.

  • 🛡️ Delete social networking profiles immediately after use.
  • 🚫 Don't allow automatic connections to open networks.
  • 🔒 Use a VPN when using public Wi-Fi.
  • 👀 Monitor the connection status in the tray.

In corporate environments, security policies may require regular purging of known network lists. This reduces the attack surface and prevents corporate credentials from being leaked through automatic authentication mechanisms in untrusted coverage areas.

⚠️ Note: Router and operating system interfaces are frequently updated. Button locations and menu item names may differ from those described in the instructions. If you can't find the item you need, use the search in your system settings.

Frequently Asked Questions (FAQ)

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

The connection will be immediately terminated. The laptop will stop transmitting data through this interface. If there are other saved networks with a higher priority within range, the device will attempt to connect to them. Otherwise, Wi-Fi will remain on but without an active connection.

Is it possible to recover a deleted network profile?

No, the operating system does not store deleted profiles in the Recycle Bin. The only way to restore access is to find the network in the list of available connections and re-enter the password. If the network is hidden, you will need to manually enter the name (SSID) and security type.

Why won't my laptop connect to the network after I forgot it?

You may have entered the wrong password when reconnecting, or the encryption type on your router may have changed (for example, from WPA2 to WPA3). The issue may also be with your Wi-Fi adapter drivers, which may need to be updated or reinstalled.

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

No, the setting only applies to the specific device on which you performed the action. However, if you use the Apple ecosystem with iCloud Key Sync, deleting a network on one device may affect your other Apple devices associated with the same Apple ID.

How do I delete a network if the "Forget" button is inactive?

This often happens with the currently active network. First, disconnect from it or connect to another network (or use an Ethernet cable). Once the status changes to "Not Connected," the delete button will become active. As a last resort, use the command line.