Secure Your PC with Windows Firewall Windows Defender Firewall prevents unauthorized access by malware or Trojans to the PC when connected to the internet.To enable the firewall, type firewall in search box next to start button.Click on Public network Firewall On to enable the firewall