Re: Where are ALL of the firewall.cpl parameters stored?

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 07/30/05


Date: Sat, 30 Jul 2005 22:53:18 +0200

Poe wrote:

> Peter Clark wrote:
>
>> C:\WINDOWS\system32\wbem\Repository\FS\OBJECTS.DATA
>
>
> Doesn't look to be a file I can easily interrogate with tools. Bummer.
> But thanks for the information - I needed to know what I was up against
> in my quest to get at all the firewall.cpl values!
Hi,

You can display the SP2 firewall settings like this (do it in a
command prompt to see the output):

netsh.exe firewall show config

For a more detailed listing:

netsh.exe firewall show config verbose = ENABLE

You can use netsh.exe to configure most of the firewall settings
as well.

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: Windows XP Sevice Pack 2 script for
    ... >>I would like to customize the firewall settings to allow WinVNC, ... >> SP2 reinstalls like Outlook Express and MS Instant Messenger. ... WF_XPSP2.doc "Deploying Windows Firewall Settings for Microsoft ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windows.server.scripting)
  • Re: XP SP2 Firewall Problem
    ... Chris Buckbee wrote: ... > not able to access the Firewall settings. ... > and it shows that the Windows Firewall service is started, ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windowsxp.security_admin)
  • Re: firewall/and more
    ... > firewall settings. ... Registering atl.dll and hnetcfg.dll might help on the firewall ... From Start/Run, run the following commands: ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windowsxp.security_admin)
  • Re: XP Home Firewall
    ... I assume you have Service Pack 2 for Windows XP installed. ... netsh.exe winsock reset ... "Windows cannot display Windows Firewall settings" error while ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windowsxp.security_admin)
  • Re: SP2 firewall and group policy Re: Hi
    ... Deploying Windows Firewall Settings for Microsoft Windows XP with Service ... > SP2, I don't find any setting that fit what i want to do ... > in my GPO. ...
    (microsoft.public.win2000.group_policy)