Re: SP2 Firewall

Tech-Archive recommends: Speed Up your PC by fixing your registry



Robbie Niblock wrote:

"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@xxxxxxxxx> wrote:


To use a BAT file and the NETSH.EXE FIREWALL command see the post by Doug Knox MS-MVP here:

sp2 Firewall Port Range
http://forum.iamnotageek.com/history/topic.php/656490-1.html

A VBScript version:
http://groups.google.co.uk/group/microsoft.public.windowsxp.general/msg/35c07cd4b157e69a?dmode=source&hl=en


Thankyou for the reply. At present I have a XP SP2 Firewall GPO that switches the firewall on and greys out the button to disable it in control panel. I've also defined some port exceptions within the GPO such as enabling Remote Assistance, Symantec Corporate management etc.

If I use the batch file as part of the domain login script, will it add the port ranges considering the group policy is already dictating the firewall settings? In other words - will the batch file just add to the port exceptions already defined?

I don't know, try it out by running it manually, it will not be any different than running it in a GPO based logon or startup script.


One other thing - the first link you gave me seems to be dead :)

Here it is at Google newsgroup archive: http://groups.google.com/group/microsoft.public.windowsxp.security_admin/msg/9e2fc85c4055d43d?dmode=source&hl=en



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


Quantcast