How to Turn on Windows Firewall

Always, always turn on Windows Firewall.

Windows 10

To turn Windows Firewall on or off, select the Start button, open Windows Defender Security Center > Firewall & network protection, choose a network profile, and then under Windows Firewall, turn it on or off. 

Windows 8 and 7

Open Windows Firewall by clicking the Start button Windows 7 start button , and then clicking Control Panel. In the search box, type firewall, and then click Windows Firewall.

In the left pane, click Turn Windows Firewall on or off. Windows Security Icon If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

Click Turn on Windows Firewall under each network location that you want to help protect, and then click OK.