sodcalculator

10 Tech How-To

Forget Known Wi-Fi Networks in Windows 10

Guide 10-58160 · Updated · Step by step

This guide shows you how to remove saved Wi‑Fi network profiles from Windows 10. When you forget a network, Windows no longer auto‑connects to it, and you’ll need to re‑enter the password the next time you want to join. You don’t need any special tools—everything is done through the Settings app or Command Prompt.

What You’ll Need

  • A Windows 10 PC with administrator access (needed for the Command Prompt method).
  • The name (SSID) of the network you want to forget.

Step-by-Step

Method 1: Using Settings (Recommended)

  1. Click the Start button (Windows icon) and select the Settings gear icon.
  2. In the Settings window, click Network & Internet.
  3. From the left sidebar, select Wi‑Fi.
  4. Click the Manage known networks link. This shows a list of all Wi‑Fi profiles your PC has saved.
  5. Scroll through the list and find the network you want to remove.
  6. Click on the network name to expand its options, then click the Forget button.
  7. Repeat for any other networks you want to remove. The profile is immediately deleted—no confirmation prompt appears.

Method 2: Using Command Prompt (For Multiple Networks or Batch Removal)

  1. Right‑click the Start button and select Command Prompt (Admin) or Windows PowerShell (Admin).
  2. If prompted by User Account Control, click Yes.
  3. Type the following command and press Enter to see all saved network profiles:

    netsh wlan show profiles
  4. Note the exact name of the profile you want to forget. If the name contains spaces, enclose it in quotes.
  5. Type the following command and press Enter, replacing ProfileName with the actual profile name:

    netsh wlan delete profile name="ProfileName"
  6. To delete all profiles at once, type:

    netsh wlan delete profile name="*"

    This removes every saved Wi‑Fi profile on the PC.
  7. Close the Command Prompt when done.

Common Mistakes

  • Forgetting the wrong network – Double‑check the network name, especially if you have multiple similar names (e.g., “Home5G” vs. “Home2G”).
  • Typing the profile name incorrectly in Command Prompt – The command is case‑sensitive and must match exactly, including spaces. Use the output from netsh wlan show profiles to copy the name.
  • Not running Command Prompt as administrator – Without admin rights, the delete command will fail with an “Access denied” error.
  • Forgetting that this only removes the saved password – You’ll still see the network in the available list; it just won’t auto‑connect.

Tips

  • If you’re having persistent connection issues, forgetting the network and re‑connecting from scratch often fixes them.
  • Use the Settings method for a single network—it’s faster and less error‑prone.
  • For a quick way to forget a network you’re currently connected to, click the Wi‑Fi icon in the taskbar, click the network name, and select Forget. This works in recent Windows 10 updates.
  • After forgetting, reconnecting requires the password again. Make sure you have it handy.
  • You can also manage saved networks via the Control Panel → Network and Sharing Center → Manage wireless networks, but the Settings app is the modern interface.

Troubleshooting

  • “Forget” button is grayed out – This usually happens if you’re not connected to that network or if the profile is managed by your organization (e.g., a work PC). Try the Command Prompt method with admin rights.
  • Command Prompt says “The system cannot find the file specified” – The profile name is incorrect. Run netsh wlan show profiles again and copy the exact name.
  • Access denied when using netsh – Make sure you launched Command Prompt as administrator. Right‑click the Start button and choose the admin option.
  • The network reappears after forgetting – If the network is broadcasting and you’re within range, Windows may re‑add it if you accidentally clicked “Connect” again. Also, some security software or group policies can re‑add profiles.
  • Can’t find “Manage known networks” – This option is only available when you’re connected to a Wi‑Fi network. If you’re on Ethernet, temporarily connect to Wi‑Fi or use the Command Prompt method.

Frequently Asked Questions

Will forgetting a network delete any files or settings on my PC?

No. It only removes the saved Wi‑Fi profile (network name and password). No personal files or other settings are affected.

Can I forget a network I’m currently connected to?

Yes. You can forget it, and Windows will immediately disconnect from it. You’ll need to re‑enter the password to reconnect.

Does forgetting a network work for hidden networks?

Yes. Hidden networks appear in the “Manage known networks” list, and you can forget them the same way. However, if the network is still hidden, it won’t show up in the available list until you manually connect.

Will this prevent Windows from automatically connecting to that network in the future?

Yes. Once forgotten, Windows will not auto‑connect, even if the network is in range. You’ll have to manually select it and enter the password again.

How do I forget all saved networks at once?

Use the Command Prompt method with the command netsh wlan delete profile name="*". This removes every Wi‑Fi profile on the PC.

Why would I want to forget a network?

Common reasons include fixing connection issues, removing outdated passwords, clearing unused profiles to declutter the list, or ensuring your PC doesn’t auto‑connect to a public or insecure network.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →