

To configure the firewall to configure the “default” behavior: Set-NetFirewallProfile -DefaultInboundAction Block -DefaultOutboundAction Allow –NotifyOnListen True -AllowUnicastResponseToMulticast True –LogFileName %SystemRoot%\System32\LogFiles\Firewall\DefenderFirewall.log To enable the Windows Defender Firewall with Advanced Security using PowerShell: Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True I recommend you enable the Windows Defender Firewall with Advanced Security, and use the features available to help properly secure the user’s Windows 10 endpoint. Many businesses disable the built-in Windows firewall to prevent it from interfering with any internal processes, but that is an extremely rare problem. The Windows Defender Firewall with Advanced Security is an important feature of Windows 10 that should be enabled to help protect your computer.
