Re: Deploy Firewall Setting

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 10/19/04


Date: Tue, 19 Oct 2004 23:27:12 +0200

Jeff wrote:

> I have a computer's XP Firewall setup the way I want it. Is their
> any way I can copy it's configuration to all my other computers?
Hi

There is no support for export/import settings in the Windows XP
Firewall.

You can display the settings like this (in a command prompt):

netsh.exe firewall show config

For a more detailed listing:

netsh.exe firewall show config verbose = ENABLE

Redirect to a file like this:
netsh.exe firewall show config verbose = ENABLE >fw_cfg.txt

You can e.g. create a batch file and run netsh.exe commands there
to configure the firewall on all computers.

The netsh.exe syntax is documented in WF_XPSP2.doc.

WF_XPSP2.doc "Deploying Windows Firewall Settings for Microsoft
Windows XP with Service Pack 2" is downloadable from
http://www.microsoft.com/downloads/details.aspx?familyid=4454e0e1-61fa-447a-bdcd-499f73a637d1

-- 
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx


Relevant Pages

  • Re: group policy disables firewall - virus result
    ... > | How do you TURN ON the Acer Notebook OEM Windows XP SP2 Home Edition FIREWALL ... > | What happens is when I try and chance the firewall or Windows Security ... > | settings it says it is being controlled by Group Policy. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: XP SP2 GPOs missing???
    ... Policy)" and "Windows Firewall: ... settings from being modified on a Windows 2000-based client computer. ...
    (microsoft.public.windows.group_policy)
  • Re: New XP Pro User Questions
    ... I have never made any adjustments to the firewall, ... Should I change any settings? ... I have heard about something called Windows ... Also install AdAware, which you can run from time to time. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Recurrent question
    ... >users are using Windows in spite of this fact. ... >Microsoft is a little bit evil, and ignores your "Personal Firewall" ... >>> from home users, and at best are abused by malware like the AutoClicker ... >> Bad config. ...
    (comp.security.firewalls)
  • Re: group policy disables firewall - virus result
    ... >> How do you TURN ON the Acer Notebook OEM Windows XP SP2 Home Edition FIREWALL ... >> when it has been TURNED OFF by a *digital criminal* who used GROUP POLICY? ... >> settings it says it is being controlled by Group Policy. ...
    (microsoft.public.windowsxp.security_admin)

Quantcast