Using Microsoft ImageX with RDP to Capture and Deploy Windows Server Images on HP Integrity Servers Windows Server 2008 with SP2 on HP Integrity Servers ................2 Creating a job to capture a Windows Server 2008 with SP2 image ............2 Creating a job to deploy a Windows Server 2008 with SP2 image ............
This white paper describes how to create jobs for capturing and deploying Windows Server 2008 images using the Microsoft ImageX utility. The information in this white paper applies to RDP 6.0.1 or later, Windows Server 2008 with SP2 and Windows Server 2008 R2 on HP Integrity servers. Windows Server 2008 with SP2 on HP Integrity Servers This section describes how to create jobs to capture and deploy a Windows Server 2008 with SP2 production image using the Microsoft ImageX tool.
Page 3
b) In the Choose the script operating system field, select Windows and click Next. c) In the Script Run Location field, select On the client computer. d) In the Automation pre-boot environment field, select WinPE Managed (64 bit). Add a Run Script task to assign a letter to the HPSP partition and capture it. Follow these steps: a) Select Run this script and enter the following script: rem Mounting and capturing HPSP rem Verifying if target system has OEM partition...
Creating a job to deploy a Windows Server 2008 with SP2 image To create a job to deploy a Windows Server 2008 with SP2 image using the Microsoft ImageX tool, follow these steps: Copy the \hpfeatures\ws6-ia64-en_us\sysprep.xml file and rename it. For example, sysprep-deploy.xml.
Page 5
Count" > temp2.txt rem Setting an environment variable with the number of partition images stored on w2k8image.wim for /F "usebackq delims==" %%i IN (`type temp2.txt`) DO set num=%%i del temp2.txt echo %num% set /a numimages=%num:~13,2% echo %numimages% rem Checking the number of images stored in w2k8image.wim rem if OEM partition was captured, this number should be equal to 3.
rem Setting BCD Bcdedit /set {bootmgr} device partition=z: Bcdedit /set {memdiag} device partition=z: Bcdedit /set {default} device partition=c: Bcdedit /set {default} osdevice partition=c: Bcdedit /set {FWbootmgr} displayorder {Bootmgr} /addfirst b) In the Choose the script operating system field, select Windows and click Next. c) In the Script Run Location field, select On the client computer.
Creating a job to capture a Windows Server 2008 R2 image To create a job to capture a Windows Server 2008 R2 production image using the Microsoft ImageX tool, follow these steps: Create a new job. For example, capture_windows2008_R2_ImageX. Add a Run Script task to uninstall the HP Insight Management Agents utility. Follow these steps: a) In the Run the script from file field, enter .\hpfeatures\ws7-ia64- en_us\oem\sysprep-pre.vbs.
Creating a job to deploy a Windows Server 2008 R2 image To create a job to deploy a Windows Server 2008 R2 image using the Microsoft ImageX tool, follow these steps: Copy the \hpfeatures\ws7-ia64-en_us\sysprep.xml file and rename it. For example, sysprep-deploy.xml.
Page 10
"Image Count" > temp2.txt rem Setting an environment variable with the number of partition images stored on w2k8r2image.wim for /F "usebackq delims==" %%i IN (`type temp2.txt`) DO set num=%%i del temp2.txt echo %num% set /a numimages=%num:~13,2% echo %numimages% rem Checking the number of images stored in w2k8r2image.wim rem if OEM partition was captured, this number should be equal to 3.
Page 11
Add a Run Script task to modify the BCD settings. Follow these steps: a) Select Run this script and enter the following script: rem Setting BCD Bcdedit /set {bootmgr} device partition=z: Bcdedit /set {memdiag} device partition=z: Bcdedit /set {default} device partition=c: Bcdedit /set {default} osdevice partition=c: Bcdedit /set {FWbootmgr} displayorder {Bootmgr} /addfirst b) In the Choose the script operating system field, select Windows and click Next.