Using Microsoft ImageX with RDP to Capture and Deploy Windows Server Images on HP Integrity Servers

12
set featuredir=%ALTIRIS_SHARE%\hpfeatures\ws7-ia64-en_us
copy /y "%featuredir%\sysprep-deploy.xml" "%featuredir%\sysprep-%ID%.xml"
set compname=%#*"select right(replace([name],' ',''),15) from computer
where computer_id={ID}"%
set productkey=%ws7-ia64-en_us-productkey%
set driverpath=%featuredir%\oem\drivers
"%featuredir%\bin\hptoken.exe" "%featuredir%\sysprep-%ID%.xml"
copy /y "%featuredir%\sysprep-%ID%.xml" C:\windows\panther\unattend.xml
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).
11. Add a Distribute Software task to re-install minimal ISP components. Follow these steps:
a) In the Name field, enter .\hpfeatures\ws7-ia64-en_us\oem\sysprep-post.cmd.
b) Select Copy all directory files.
12. Add a Power Control task. Follow these steps:
a) Select Restart.
b) Select Force applications to close without a message.
13. Execute the job on the managed server.