If you’re using Windows 10 and you want to make sure you’re not exposed to the security risks posed by insecure wireless networks, there is a quick and easy way you can protect your Wi-Fi connectivity. Here’s how:
Go to Settings.
Go to Network & Internet > Wi-Fi
Make sure that the ‘Connect to suggested open hotspots’ option is disabled, unless you connect through a virtual private network orservice.