[TUTO] – GPO: How to disable the Windows firewall by GPO


We will see in this tutorial how to disable the Windows firewall of your computers or servers and all via Group Policy Object (GPO). This is not necessarily the most secure method but it is still useful to know how to remove the Windows firewall automatically by GPO.

The configuration during this tutorial was performed in a full Microsoft Windows Server 2016 environment.


Open the “Group Policy Management” console, create a new GPO, and edit it.

Here, you are at the level of the “Group Policy Management editor” console, then go to:

  • Computer Configuration
    • Policies
      • Administrative Templates: Policy …
        • Network
          • Network COnnections
            • Windows Firewall
              • Domain Profile

Double-click the “Windows Firewall: Protect all network connections” object.


Focus on the parameter to be modified.


Click “Disabled” and complete the configuration with “OK”.


All you have to do is to deploy this new GPO on a computer group or on a server group to automatically disable the firewall.