Windows 10 records a list of Wi-Fi networks you connect to, as well as their passphrases and other settings. If you want to prevent your computer from automatically connecting to a network, you must make Windows "forget" the Wi-Fi network.
Method 1: Remove the wireless network profile by using the system tray
Click the wireless network icon in the system tray in the lower right corner to view the list of wireless networks. Right-click the network you want to delete, and select Forget from the pop-up menu.
Now the system will forget the selected network and will not be able to connect to this Wi-Fi network.
Method 2 : Use the Device Manager
The first thing you can try is to open the Device Manager (click Start and type Device Manager), expand Network Adapters, and then right-click the network adapter that you want to remove.Here you will see an option called Uninstall Device. This should, hopefully, not be greyed out. If so, continue to the next method. When you select Uninstall Device, another window appears asking you to confirm the uninstallation.You will also see an option to remove the driver software for the device. If you want to completely remove the network card, I suggest you select this option to also remove the driver. If all goes well, you should see that the adapter has been removed from Device Manager and from the list of network adapters in Control Panel.
Method 3 : Remove the Wireless Network Profile by Using Registry Editor
- Open the Registry Editor and navigate to the following key:HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ NetworkList \ Profiles
- Click each subkey under Profiles and check the ProfileName value on the right to see if it is the wireless network connection you want to delete. Once you have found the subkey, right-click on it and select Delete.
- The selected network profile is successfully deleted
Method 4 : Remove the wireless network profile by using a command prompt
Open the command prompt as an administrator and run the following command to get a list of all the wireless network profiles stored on your local PC:netsh wlan show profiles
Find the name of the wireless network profile that you want to delete, and then type the following command to remove it:netsh wlan delete profile name = "profile name"
If you want to delete all wireless network profiles, simply type:netsh wlan delete profile name = *