Saturday, September 19, 2009

Installing OS Images using System Management Server 2003 OS Deployment Feature Pack (Part -1)

This post describes the steps to use System Management Server 2003 (SMS) Operating System Deployment (OSD) feature pack to deploy OS images on a new computer. In this scenario a preconfigured OS image will be deployed to a computer system that has no operating system installed. In this three part post we will configure SMS image package and Remote Installation Services (RIS) to deliver SMS OS Images. We will also configure SMS OSD program to create multiple partitions and to install security patches after the installation is completed. In the first part of this post we will capture the image of a reference computer. This post assumes that you already have OSD feature pack installed on SMS server.



Capturing an OS Image for Deployment

* Creating the Image Capture CD
* Preparing the reference computer
* Run the Image Capture Wizard

Creating the Image Capture CD

*
Open SMS Administrator Console. Expand Site Database and select Image Packages. Right Click on Image Packages node, point to All Tasks and click on Create Operating System Image Capture CD.













* Click Next on the Welcome page of the Operating System Image Capture CD Wizard.
* On Windows PE settings page, select Include additional network drivers from this location and provide the path to the network drivers of reference computer. Click Next.

Note: Image capture process might fail if you will not provide Network Drivers path. Path can be local or UNC. See preparing the reference computer section in this post to know more about reference computer.

*
Specify the name and path for the CD image (.iso file) and click Next on the Create CD image page.

















* ISO image creation will start. Wait till the process is completed and click Finish on CD Creation Complete page.

Using any CD writing software, write the ISO file to a CD. This in turn will create a bootable CD that we will use to capture the image of the reference computer.

Preparing the reference computer

Reference computer is the master image that will be distributed to client computers. To prepare the reference computer install the desired operating system (Windows 2000 and XP professional), drivers, latest service pack, security updates, antivirus etc. Install and configure any packages and applications (MS office, Lotus notes, Sap client etc.) that you want to be a part of the master image. Once the reference computer is ready perform the steps listed below.

* Install the SMS 2003 SP1 advanced client on the reference computer. Manual installation will do.
* Reference computer must be a part of the workgroup. If reference computer is joined to domain, disjoin and join it to workgroup.
* Make sure that CD ROM is the first priority in boot order defined in the BIOS of the reference computer.
* Create a folder on the C: drive and name it as SYSPREP. From Windows XP CD copy or extract the contents of WINXPCD:\SUPPORT\TOOLS\DEPLOY.CAB to C:\SYSPREP.

Run the Image Capture Wizard

To capture the image of the reference computer we will run the Image Capture Wizard.

* Insert the Image Capture CD in the CD/DVD Rom drive of the reference computer. The Image Capture Wizard will start automatically. If not explore the image capture CD and click on OSDICW.exe to launch the wizard.
* Click Next on the Welcome page.
*
On the Image Destination page, type an Image file name, Network location to copy the image and credentials to access the network location. Click Next.

















*
Type and confirm the Local administrator’s password of reference computer. Password must not be blank. Leave the Sysprep Parameters as default and click Next on Sysprep Parameters page.









* On the Image Properties page type the description of the image in the Comments frame. Assign an Image version number and type the appropriate name in created by frame. These fields are optional. These parameters are specified for proper management and tracking of OS images.

* Click Finish on the Capture Image page to start the capture process.

Sysprep will run on reference computer and system will shut down after sysprep. Turn on the reference computer and press any key to boot from the Image Capture CD. Image capture process will start. The progress windows will show the amount of time it will take to complete the capture process. Once the capture is completed, click OK on the Capture Complete dialog box.

The next step in OS deployment is to configure the OS Image package on SMS Server that is described in Part 2 of this post.

Followers