1. Open the Control Panel by clicking on Start or searching for Control Panel.
2. Click on System and Security.
3. Click on Windows Firewall.
4. Select Turn Windows Firewall On or Off.
5. Select the option to Turn on Windows Firewall for all networks for which you want to keep your computer protected.
6. Click OK to save the settings.