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

Many people are familiar with the situation where a laptop stops automatically connecting to the router or, conversely, locks onto a neighboring network with a poor signal. This is often caused by saved profiles that contain old passwords or incorrect security settings. To fix the problem, you need to delete the old connection profile, or "forget the network." This forces the operating system to erase all access point data and prompt for authorization again.

Modern operating systems have significantly simplified the process of managing wireless connections, but powerful tools for advanced users are still hidden deep within the settings. We'll cover the standard methods via the graphical interface that will suit most owners. Laptop, and we'll also touch on the command line for cases where the standard menu doesn't respond. This is especially relevant if the driver Wi-Fi adapter does not work correctly or the system interface is frozen.

Beyond simply uninstalling, it's important to understand the difference between temporarily disabling and completely resetting the settings. Simply disabling the wireless module won't resolve IP address conflicts or authentication errors. Completely deleting a network profile (Forget Network) is the only guaranteed way to reset all handshakes and encryption keys., accumulated over the time you use your device. Below, we'll detail the steps for different versions of Windows and macOS.

Deleting a Wi-Fi profile in Windows 10 via Settings

In Windows 10, Microsoft has introduced a user-friendly connection management interface that allows you to manage known networks without complex commands. To get started, open the Start menu and go to the Settings section, which is indicated by a gear icon. An alternative and faster way is to use a keyboard shortcut. Win + I, which will instantly open the required system settings window.

After opening Settings, select the "Network & Internet" category. On the left side of the screen, make sure the "Wi-Fi" tab is selected. This displays the current connection status and a list of available access points. However, we don't just want to connect; we want to manage saved profiles. To do this, on the right side of the window (or at the bottom of the list, depending on your screen resolution), look for the "Manage known networks" link.

A list of all networks the laptop has previously connected to will open. Find the desired network name (SSID) in the list. Clicking on it will reveal a "Forget" button. Clicking this button will immediately delete the profile. The system will no longer attempt to connect to this access point automatically until you re-enter the password. This is standard procedure for reset settings connections.

  • ✅ Click Win + I to quickly enter the settings.
  • ✅ Go to "Network and Internet" -> "Wi-Fi".
  • ✅ Select "Manage known networks" and click "Forget".

⚠️ Attention: After deleting a profile, all saved passwords for this network will be erased. Make sure you know the current security key or have physical access to the router to recover it.

It's worth noting that the interface may differ slightly in some Windows 10 builds. If you don't see the "Forget" button immediately, try clicking the network name itself to reveal additional options. It's also important to understand that deleting a network only affects the current user unless corporate security policies are in effect.

Network Management in Windows 11: New Menus and Settings

Windows 11 brought a refreshed interface design, moving many settings to the center of the screen and changing the logical menu structure. The process for deleting a Wi-Fi profile has also been redesigned, becoming more intuitive but requiring some getting used to. To get started, right-click the Wi-Fi icon in the system tray (near the clock) and select "Network & Internet settings."

The window that opens will display your Wi-Fi status at the top. Click the arrow next to the Wi-Fi switch or the Properties button itself to expand the menu. Unlike in Windows 10, you often need to go to the "Advanced Wi-Fi settings" section or directly see the "Manage known networks" list, depending on the update version. In Windows 11, this list is usually located under "Wi-Fi" -> "Manage known networks."

Find the target network in the list. Clicking it will open a context menu or action bar with a button to "Don't connect automatically" or "Forget." If you select "Forget," the profile will be completely removed from the system registry. This is useful if you've replaced your router with a new one with the same name but old settings, and your laptop can't connect.

📊 What version of Windows do you have?
Windows 10
Windows 11
Windows 7 or later
macOS

Pay special attention to syncing your settings via your Microsoft account. If you have syncing enabled, deleting a network on one device may cause it to disappear from other devices linked to the same account. This can be both an advantage and an inconvenience, so keep this in mind when clearing the list.

  • 📡 Open "Settings" via the context menu of the network icon.
  • 📡 Go to "Network & Internet" > "Wi-Fi".
  • 📡 Select "Manage known networks" and delete the profile.

Resetting the network using the command line (CMD) in Windows

For system administrators and advanced users, as well as in cases where the Windows graphical interface is unresponsive or the "Forget" button is inactive, there is a powerful tool – the command line. The utility netsh allows you to manage network configurations at a deep level. To launch, open the Start menu, enter cmd, right-click on "Command Prompt" and select "Run as administrator".

The first step is to find out the exact profile name that the system uses to store network settings. Enter the command netsh wlan show profiles and press Enter. The system will display a list of all saved profiles under the "User Profiles" heading. Find your network name in this list. Note that the name may differ from the SSID if you or someone else renamed the profile when you first connected.

To delete a specific profile, use the command netsh wlan delete profile name="Network_Name"It is important to follow the syntax: if the network name contains spaces, it must be enclosed in quotation marks. For example, netsh wlan delete profile name="Home WiFi"After executing the command, the system will confirm the deletion with the message "Profile ... has been deleted."

netsh wlan show profiles

netsh wlan delete profile name="Name_of_Network"

This method is especially effective for deleting hidden networks or profiles that aren't visible in the standard settings interface. You can also use the command line to delete all profiles at once, although this is a drastic measure. The command netsh wlan delete profile name=* i=Wi-Fi will clear all saved connections for the wireless adapter, which is equivalent to a complete reset of the network settings.

⚠️ Attention: Be extremely careful when entering commands. An error in the syntax or profile name may result in the wrong network being deleted or the command failing. Copy profile names directly from the list to avoid typos.

How to forget a network on a MacBook (macOS)

Apple computer users may also need to delete a saved network. In macOS, the process for managing Wi-Fi profiles varies depending on the operating system version. In newer versions (macOS Ventura, Sonoma, and later), the settings interface has been unified with iOS mobile, while older versions (Monterey and earlier) used the classic system settings.

In current versions of macOS, click the Apple logo in the upper left corner and select "System Preferences." Go to "Wi-Fi" in the sidebar. You'll see a list of known networks on the right. Click "More Details" or simply find the desired network in the list. When you hover over the network name, a button with three dots or a minus sign will appear on the right. Click it and select "Forget This Network."

In older versions of macOS, the process is different. Open System Preferences -> Network. Select Wi-Fi from the list on the left, then click the Advanced button. Go to the Wi-Fi tab. This displays a list of preferred networks. Select the one you want and click the minus button (-) at the bottom of the list. Be sure to click "OK" or "Apply" for the changes to take effect.

macOS version Path to settings Action
macOS Ventura / Sonoma System Preferences -> Wi-Fi "More" button -> Forget
macOS Monterey and later System Preferences -> Network -> Wi-Fi Advanced -> Select Network -> Minus (-)
macOS Big Sur System Preferences -> Network Details -> Forget network

After deleting a network on a Mac, the system may require confirmation by entering your account password or Touch ID. This is a security measure to prevent accidental deletion of important corporate profiles. After confirmation, the laptop will disconnect and remove the encryption keys from iCloud Keychain if syncing is enabled.

☑️ Check before deleting a network

Completed: 0 / 4

Why won't my laptop connect after deleting the network?

Sometimes, after performing the "forget network" procedure, the user expects the password entry window to appear immediately, but this never happens. The laptop may simply ignore the access point or return the "Unable to connect" error. This is often due to a password remaining in the system. DNS cache or temporary configuration files that block new connections.

In this situation, it's recommended to reset your network settings. In Windows 10 and 11, you can do this via Settings -> Network & Internet -> Advanced network settings -> Network reset. This will remove and reinstall all network adapters, as well as clear all saved Wi-Fi profiles. This is a more drastic method, but it's effective for complex issues.

Another reason could be the wireless adapter driver. If the driver Wi-Fi module If your network adapter is outdated or malfunctioning, it may not process reconnection requests correctly. Open Device Manager, find your network adapter, right-click it, and select "Uninstall device." Then restart your computer. The system will automatically reinstall the driver.

It's also worth checking your router settings. If MAC address filtering is enabled on the access point, resetting the laptop's profile (or replacing the network card) may block access. In this case, you'll need to access the router settings and whitelist the laptop's MAC address.

  • 🔄 Perform a full network reset in Windows settings.
  • 🔄 Reinstall your wireless adapter drivers.
  • 🔄 Check MAC address filtering on your router.

⚠️ Attention: Resetting your network will delete all saved Wi-Fi passwords, VPN settings, and virtual switches. Be prepared to re-enter passwords for all your home and work networks.

Cleaning registry keys and hidden profiles

In rare cases, especially on corporate laptops or after virus attacks, network profiles may be hidden or protected by security policies that prevent their deletion using standard methods. In such situations, editing the Windows registry may be necessary. However, this requires a high level of skill, as incorrectly editing the registry can disrupt the operating system.

Saved network keys are stored in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesHere, each profile is represented by a unique identifier (GUID). To find the one you need, you'll have to look through the parameter ProfileName inside each folder. Deleting a profile key will remove it from the system.

A safer, but still advanced method is to use the Group Policy Management utility (gpedit.msc), available in Windows Pro and Enterprise editions. Under "Computer Configuration" -> "Administrative Templates" -> "Network" -> "WLAN Profiles," you can find the "Do not allow user to add profiles" policy. If this policy is enabled, standard removal may be blocked.

Is it possible to restore a deleted network?

It's impossible to restore a deleted profile using standard Windows tools. The password and encryption settings are permanently deleted. The only way to "restore" it is to reconnect and manually enter the password, or to restore the system from a backup created before deletion.

For regular users, tinkering with the registry or group policies is usually unnecessary. The standard methods described in the previous sections are sufficient in 99% of cases. Only resort to advanced settings if you understand the risks and know exactly what you're doing.

What should I do if the "Forget" button is inactive (gray)?

If the "Forget" button is grayed out, it may mean you're trying to delete a network you're currently connected to. First, disconnect from the network (turn off Wi-Fi or select a different network), then try deleting the profile. This could also be a corporate security policy restriction.

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

No, profile deletion occurs locally on the device where you performed the action. However, if you have Windows or iCloud (on Mac) settings sync enabled, the change may be propagated to your other devices linked to the same account.

How to forget a hidden network (without SSID)?

Hidden networks are also saved in the profile. In Windows, they can only be removed via the command line. netsh wlan delete profile name="Name", if you know the exact name, or by resetting all networks, as they may not be clearly displayed in the GUI.

Do I need to restart my laptop after deleting the network?

Typically, a reboot isn't required; changes take effect immediately. However, if you encounter connection errors or used the command line for a deep clean, a reboot will help the system reinitialize the network stack and adapter.