How to disable firewall on Windows 10

  • To disable the Windows 10 firewall, open

    Windows Security

    >

    Firewall & network protection,

    select the network profile (

    Private network

    or

    Public network

    ), and turn off the

    Microsoft Defender Firewall

    toggle switch.
  • To re-enable it turn on the

    Microsoft Defender Firewall

    toggle switch.
  • Other methods include using the Control Panel and using commands with PowerShell and Command Prompt.

This post will show you how to disable the Microsoft Defender Firewall on Windows 10 in at least four different ways using the Command Prompt, Control Panel, Windows Security app, and even PowerShell.

In order to safeguard your device from unwanted access, the Microsoft Defender Firewall feature examines all incoming and outgoing network traffic and decides whether to allow or restrict it based on pre-established criteria.

Disabling the firewall is not safe, but there are still a lot of reasons why you would want to do so. For instance, when you need to test a network or app connection or wish to employ a different firewall solution.

This tutorial will show you how to activate (and deactivate) Windows 10’s built-in firewall.

  • Disable Microsoft Defender Firewall on Windows 10

  • Disable Microsoft Defender Firewall from Control Panel

  • Disable Microsoft Defender Firewall from Command Prompt

  • Disable Microsoft Defender Firewall from PowerShell

Disable Microsoft Defender Firewall on Windows 10

Follow these procedures to turn off Windows 10’s firewall:

Launch Windows 10.

To launch the software, search for “Windows Security” and select the top result.

On “Firewall & Network Protection,” click.

To turn off the firewall, choose the network.

Firewall and network protection settings

To disable the Windows 10 firewall, turn off the Microsoft Defender Firewall toggle switch.

Disable Defender Firewall

The firewall for the network profile you are presently using will be disabled after you finish the procedures. Make sure to disable the security feature for each profile, including the Domain, Private, and Public networks, if you wish to disable the firewall for all networks.

Re-enable firewall

Follow these steps to activate Windows 10’s firewall:

Launch Windows 10.

To launch the software, search for “Windows Security” and select the top result.

On “Firewall & Network Protection,” click.

To activate the Windows 10 firewall, select the Turn on button from the network profile. (Alternatively, use the “Restore settings” button.)

Enable Defender Firewall

Your device’s Windows 10 firewall will reactivate after you finish the procedures.

Disable Microsoft Defender Firewall from Control Panel

Follow these instructions to turn off Microsoft Defender Firewall in Windows 10 via the Control Panel:

Launch the Control Panel.

Select “System and Security.”

Select the option for Windows Defender Firewall.

Windows Defender Firewall in Control Panel

From the left pane, select the option to turn Windows Defender Firewall on or off.

Open firewall settings

To turn off the firewall for the private network, select the Turn off Microsoft Defender Firewall option under the Private network settings section.

To turn off the public network firewall, select the Turn off Microsoft Defender Firewall option under the Public network settings section.

Disable firewall in Control Panel

Press the “OK” button.

Your computer will be protected from harmful connections by the firewall as soon as you finish the instructions.

Re-enable firewall from Control Panel

Follow these procedures to activate the firewall from the Control Panel:

Launch the Control Panel.

Select “System and Security.”

On Windows Defender Firewall, click.

Windows Defender Firewall in Control Panel

From the left pane, select the option to turn Windows Defender Firewall on or off.

Open firewall settings

To activate the firewall for the private network, select the Turn on Microsoft Defender Firewall option under the Private Network Settings section.

To activate the public network firewall, select the Turn on Microsoft Defender Firewall option under the Public network settings section.

Enable firewall in Control Panel

Press the “OK” button.

As an alternative, you can always click the Microsoft Defender Firewall page’s “Use the recommended settings” button.

Disable Microsoft Defender Firewall from Command Prompt

Follow these instructions to use commands to disable the Microsoft Defender Firewall:

LaunchStart.

Look up “Command Prompt,” then right-click on the first result and choose “Run as administrator.”

To activate the firewall for the current network profile, type the following command and hit Enter:

Disable firewall with CMD

(Selective) In Windows 10, use the following command and hit Enter to turn off the firewall for all network profiles (public, private, and domain):

(Selective) To turn off the domain network profile’s firewall, use the following command and hit Enter:

(Selective) To turn off the firewall for the private network profile, type the following command and hit Enter:

(Selective) To turn off the firewall for the public network profile, type the following command and hit Enter:

The Windows 10 firewall will be turned off for the network profiles you have defined once you have finished the steps.

Re-enable firewall from Command Prompt

Follow these instructions to utilize the Command Prompt to activate the Windows 10 firewall:

LaunchStart.

Look up “Command Prompt,” then right-click on the first result and choose “Run as administrator.”

To activate the firewall for the current network profile, type the following command and hit Enter:

Enable firewall with CMD

(Selective) To activate the firewall for all network profiles (public, private, and domain), type the following command and hit Enter:

(Selective) To activate the domain network profile’s firewall, use the following command and hit Enter:

(Selective) To activate the firewall for the private network profile, type the following command and hit Enter:

(Selective) To activate the firewall for the public network profile, type the following command and hit Enter:

The firewall will activate the network profiles you chose after you finish the procedures.

Disable Microsoft Defender Firewall from PowerShell

Follow these steps to use PowerShell commands to disable the firewall on Windows 10:

LaunchStart.

Look up “PowerShell,” then right-click on the first result and choose “Run as administrator.”

To turn down the firewall for the current network profile, type the following command and hit Enter:

PowerShell disable firewall

Your device’s Windows 10 firewall will be turned off once you’ve finished the instructions.

Re-enable firewall from PowerShell

Follow these steps to utilize PowerShell commands to enable the Windows 10 firewall:

LaunchStart.

Look up “PowerShell,” then right-click on the first result and choose “Run as administrator.”

To activate the firewall for the current network profile, type the following command and hit Enter:

PowerShell enable firewall

Once you complete the steps, the firewall will allow or deny network access depending on the configured rules.

FAQ

No, it s not safe to disable the firewall because you can open your computer to many online threats.

It is possible to either temporarily or permanently disable the firewall. You only have one choice when it comes to disabling this security feature. You should only disable the Microsoft Defender Firewall to troubleshoot problems or perform specific tasks. Otherwise, the feature should always be turned on.

Leave a Comment