Modify firewall configuration by command line.

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

Hello,

i need to modify (by cmd line) the configuration of WXP SP1 firewall
and add a specific application (VNC f.i.). The software is installed in
silent mode by a script with administrators rights, i found the
solution with SP2 (just add the .reg containing concerned application)
but no way for XP SP1, the registry is too different. Someone can help
me, please ??
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

The NETSH FIREWALL command is not supported in SP1 systems. This was added for SP2.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"oli_tpalm" <olivier.feller@tpalm.be> wrote in message news:1125930236.675507.134730@z14g2000cwz.googlegroups.com...
> Hello,
>
> i need to modify (by cmd line) the configuration of WXP SP1 firewall
> and add a specific application (VNC f.i.). The software is installed in
> silent mode by a script with administrators rights, i found the
> solution with SP2 (just add the .reg containing concerned application)
> but no way for XP SP1, the registry is too different. Someone can help
> me, please ??
>
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

Hi, thanks for your quick answer. So there is no solution with sp1 ? I
have about 200 computers to verify in Belgium !!! Do i need to install
sp2 on all computers ? Is there no alternative ?
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

oli_tpalm wrote:

> Hello,
>
> i need to modify (by cmd line) the configuration of WXP SP1 firewall
> and add a specific application (VNC f.i.). The software is installed in
> silent mode by a script with administrators rights, i found the
> solution with SP2 (just add the .reg containing concerned application)
> but no way for XP SP1, the registry is too different. Someone can help
> me, please ??
>
Hi,

You can use e.g. a JScript to open ports in the WinXP SP1 firewall:

Adding and Removing Port Mappings (JScript)
http://msdn.microsoft.com/library/en-us/ics/ics/adding_and_removing_port_mappings_jscript_.asp?frame=true


--
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
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

There is no command line interface for configuring the SP1 firewall. You could use tools such as RegMon and FileMon from www.sysinternals.com to track the changes that are made to the Registry and re-create the needed REG file. For command line configuration, you'll have to update to SP2 or go with a 3rd party firewall.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"oli_tpalm" <olivier.feller@tpalm.be> wrote in message news:1125992720.948143.145920@z14g2000cwz.googlegroups.com...
> Hi, thanks for your quick answer. So there is no solution with sp1 ? I
> have about 200 computers to verify in Belgium !!! Do i need to install
> sp2 on all computers ? Is there no alternative ?
>