Perform the following tasks to create one operating system source that includes both discs and allows Windows Server 2003 R2 to be deployed by running R2 component installation the first time a user logs into the operating system:

·     Create an operating system source of Windows Server 2003 (Disc 1).

·     Add the Windows Server 2003 R2 installation files (Windows Server 2003 R2 Disc 2) to the operating system source.

·     Create a batch file that runs the R2 component installation the first time a user logs into the operating system.

To create an operating system source of Windows Server 2003 (Disc 1)

1.   Click Start, and then point to All Programs. Point to Microsoft Deployment Toolkit, and then click Deployment Workbench.

2.   In the Deployment Workbench console tree, go to Deployment Workbench/Deployment Shares/deployment_share/Operating Systems (where deployment_share is the name of the deployment share to configure).

3.   In the Actions pane, click Import Operating System.

The Import Operating System Wizard starts.

4.   On the OS Type page, click Full set of source files, and then click Next.

5.   Insert Windows Server 2003 R2 Disc 1 in the CD-ROM drive.

6.   On the Source page, click Browse, go to the CD-ROM drive that contains Windows Server 2003 R2 Disc 1, and then click OK.

7.   Click Next.

Note   Microsoft supports only the use of Microsoft media when creating a client operating system image. The use of non-Microsoft media is not supported.

8.   On the Destination page, type a Destination Directory Name—the name of the folder that will contain the files after they are added to the deployment share; for example, Windows-Server-2003 Standard Edition—and then click Next.

9.   On the Summary page, verify the details are correct, and then click Next.

10. On the Confirmation page, click Finish.

To add the Windows Server 2003 R2 installation files (Disc 2) to the operating system source

1.   In Windows Explorer, go to the operating system source files which were imported in the previous section. The image will be located in drive:\deployment_share\Operating Systems\operating_system_name (where deployment_share is the name of the folder that contains the deployment share to configure and operating_system_name is the name of the folder created in step 8 of the previous section); for example, D:\Production Deployment Share\Operating Systems\Windows-Server-2003 Standard Edition.

2.   In the operating system source folder, create the folder $OEM$. For example, the following folders should exist:

·     D:\Production Deployment Share\Operating Systems\Windows-Server-2003 Standard Edition\i386

·     D:\Production Deployment Share\Operating Systems\Windows-Server-2003 Standard Edition\$OEM$

3.   In the $OEM$ folder, create the subfolders $OEM$\$1\R2 and $OEM$\$1\R2\Cmpnents.

4.   Copy the contents of the Cmpnents folder from Disc 2 to the Cmpnents folder created in step 2—for example, D:\Production Deployment Share\Operating Systems\Windows-Server-2003 Standard Edition\$OEM$\$1\R2\Cmpnents.

To create a batch file that runs the R2 component installation the first time a user logs into the operating system

1.   In the $OEM$\$1\R2 folder, create a file named InstallR2.cmd that includes the following text:

reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup /v SourcePath /t REG_SZ /d C:\Windows\Source\i386 /f

reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup /v ServicePackSourcePath /t REG_SZ /d C:\R2\CMPNENTS\R2 /f

C:\R2\CMPNENTS\R2\setup2.exe /q /a /sr

 

When completed, the InstallR2.cmd file should contain three lines. The first two lines begin with reg, and the last line begins with C:\R2.

2.   Create a task sequence to deploy the operating system, and modify the [GUIRunOnce] section in the Unattend.txt file for the task sequence as follows:

[GUIRunOnce]

    "C:\R2\InstallR2.cmd"

    "cscript.exe C:\MININT\Scripts\LiteTouch.wsf /start"

    "cscript.exe D:\MININT\Scripts\LiteTouch.wsf /start"

    "cscript.exe E:\MININT\Scripts\LiteTouch.wsf /start"

    "cscript.exe F:\MININT\Scripts\LiteTouch.wsf /start"

The R2 Component Installation Wizard starts after the MDT deployment process finishes and a user logs in to the operating system for the first time.


Related Topics

Deploying Windows Server 2003 R2