Microsoft KB Archive/926030

= How to use Systems Management Server to deploy Windows Server 2003 Service Pack 2 =

Article ID: 926030

Article Last Modified on 11/16/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2003
 * Microsoft Systems Management Server 2.0 Service Pack 4

-



INTRODUCTION
You can use Microsoft Systems Management Server (SMS) 2.0 or Microsoft SMS 2003 to deploy Microsoft Windows Server 2003 Service Pack 2 (SP2) from a shared distribution folder on a network. This article assumes that you have an understanding of SMS and that you have a working knowledge of software distribution. Additionally, this article assumes that the SMS infrastructure is established or that you will establish an SMS infrastructure before you deploy Windows Server 2003 SP2.

Important To use SMS 2.0 to deploy Windows Server 2003 SP2, you must have SMS 2.0 Service Pack 4 (SP4) installed.

To download Windows Server 2003 SP2, visit the following Microsoft Web site:

http://technet.microsoft.com/en-us/windowsserver/bb229701.aspx

To use SMS to deploy Windows Server 2003 SP2, follow these steps:
 * 1) Create the SMS package by importing the package definition file for Windows Server 2003 SP2.
 * 2) Provide the path of the Windows Server 2003 SP2 source files in the package properties.
 * 3) Distribute the SMS package to the distribution points.
 * 4) Create an advertisement to notify SMS clients about Windows Server 2003 SP2.



Create the SMS package
To use SMS to distribute software, you must first create an SMS package that contains the files and the instructions that direct the software distribution process. When you create the SMS package, you define the location of the package source files. This location is where SMS obtains the source files. You also create the package definition file (.sms file) to distribute Windows Server 2003 SP2.

A package definition file is a specially formatted file. This file contains the information that you must have to create the SMS package. If you import this file, SMS immediately creates the package for you. After you use a package definition file to create a package, you can modify the package exactly as you modify any other SMS package.

Each predefined SMS package also contains SMS programs. These programs are commands that run on each targeted computer to control the package installation. Each program uses a different combination of options that you can use to install the package. For example, the package definition file for Windows Server 2003 SP2 includes programs to install the service pack with user input and programs to install the service pack without user input. These SMS programs must be compatible with the installation files for the package.

To create the SMS package, follow these steps:  Connect to the folder that contains the Windows Server 2003 SP2 source files. This folder may be on the local computer or on the network. In this folder, create a folder for the service pack source files. For example, to create a source files folder that is named WS03SP2 on drive E, type mkdir e:\WS03SP2 at a command prompt. Copy the service pack executable (.exe) files to the source files folder that you created in step 2. For example, to copy the service pack files from the Windows Server 2003 SP2 CD to the WS03SP2 source files folder, type the following command at a command prompt. This example assumes that the CD drive is drive D.

xcopy d:\ e:\WS03SP2/e

 Extract the files. To do this, follow these steps:  At the command prompt, type  /x, and then press ENTER. The  placeholder represents the name of the Windows Server 2003 Service Pack 2 installation package. When you are prompted, type the path of the folder where you want the service pack files to be extracted.

Note We recommend that you extract the files to a different folder than the folder that you created in step 2. </li></ol>

Important If you download Windows Server 2003 SP2 from the Microsoft Download Center or by using the Microsoft Windows Update Web site, you must extract the compressed program file before you can copy it to the source files folder.

After you create the package source folder, create the SMS package. To have SMS create the package for you, import the Windows Server 2003 SP2 product definition file. To download the Windows Server 2003 SP2 product definition file, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=59BEDA75-753A-4E14-A62A-2BFAD20FD1DE

After you download the Windows Server 2003 SP2 definition file, follow these steps:  Click Start, point to Programs, point to Systems Management Server, and then click SMS Administrator Console.</li> In the SMS Administrator console, expand Site Database.</li> Right-click Packages, point to New, and then click Package From Definition.</li> On the Welcome page of the Create Package from Definition Wizard, click Next.</li> On the Package Definition page, click Browse, click the Windows Server 2003 SP2 package definition file, click Open, and then click Next.</li> On the Source Files page, click Always obtain files from a source directory, and then click Next.</li> In the Source directory box, type the path of the package source files. For example, type \\server1\share1\WS03SP2\i386. Alternatively, you can click Browse and then locate the folder that contains the package source files.</li> Click Next, and then click Finish.</li> In the SMS Administrator console, expand Packages, expand the new Windows Server 2003 SP2 package, and then click Programs.</li> In the details pane, double-click the package that you want to distribute.</li>  In the program properties dialog box, click the General tab, and then make sure that the predefined command line is the command that you want to use to deploy the package.

Note An incorrect command line can cause the advertisement to fail. In this case, errors are generated in the Execmgr.log file on an Advanced client.

The following are sample errors from the Execmgr.log file.

EnterRsRuningState failed to run script i386\update\update.exe /passive /norestart 0x80009106 Fatal error

0x80009106 enountered for program Unattended/Automated Update Install. This program will not retry.

EnterRsRuningState failed to run script i386\winnt32.exe /unattend /noreboot 0x80009106 Fatal error 0x80009106 enountered for program Unattended/Automated Upgrade. This program will not retry. 0x80009106 (2147942402) = 'The system cannot find the file specified'.

To make the advertisements run successfully in these sample cases, use one of the following command lines:

Command line 1 update\update.exe /passive /norestart

Command line 2 winnt32.exe /unattend /noreboot </li> Click the Requirements tab to review the requirements information.</li> Click the Environment tab and the Advanced tab to make sure that all the options on these tabs are correct.</li> Click Apply, and then click OK to save your changes.</li></ol>

Distribute and advertise the SMS package
After you create the SMS package for the service pack, you must distribute the package to your distribution points. Distribution points are shared folders where SMS client computers can access the package source files.

Note Make sure that all distribution points have sufficient disk space for the SMS package.

To distribute the SMS package to the distribution points, follow these steps:
 * 1) In the SMS Administrator console, right-click Packages, point to All Tasks, click Distribute Software, and then click Next.
 * 2) Click the Windows Server 2003 SP2 package, and then click Next.
 * 3) Click to select the distribution points that you want to use for this package, and then click Next.

Note The distribution points for the site that you are connected to and all its child sites are listed. You can select one or more distribution points. Make sure that you specify a distribution point for every site that contains clients where you want to install Windows Server 2003 SP2.
 * 1) Click Yes to advertise the package, and then click Next.
 * 2) Click the program for the Windows Server 2003 SP2 package, and then click Next.
 * 3) Click Browse, click the collection that you want to receive the Windows Server 2003 SP2 package, click OK, and then click Next.
 * 4) Type a name for this advertisement in the Name box. Or, use the default name. Then, click Next two times.
 * 5) Change the advertisement schedule, or accept the default schedule. Then, click Next.
 * 6) Click Yes. Assign the program, specify the assignment date and time, click Next, and then click Finish.

SMS clients update the list of advertised programs at a regular polling interval that you can change. By default, the polling interval is 60 minutes. For more information about how to use Group Policy to assign software to a specific group, click the following article number to view the article in the Microsoft Knowledge Base:

302430 How to assign software to a specific group by using Group Policy

<div class="references_section">