Using Microsoft ImageX with RDP to Capture and Deploy Windows Server Images on HP Integrity Servers
Table Of Contents
set /a returncode=0
:end
del temp.txt
exit /b %returncode%
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).
7. Add a Distribute Software task to re-install minimal ISP components. Follow these steps:
a) In the Name field, enter .\hpfeatures\ws6-ia64-en_us\oem\sysprep-post.cmd.
b) Select Copy all directory files.
8. Add a Power Control task. Follow these steps:
a) Select Restart.
b) Select Force applications to close without a message.
9. Execute the job on the managed server. After the job is completed, the images of ESP, HPSP, and
MSDATA partitions are stored in the Altiris shared directory ready to be deployed.
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:
1. Copy the \hpfeatures\ws6-ia64-en_us\sysprep.xml file and rename it. For example,
sysprep-deploy.xml.
2. Edit the sysprep-deploy.xml file, substituting the original Altiris tags with the following ones
(in blue text):
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup"
processorArchitecture="ia64" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>@@compname@@</ComputerName>
<ProductKey>@@productkey@@</ProductKey>
<RegisteredOrganization>RDP</RegisteredOrganization>
<RegisteredOwner>RDP</RegisteredOwner>
</component>
3. Create a new job. For example, deploy_windows_SP2_ImageX.
4. Add a Distribute Disk Image task. Follow these steps:
a) Select Select disk image file.
b) In the Name field, enter .\hpfeatures\ws6-ia64-en_us\bin\EFINTFS.IMG.
c) Unselect Automatically perform configuration task after completing this
imaging task.
d) In the Automation pre-boot environment field, select WinPE Managed (64 bit).
5. Add a Power Control task. Follow these steps:
a) Select Restart.
b) Select Force applications to close without a message.
6. Add a Run Script task to mount and deploy the captured ESP image. Following these steps:
a) Select Run this script and enter the following script:
rem Mounting and Deploying ESP
4