How to Reset WiFi Password in Windows: A Step-by-Step Guide

Many users are familiar with the situation where the Windows operating system stubbornly refuses to connect to a previously known wireless network. This is often caused by a change in router configuration, a password change by the ISP, or simply a software glitch that prevents the saved profile from working correctly. In such cases, simply "forgetting" the network via the taskbar may not help, requiring a more in-depth investigation into the system settings.

Resetting connection parameters is not just removing an entry from the list, but a complete clearing of the network adapter cache and deletion of saved encryption keys. Windows The computer stores connection data in a special registry, and sometimes this file becomes corrupted, blocking internet access. Understanding how to properly clear this data can help you avoid hours of fruitless reconnection attempts.

In this article, we will examine all the current methods for solving the problem: from simple actions in the interface Windows 10 And Windows 11 From using console commands for advanced users, you'll learn how to completely delete old profiles, reset the TCP/IP stack, and restore network settings to factory defaults without reinstalling drivers.

⚠️ Important: Before resetting your network settings, make sure you have the current password for your WiFi network, as Windows will ask for it again after clearing your profile.

Deleting a network through the standard Windows interface

The most obvious and safe way to fix a problematic connection is to use built-in network management tools. In modern versions of the operating system, Microsoft has made this process as intuitive as possible by hiding the necessary options in the settings menu. However, the layout of the elements may vary depending on the version. operating system and installed updates.

First, you need to open the Network and Sharing Center. Windows 10 And Windows 11 This can be done by right-clicking the globe or antenna icon in the system tray (near the clock) and selecting the appropriate menu item. If the standard path doesn't work, you can use the system search and enter the query "manage known networks."

After opening the list of saved connections, find the name of your problematic network. Click on it to expand the options and select "Forget" or "Delete." This action will forcefully delete the saved password and security settings for this access point, causing the system to behave as if you were connecting to it for the first time.

📊 Have you encountered the error "Can't connect to this network"?
Yes, often
Sometimes it happens
Rarely, but it happened
Never encountered it

In some cases, especially on corporate networks or when using domain policies, the delete button may be grayed out. This means the profile was installed by an administrator and requires permissions to delete it. administrator or using the command line, which we will discuss in the following sections.

Resetting a password via the command line (Netsh)

When the graphical interface is unresponsive or hides necessary options, the command line comes to the rescue. Utility netsh (Network Shell) is a powerful tool for managing network configurations in Windows. It allows you to perform the same actions as through the menu, but with greater granularity and control.

To get started, you need to run the command prompt as administrator. Press the key combination Win + X and select "Windows Terminal (Administrator)" or "Command Prompt (Administrator)". Without superuser privileges, the profile deletion command will be rejected by the security system.

The first step is to view all saved WiFi profiles. Enter the following command and press Enter:

netsh wlan show profiles

The system will display a list of all networks the computer has ever connected to. Find your network's exact name (SSID) in the list. Pay attention to the case and spaces—the name must match exactly. Then, run the command to delete a specific profile:

netsh wlan delete profile name="Your_Network_Name"

If the network name contains spaces, be sure to enclose it in quotation marks, as shown in the example above. After the command completes successfully, the system will report that the profile has been deleted. You can now try reconnecting through the standard menu, where Windows will prompt you for a new password.

Completely reset Windows network settings

If deleting a specific profile doesn't help and the connection issues are system-wide, it's a good idea to perform a full network settings reset. This function returns all network components to their default state, removing all installed virtual adapters, resetting TCP/IP, and clearing the DNS cache.

IN Windows 10 And Windows 11 This tool is embedded deep within Settings. Go to the Start menu, select Settings (the gear icon), then Network & Internet. At the very bottom of the Status page (or under Advanced network settings in Windows 11), you'll find a link called "Network reset."

After clicking "Reset Now," you'll receive a warning that your computer will restart in 5 minutes. This is critical: the system must restart to apply kernel-level changes and reinstall network drivers. Do not interrupt this process.

Action Result Need to reboot
Forget the network Removing a password for one profile No
Reset via netsh Deleting profiles and keys Desirable
Reset network in settings Complete clearing of TCP/IP stack and adapters Necessarily

After rebooting, you'll have to re-enter passwords for all WiFi networks you plan to connect to. VPN and proxy server settings, if previously used, may also be reset.

⚠️ Note: A full network reset will delete all saved WiFi passwords, Bluetooth device settings, and VPN connections. Make sure you have access to your login information.

Using PowerShell to Manage Profiles

An alternative to the classic command line is the shell PowerShellIt provides a more modern syntax and advanced scripting capabilities, although for basic WiFi management tasks the functionality is largely duplicated. netshHowever, for system administrators and advanced users, PowerShell may be more convenient due to its batch processing capabilities.

Launch PowerShell as administrator. To list profiles, you can use the same command as in CMD, as PowerShell supports legacy commands:

netsh wlan show profiles

A standard command is also used to delete a profile. The advantage of PowerShell is its automation capabilities: you can create a script that automatically finds all profiles with a specific prefix and deletes them, which is useful in corporate environments during mass migrations to new access points.

Is it possible to recover a deleted WiFi profile?

It's impossible to restore a deleted profile using standard Windows tools. The password is stored in a protected area of ​​the system, and after the delete command, the encryption key is erased and cannot be recovered. You will be required to re-enter the password.

It's important to note that PowerShell has modules for network management, but they're overkill for the simple task of resetting a password. Standard commands netsh It is quite enough to solve 99% of connection problems.

Clearing the DNS cache and resetting TCP/IP

Sometimes the problem isn't with the password or profile itself, but with stale DNS records or errors in the TCP/IP protocol stack. The computer may "remember" the router's old IP address or incorrect domain name resolution, blocking internet access even when connected to WiFi.

To solve this problem, you need to run a series of commands in the command prompt with administrator privileges. Each command performs a specific function: flushing the cache, updating IP addresses, and clearing routing tables.

  • 🔄 ipconfig /flushdns - clears the DNS cache, forcing the system to re-query website addresses.
  • 🔌 ipconfig /release - releases the current IP address received from the router.
  • 📡 ipconfig /renew — requests a new IP address from the DHCP server (router).
  • 🛠️ netsh int ip reset — resets TCP/IP settings to factory defaults.

Run the commands sequentially, waiting for each one to complete. After completing the entire series, it is recommended to restart the computer. This will help resolve errors related to IP address conflicts or incorrect routing.

☑️ Network reset checklist

Completed: 0 / 5

Removing network adapter drivers

In the most difficult cases, when a software reset doesn't help, the problem may lie in the network adapter drivers. A driver is a program that allows the operating system to interact with hardware (WiFi module). If the driver is damaged or not working correctly, no network settings will help.

To remove the driver, click Win + X and select "Device Manager." Expand the "Network Adapters" branch. Find your wireless adapter in the list (usually the name contains words like "Wireless," "WiFi," "802.11," or brand names like Intel, Realtek, or Qualcomm).

Right-click the adapter and select "Uninstall device." In the window that appears, check "Delete the driver software for this device," if available. After uninstalling, click "Action" → "Scan for hardware changes" in the Task Manager menu, or simply restart your computer. Windows will automatically detect the device and reinstall the default driver.

⚠️ Important: Uninstalling the drivers will remove the network adapter from your system until you reboot. Make sure you have internet access via an Ethernet cable or the ability to download the driver from another device if automatic installation fails.

Frequently Asked Questions (FAQ)

Will the WiFi password reset on other devices if I reset it on my computer?

No, resetting network settings on one device (your PC) will not affect other devices. The router password will remain the same, and phones, tablets, and other laptops will continue to function without changes. You only delete the entry on that specific computer.

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

This means the profile was created by the organization's Group Policy or is corrupted in the registry. In this case, the only solution is to remove it via the command line. netsh wlan delete profile or editing the registry in the branch HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles.

Is it possible to reset my WiFi password if I forgot the new one?

You can reset the password on your computer, but to reconnect, you'll need to know the current router password. If you don't remember it, you'll have to reset the router itself using the Reset button on the router (which will delete your provider's internet settings) or look up the password on another connected device.

Why does Windows say "Can't connect to this network" after a reset?

There could be several reasons: the password was entered incorrectly, the encryption type is incompatible (for example, the router uses WPA3, but the adapter only supports WPA2), or the adapter driver is not working correctly. Try updating the drivers or changing the security type on the router.