Re: Deployng Service Pack 2

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Manny Borges wrote:

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

Is there a way to deploy XP Service Pack 2 and leave the
firewall turned off (along with the popup warning messages)
from a command line or script? The switches that are included
on the /? command are the usual Microsoft switches, such as
/passive, /norestart, etc.  I need to find a way to install
this with the above options, but cant seem to locate any
customization tools from Microsoft.

There is no command line switch for this, but you can set a couple of registry values that disables the firewall (you can set them before or after you have installed SP2).

(snip vbscript)

Sorry, Torgeir, but Carey is right on target. There most certainly is a command lin way to push this SP out and configure these settings.

Almost all MS products and patches have a way to perform ehanced
guided installs that are far more powerful than the gui setup
provided.
Hi,

Sorry, I failed to mention that I was talking about the SP2 installer
(update.exe), it does not have a command line switch for disabling the
firewall as part of the installation (see further down in this post).

After SP2 is installed, you can of course use a command line tool
(netsh.exe) to disable the SP2 firewall , but the downside is that you
must do it after the reboot that the SP2 installation needs. The
registry values in the script I posted have the advantage that they
can be set before the installation of SP2 so you don't need to
initiate any post-boot operations.

Both netsh.exe and the registry values that I posted in my first post
is documented in the link that Carey provided, I just gave the OP the
easiest solution on how to disable the firewall as part of the
installation process (Using Group Policy would have been even more
easy, but the OP specified command line or script).





--
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: code for silent installing software using VBscript
    ... VC++2005,Windows installer services3.0,OWC10.0)with silent installation ... the script should be able to check the previous registry entry,which ... via vbscript.i have command line switches and it is working fine using cmd ...
    (microsoft.public.scripting.vbscript)
  • Re: Comments & Questions on XP2
    ... Games are NOT allowed on our corp platforms (with the ... It can be modified though script after ... or configured during an unattended installation. ... How can I disable the FireWall w/o going to the ...
    (microsoft.public.windowsxp.general)
  • Re: Comments & Questions on XP2
    ... Games are NOT allowed on our corp platforms (with the ... It can be modified though script after ... or configured during an unattended installation. ... How can I disable the FireWall w/o going to the ...
    (microsoft.public.windows.server.scripting)
  • Re: Turing of SP2 Firewall via registry entry?
    ... | testing newsgroup for SP2. ... | know there are command line switchs you can use though. ... |>So in a script (such as the login script assuming they ... | completely disable the FireWall? ...
    (microsoft.public.windowsxp.security_admin)
  • Re: iptables question
    ... You can try one of the other front ends for managing the firewall. ... Or you can use the command line. ... bash script full of iptables commands. ... save the configuration (the last command line of the script being an ...
    (Fedora)