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.
You will see the Firewall status for the following network profiles:
- Domain network
- Private network
- 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!