RE: Turning on the firewall via a GPO

From: Tom Che [MSFT] (
Date: 05/03/05

  • Next message: Jonas Haggren: "Limit bandwidth"
    Date: Tue, 03 May 2005 09:31:45 GMT

    Hi Harrison,

    Thanks for posting here. Also thank the other customer's reply.

    >From your post, my understanding of your concern is: You want to know how
    to configure the Windows Firewall to allow user to turn off the Firewall,
    but itself will turn on after next restarting. If this is not correct,
    please feel free to let me know.

    Although there isn't a proper simple policy with GPO to do this, we still
    can complete this by Script:

    1. Edit a script which can run the following command:

    netsh firewall set opmode enable

    Above command will turn on the Windows Firewall

    For more information about this command, please refer to the following

    Deploying Windows Firewall Settings for Microsoft Windows XP with Service
    Pack 2

    2. Add the script file to Domain Default GPO as Computer Startup or/and
    Shutdown Scripts

    For more information about how to write script and GPO Startup/Shutdown
    Scripts, please refer to the following Microsoft Web site:

    Script Center
    Windows 2000 Computer Startup Scripts:

    Active Directory Services and Group Policy in Windows Server 2003:

    Hope this helps!

    Have a nice day!

    Tom Che
    Microsoft Online Partner Support

    Get Secure! -
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    This posting is provided "AS IS" with no warranties, and confers no rights.

    >Thread-Topic: Turning on the firewall via a GPO
    >thread-index: AcVPZp7a56Usv23ORUKE40cVRr7WNg==
    >From: "=?Utf-8?B?RGVzbW9uZCBMZWU=?=" <mcp@donotspamplease.mars>
    >References: <OTk5#Y1TFHA.544@TK2MSFTNGP15.phx.gbl>
    >Subject: RE: Turning on the firewall via a GPO
    >Date: Mon, 2 May 2005 15:31:02 -0700
    >Lines: 27
    >Message-ID: <>
    >MIME-Version: 1.0
    >Content-Type: text/plain;
    > charset="Utf-8"
    >Content-Transfer-Encoding: 7bit
    >X-Newsreader: Microsoft CDO for Windows 2000
    >Content-Class: urn:content-classes:message
    >Importance: normal
    >Priority: normal
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    >Newsgroups: microsoft.public.windowsxp.security_admin
    >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl
    >Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
    >Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windowsxp.security_admin:45766
    >X-Tomcat-NG: microsoft.public.windowsxp.security_admin
    >Check out:
    >and the useful links at end of that article.
    >Do let us know if it helps. Thanks.
    >"Harrison Midkiff" wrote:
    >> Hello:
    >> I have been working on getting my network ready for WinXP SP2. The
    >> is the big thing for me. I have found the GPO that allows me to turn the
    >> firewall on, but when I do that the user can not turn it off if they
    >> to. Ideally I want the firewall configured so it will be on everytime
    >> user restarts there computer. They can turn it off, but when the
    >> reboots the firewall will be back on again.
    >> Does any know if I can configure it this way?
    >> Harrison Midkiff

  • Next message: Jonas Haggren: "Limit bandwidth"