How to enable or disable Windows Defender Firewall in Windows 10

When you install third-party security software, Windows 10 will automatically disable the built-in Windows Firewall. In case it does not, you may want to disable this Windows Defender Firewall manually. This post will show you how to enable or disable the Windows Firewall manually.

Turn On or Off Windows Firewall in Windows 10

1] Using Windows Security

Type Windows Security in the search box and hit Enter to open the Windows Security app. Click on Firewall & Network Protection to open the following panel.

enable or disable Windows Defender Firewall 1

You will see the Firewall status for the following network profiles:

  1. Domain network
  2. Private network
  3. Public network.

It will be On or Off.

You may select to enable or disable it for any one of the network profiles.

To disable the Firewall completely for all, click on each of the three, one after the other.

When you click on Public network, the following panel will become visible.

Toggle the Windows Defender Firewall switch to the Off position.

Do the same for Domain network and Private network as well.

You will see the changed status as follows.

To enable the Firewall, open Windows Security home page and click the Turn on button for Firewall.

Windows Defender Firewall will get enabled.

2] Using Control Panel

Open Control Panel > Windows Defender Firewall applet and in the left panel, click on Turn Windows Defender Firewall on or off, to open the following panel.

Here you can make the necessary changes.

3] Using Command Prompt

Open an elevated command prompt and execute the following command to turn on Windows Firewall for all network profiles:

netsh advfirewall set allprofiles state on

To turn it off for all, use:

netsh advfirewall set allprofiles state off

4] Using PowerShell

Open an elevated PowerShell prompt and execute the following command to enable Windows Defender Firewall for all network profiles:

Set-NetFirewallProfile -Enabled True

To disable it for all, use:

Set-NetFirewallProfile -Enabled False

I hope this helps!

These links may help you if you face issues starting the Windows Firewall:

  1. Windows Firewall service does not start
  2. Windows could not start the Windows Firewall on Local Computer.
Download this VPN to secure all your Windows devices and browse anonymously
Posted by on , in Category Security with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.

Leave a Reply

Your email address will not be published. Required fields are marked *


5 + 9 =