Windows Server 2003 Service Pack 1 Installing and Deploying Updates

IT Support Forum Forums Windows Windows Server 2003 R2 General Discussion Windows Server 2003 Service Pack 1 Installing and Deploying Updates

Viewing 0 reply threads
  • Author
    Posts
    • #2235
      Webmaster
      Keymaster

      Updated: March 28, 2005
      Applies To:Windows Server 2003 R2
      About this Guide
      What Is an Update?
      TheStandalone UpdateInstallation
      The Combination Installation
      Installing SP1 and updates with Windows Server 2003
      Removing Updates
      Copyright
      About this Guide
      This guide was formerly called “Hotfix Deploymentand Installation Guide.”
      This guideis geared for system administrators who areinstalling software updates on Microsoft® Windows Server™ 2003
      Service Pack 1 (SP1).
      Unless specified, this guide uses theterm “update” to refer to any software update, including an updaterollup, service pack,
      feature pack,critical update, security update, or hotfix that improves or fixes a software product that is released by Microsoft
      Corporation.For definitions of each of thesetypes of software updates, seearticle 824684, “Description of thestandard
      terminology that is used to describe Microsoft software updates,” in the Microsoft Knowledge Base.
      This guideincludes technical information, procedures,and recommendations for installing updates on multiplecomputers in a
      small business or corporateenvironment.This includes installing updates separately or in combination with Windows
      Server 2003, with or withouta service pack.
      If you want to deploy either thestandaloneversion ofSP1 or theversion ofSP1 that is integrated with the operating system,
      seethe Windows Server 2003 Service Pack 1 Installation and Deployment Guide(on the MicrosoftTechCenter Web site).
      Although this guideincludes some basic operating system information, itassumes thatyou havea working knowledge of
      Windows Server 2003 and updateinstallations.This guideis designed to complement formal training and other sources of
      information, such as the Windows Server 2003 Help documentation, not to replacethem.
      Although updates areavailablefor both 32-bit (x86) and 64-bitversions of Windows Server 2003, throughout this guide,all
      examples will usetheformat for 32-bit updates.
      What Is an Update?
      An updateis a file or collection of files thatyou can apply to your operating system to correcta specific problem. You can
      install updates separately from the operating system or in combination with Windows Server 2003, with or withouta service
      pack.
      An updateis an executable(.exe) file.When you install an update, backup files areautomatically created so you can removethe
      updatelater if you want to.Theinstallation process also copies the new files to specific folders and updates registry settings.
      Windows Server 2003 updatefiles are named according to thefollowing convention:
      For the 32-bit (x86) versions of the Windows Server 2003 operating systems:
      WindowsServer2003-KB######-x86-LLL.exe
      For theItanium-based versions of the Windows Server 2003 operating systems
      WindowsServer2003-KB######-ia64-LLL.exe
      For thex64-based versions of the Windows Server 2003 operating systems:
      WindowsServer2003-KB######-x64-LLL.exe
      Thesymbols ###### represent the Microsoft Knowledge Basearticle number thatexplains the details about the update,and
      LLL represents thelanguageversion of the update.
      Updates areself-installing.Therearetwo main types of updateinstallations:
      Thestandalone updateinstallation
      Usethis to install Windows updates on computers thatarealready running Windows Server 2003.
      Thecombination installation
      Usethis to perform an unattended installation of Windows updates in combination with an installation of Windows
      Server 2003,SP1, or both.
      Important
      Updates areapplied only to softwarethat is already installed. If you removea componentand later reinstall it,you must
      reinstall any updates thatapply to that component. In addition, if you add further components to your computer that require
      this update,you must reinstall the updatefor it to apply to the new component.
      However, if you install updates by installing SP1, the updates areapplied to all components thatyou add or reinstall. You
      would not need to reinstall SP1.
      The Standalone Update Installation
      During thestandalone updateinstallation,Windows updates areapplied to a computer that is already running Windows
      Server 2003.When you run the update program, itautomatically installs updated system files and makes the necessary
      registry changes. After thecomputer is restarted, theinstallation is complete,and the operating system runs with an updated
      fileset.
      You can install the updates by running one of the update program files listed previously, which extracts the updatefiles and
      runs the Update.exeinstallation program. Update.exethen checks theservice pack version thatyou arecurrently using. If the
      service pack version was released beforethe updates,and thelanguageis thesame, Update.exeautomatically installs the
      updates. If your service pack version was released after the updates, theinstallation is not completed,and an error message
      appears stating that theversion of the updates is incorrect.
      For moreinformation about Update.exe, seethe white paper, “Inside Update.exe-The PackageInstaller for Windows and
      Windows Components,” on the Microsoft Web site.
      Note
      If your service pack version was released after the updates and you werecompleting an unattended installation using either
      the/U (unattended setup) or /Q (quiet setup) option, theinstallation does not continueand no messageappears.For more
      information about command-line options, see Command-line options for the update package, later in this document.
      If thelanguage of the updates does not match thelanguagethatyou selected for your Windows Server 2003 operating
      system,Setup is interrupted. If thereare no conflicts with thelanguageversion,Setup continues with theinstallation,and
      Update.exeregisters the updates under thefollowing registry keys:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Server2003\SP2\KB######
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Hotfix\KB######
      During theinstallation, information for removing the updates is stored in a hidden folder named
      %systemroot%\$NtUninstallKB######$.For information about removing updates, see Removing Updates later in this
      document.
      Methods for installing updates
      Thereareseveral methods thatyou can choosefrom to install an update, such as:
      Run Update.exe manually using a combination of installation options.
      UseSystems ManagementServer (SMS).
      Use Windows Installer.
      You can deploy updates to multiplecomputers on a network by using a shared network distribution folder or by downloading
      the updates from the Web. Becausethis guideis intended primarily for corporate users, the procedures in thefollowing section
      apply to the distribution of updates on a shared network.This is the most common way of distributing updates in a corporate
      environment.
      Theinstructions in therest of this section explain how to install updates on computers thatarealready running Windows
      Server 2003.
      Using Qchain.exe
      Windows Server 2003 updates have Qchain.exefunctionality built in as part of Update.exe.This means thatyou can install SP1,
      and then install any number of post–SP1 updates without having to restart thecomputer between installations.
      If multiple updates replacethesamefile, Update.exeensures that thecorrectversion of thefileis retained. If you install
      multiple updates, besureto usethe/Z option that is described in “Command-line options for the update package,” the next
      section in this guide.
      Command-line options for the update package
      Commandline
      option
      Description
      /?
      or
      /Help
      Displays help text.
      /ER Enables extended return codes that return a detailed error messageif the updateinstallation fails.For more
      information, seethe white paper, “Inside Update.exe-The PackageInstaller for Windows and Windows
      Components,” on the Microsoft Web site.
      /F Forces other applications to closeafter you install the update packageand beforeyou restart thecomputer.
      /Forcerestart Restarts thecomputer after the updateinstallation is complete.This option follows standard shutdown
      behavior. It does not forceapplications to close.
      /integrate:
      path
      Integrates this software updateinto the path you specify. Besureto providetheabsolute path to your operating
      system sourcefiles.
      /L Lists installed updates.
      /N Does not back up files for removing updates. An entry for the update does notappear in Add or Remove
      Programs if you usethis option.
      /O Overwrites OEM files without prompting.
      /Q
      or
      /Quiet
      Uses quiet mode.Shows no user interface during theinstallation of the updates.This is thesameas unattended
      mode,except that the user interfaceis hidden. No prompts will appear during theinstallation process.
      /U
      or
      /Passive
      Uses unattended Setup mode. Requires no user interaction during theinstallation of the updates and shows
      only critical errors and a progress bar.
      /Z
      or
      /Norestart
      Does not restart thecomputer after theinstallation is completed.
      Installing updates on computers running Windows Server 2003
      To install an update on a singlecomputer, run the update program,WindowsServer2003-KB######-x86-LLL.exe, on that
      computer.
      If you want to install the update on morethan onecomputer,you can createa distribution folder for the update on the
      network.Thefollowing procedure describes how to install one or more updates using this method.
      Important
      You must install SP1 either in combination with or beforeyou install updates released after SP1. Installing morerecently
      released updates beforeyou install SP1 can cause problems with your system.
      Note
      For thefollowing procedure, Drive:\ represents the drive of the network or computer on which your distribution folder is
      located.
      To install an update by running the Update.exe program
      1. Connect to the network or computer on which you want to createthe distribution folder.
      2. In theshared network distribution folder,createa distribution folder for the updatefiles.
      For example, to createa distribution folder named Update, typethefollowing:
      mkdir Drive:\Update
      3. Copy the Windows Server 2003 Update.exe program to the distribution folder thatyou created in Step 2.For example, to
      copy theSP1 Update.exe program to the distribution folder named Update, typethefollowing:
      xcopy C:\WindowsServer2003-KB ###### -x86- LLL .exe Drive :\Update
      4. To install the updatefrom theshared network distribution folder, run the WindowsServer2003-KB######-x86-LLL.exe
      program.
      For example, to install the updatefrom the distribution folder named Update, typethefollowing:
      Drive :\Update\WindowsServer2003-KB ###### -x86- LLL .exe
      5. To ensurethatyour updates takeeffect, restartyour computer after you finish installing all of the updates.
      Note
      The WindowsServer2003-KB######-x86-LLL.exefilesupports thesamecommand-line options as Update.exe. You can use
      thecommand-line options thatare described in thetablethat precedethis procedure.
      Installing several updates together
      You can group multiple updates together in a batch fileand install them as a unit.This makes it unnecessary for you to restart
      your computer after you install each update.The updateinstaller provides options thatyou can use when performing this type
      of installation.
      Thefollowing codesampleis a batch filethat installs updates and ensures that thecorrect files arereplaced after thecomputer
      is restarted.
      @echo off
      setlocal
      set PATHTOFIXES=Drive:\update
      %PATHTOFIXES%\WindowsServer2003-KB######-x86-LLL.exe /quiet /norestart
      %PATHTOFIXES%\WindowsServer2003-KB######-x86-LLL.exe /quiet /norestart
      %PATHTOFIXES%\WindowsServer2003-KB######-x86-LLL.exe /quiet /norestart
      Important
      To ensurethat the updates thatyou installed takeeffect, restart thecomputer if the batch file does notautomatically restart it
      for you. If you wantyour computer to restartautomatically, in thelast updatethatyou install, replacethe option /norestart
      with the option /forcerestart.
      The Combination Installation
      Thecombination installation uses both the updateinstallation and integrated installation processes to install SP1 with one or
      more of thefollowing:
      Windows Server 2003
      Windows Server 2003 updates
      Additional Microsoftand non-Microsoft softwarethat might beincluded on theSP1 CD
      Note
      An integrated installation is onein which the operating system and theservice pack areinstalled together as a single
      installation.
      For a combination installation,you can includethecomponents thatyou want to install as entries in theSvcpack.inf file,along
      with the updates. You can also chooseto install SP1 at thesametime.
      This section provides instructions for using unattended Setup modeto simultaneously install Windows Server 2003 and
      updates.
      Installing SP1 and updates with Windows Server 2003
      This section explains how to perform a combination installation that includes SP1 and post–SP1 updates integrated with
      Windows Server 2003 in a shared distribution folder on a network. A combination installation makes it unnecessary for you to
      perform separateinstallations of Windows Server 2003,SP1,and the Windows Server 2003 updates.
      If you want to install Windows Server 2003 with updates,you must usethis method.This process installs the updates during
      Windows Server 2003 Setup.
      Preparing for the combination installation
      Beforeyou deploy theinstallation of Windows Server 2003 and the Windows Server 2003 updates across a network,you must
      copy the Windows Server 2003 and Windows Server 2003 updateinstallation files to a shared distribution folder and
      completethesteps described in thefollowing procedure, “To createand set up therequired folders and files for Windows
      Server 2003.”
      If you arean original equipment manufacturer (OEM) and you plan to install additional OEM files (such as device driver,
      application, or component files) on the destination computers,createa \$1 subfolder within the\$OEM$ subfolder.The\$1
      subfolder corresponds to systemdrive, which is the destination drivefor the Windows Server 2003 installation.
      Note
      In thefollowing procedure, Drive:\ represents the drive name of the network or computer whereyour distribution folder is
      located.
      To create and set up the required folders and files for Windows Server 2003
      1. Connect to the network or computer on which you want to createthe distribution folder.
      2. Createa distribution folder by typing thefollowing (using theappropriate driveletter):
      mkdir Drive :\WServer2003DIST
      3. Usethecommand xcopy to copy thefiles and subfolders from theintegrated installation product CD or DVD that
      includes Windows Server 2003 and SP1 to the Drive:\WServer2003DISTfolder.
      For example, if D is your CD-ROM drive, typethefollowing:
      xcopy /E /I /V D:\ Drive :\WServer2003DIST
      4. Usethe/integrate option to run the updatethatyou want to install by typing thefollowing:
      WindowsServer2003-KB ###### -x86- LLL .exe /integrate: Drive:\WServer2003DIST
      Repeat this step for each updateyou want to includeyour deployment.
      Important
      If you want to includeSP1 and updates in your deployment ofServer 2003,and you do not havea version of the operating
      system that includes SP1, firstyou must integrate Windows Server 2003 with SP1 as described in theService Pack
      Deployment Guide.Then you can integratethe updates. If you integratethe updates beforeSP1,you will not beableto
      includeSP1 afterwards.
      For moreinformation about how to integrate updates, seearticle 828930, “How to integratesoftware updates into your
      Windows installation sourcefiles,” in the Microsoft Knowledge Base.
      Deploying the combination installation
      You can deploy theinstallation of the Windows Server 2003 updates and the Windows Server 2003 operating system to
      multiplecomputers from a shared distribution folder on a network. During thestandard installation process,Windows
      Server 2003 Setup installs the operating system and applies the updates.
      To deploy the installation
      1. Verify that theinstallation and executablefiles for the Windows Server 2003 updates and Windows Server 2003 exist in
      your distribution folder.
      2. Customize Windows Server 2003 Setup as necessary.For moreinformation about customizing Windows Server 2003
      Setup, seethe Winnt32.execommand syntax topic in the Microsoft Windows Server 2003 Professional Resource Kit
      Documentation on the Windows Deploymentand Resource Kits Web site.
      3. Run Windows Server 2003 Setup.This deploys theinstallation of the Windows Server 2003 updates and Windows
      Server 2003 to multiplecomputers from theshared distribution folder.
      Note
      For moreinformation about the preceding procedure, seethe Microsoft Windows Corporate DeploymentTools User’s Guide
      (Deploy.chm) included in Deploy.cab in the\Support\Tools folder on your SP1 CD.
      Removing Updates
      You can removean updatefor Windows Server 2003 ata command prompt or by using Add or Remove Programs in
      Control Panel.
      If you want to remove updates,you must removethem in thereverse order in which they wereinstalled.So,you must remove
      the most recently installed updatefirst.For example,assumethatyou installed UpdateA beforeyou installed UpdateB.To
      return your computer to its state beforetheinstallation of UpdateA,you must remove UpdateB beforeyou remove
      UpdateA. You should follow this reverse order when you uninstall updates becausesome updates sharefiles.
      Important
      If you try to removethe updates in the wrong order,a warning appears that lists all of the updates and programs that have
      been installed sinceyou installed the updatethatyou aretrying to remove.The warning names the updateyou aretrying to
      removeand warns you that if you continue, the programs listed might not run correctly. Click No if you do not want to
      removethe updateand if you prefer to removethe programs and updates thatarelisted beforeyou continue. Otherwise,
      click Yes.
      You cannot remove updates that wereinstalled by using thecombination installation method unless you reinstall the
      operating system. Reinstalling the operating system overwrites the updates.
      To remove an update at the command line
      1. Specify this location at thecommand line:
      %systemroot%\$NtUninstallKB ###### $\spuninst\
      2. Type Spuninst.exe /option. Replaceoption with any of thefollowing options:
      Option Description
      /U Removes the updatein unattended mode. If you usethis option, only critical error prompts appear whileyou uninstall
      the update.
      /Q Removes the updatein quiet mode, which is thesameas unattended modeexcept that the user interfaceis hidden. If
      you usethis option, no prompts appear whileyou uninstall the update.
      /Z Does not restart thecomputer after the process of uninstalling the updateis complete.
      /F Forces other applications to close when thecomputer restarts after uninstalling the update.
      To remove an update for Windows Server 2003 by using Add or Remove Programs
      1. Open Control Panel.
      2. Click Add or Remove Programs.
      3. Select the Show updates check box.
      4. Click the updatethatyou want to remove,and then click Change or Remove.
      5. Follow theinstructions thatappear on your screen
      Copyright
      Information in this document, including URL and other Internet Web sitereferences, is subject to change without notice. Unless
      otherwise noted, theexamplecompanies, organizations, products, domain names,e-mail addresses, logos, people, places,and
      events depicted herein arefictitious,and no association with any real company, organization, product, domain name,e-mail
      address, logo, person, place, or event is intended or should beinferred. Complying with all applicablecopyright laws is the
      responsibility of the user.Without limiting therights under copyright, no part of this document may bereproduced, stored in
      or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying,
      recording, or otherwise), or for any purpose, without theexpress written permission of Microsoft Corporation.
      Microsoft may have patents, patentapplications, trademarks,copyrights, or other intellectual property rights covering subject
      matter in this document.Exceptas expressly provided in any written licenseagreement from Microsoft, thefurnishing of this
      document does not giveyou any licenseto these patents, trademarks,copyrights, or other intellectual property.
      © 2005 Microsoft Corporation. All rights reserved.
      Microsoft, MS-DOS,Windows,Windows NT,and Windows Server areeither registered trademarks or trademarks of Microsoft
      Corporation in the United States and/or other countries.
      This product contains graphics filter software; this softwareis based in part on the work of theIndependent JPEG Group.
      All other trademarks are property of their respective owners.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.