You should always run Windows Defender Firewall even if you have another firewall turned on. Turning off Windows Defender Firewall might make your device (and your network, if you have one) more vulnerable to unauthorized access.
- To turn Windows Defender Firewall on or off, select the Start button, and then select Settings > Update & Security > Windows Security > Firewall & network protection. Choose a network profile, and then under Windows Defender Firewall, switch the setting to On or Off.
Note: If your device is connected to a network, network policy settings might prevent you from completing these steps. For more info, contact your administrator.