Re: ms04-018 and command line switches

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 07/28/04


Date: Wed, 28 Jul 2004 14:30:34 +0200

test wrote:

> hello, i get error popup if
> i tell kbxxx.exe /q /u /z
> also if i try kbxxx.exe /quiet /passive /norestart
>
> command line syntax option error,
> but in url:
> http://support.microsoft.com/default.aspx?scid=kb;EN-US;262841
> these switches are described,

As the (non-Windows 2003 Server) ms04-018 updates are packaged with
IExpress, the knowledge base article above is not relevant. Here is
one that is relevant:

Command-Line Switches For IExpress Software Update Packages
http://support.microsoft.com/?kbid=197147

> and exactly the newer ones with quiet and norestart and passive
> in url for ms04-018 here:
>
> http://www.microsoft.com/technet/security/bulletin/ms04-018.mspx
> whats wrong? installer version problem?
> all other patches or example 23, 24 no problem in script ?

You need to look at the "Deployment Information" section in
http://www.microsoft.com/technet/security/bulletin/ms04-018.mspx
more closely (quoted below). You are trying to use the command
line switches for the Windows Server 2003 update.

You need to use the switches described under "The other update
packages for this security update support the following Setup
switches:" here:

</quote>

Deployment Information

To install this security update on Windows Server 2003 without any
user intervention, use the following command at a command prompt:

windowsserver2003-kb823353-x86-enu.exe /quiet /passive

To install this security update on Windows Server 2003 without
forcing the system to restart, use the following command at a
command prompt:

windowsserver2003-kb823353-x86-enu.exe /norestart

The other update packages for this security update support the
following Setup switches:

      /q Use Quiet mode or suppress messages when the
                   files are being extracted.

      /q:u Use User-Quiet mode. User-Quiet mode presents
                   some dialog boxes to the user.

      /q:a Use Administrator-Quiet mode. Administrator-Quiet
                   mode does not present any dialog boxes to the user.

      /t: path: Specify the location of the temporary folder that
                   Setup uses or the target folder for extracting the
                   files (when you also use the /c switch).

      /c: Extract the files without installing them. If you
                   do not specify the /t: path switch, you are prompted
                   for a target folder.

      /c: path Specify the path and the name of the Setup .inf file
                   or the .exe file.

      /r:n Never restart the computer after the installation
                  process has completed.

      /r:i Prompt the user to restart the computer if a restart
                  is required, except when you use this switch together
                  with the /q:a switch.

      /r:a Always restart the computer after the installation
                  process has completed.

      /r:s Restart the computer after the installation process
                  has completed without prompting the user.

      /n:v Do not verify the version. Use this switch with
                  caution to install the update on any version of
                  Internet Explorer.

For more information about these supported setup switches, see
Microsoft Knowledge Base Article 197147.

To install the security update without any user intervention, use
the following command replacing "package_name" with the filename
for the package being installed:

package_name /q:a /r:n

</quote>

-- 
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: Need IE6 ...
    ... Both the full command line and your shortcut give the same result as ... running the program with no command line switches. ... internet, which of course fails with a proxy server error because, ... but I disallowed that and the install finally worked. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Help Writing a bat file to install win updates from a pendrive
    ... >all the updates to a pendrive, and update it when needed, install the ... but running the update (from a command ... prompt) with the help switch will generally get you the list of ... switches used to control unattended updates - the batch file is mostly ...
    (comp.os.msdos.misc)
  • Re: CMD line Install switches
    ... I am trying to install SP3 on 2000... ... >> Anyone have the switches to install with no reboot from command line? ... I searched for "patches" and see that some ...
    (microsoft.public.win2000.security)
  • Re: Distributing software updates. Its a simple problem no doubt.
    ... the following command-line command installs the security update ... The /q switch that is specified for Dahotfix.exe is for a silent install. ... You must restart your computer after you apply this security update. ...
    (microsoft.public.sms.admin)
  • RE: Windows update marks all updated "not installed" afrer XP rein
    ... /WUFORCE command-line parameter or else it won't install claiming it's ... E-mail from a Microsoft Tech Support agent after I contacted MS Windows ... Save the file to a local directory then use the command prompt to locate the ... Security Update for Windows Media Player 9 ...
    (microsoft.public.windowsupdate)