HP Integrity rx2800 Using Microsoft ImageX with RDP to Capture and Deploy Wind - Page 3
WinPE Managed 64 bit, Script Run Location
View all HP Integrity rx2800 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 3 highlights
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). 5. 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 @echo off set /a str=0 echo list volume |diskpart |find "400 MB" > temp.txt for /F "usebackq delims==" %%i IN (`type temp.txt`) DO set str=%%i rem IF the target system does not have OEM, exit script if "%str%"=="0" goto nohpsp rem Creating diskpart script to mount OEM partition set volume=%str:~9,1% echo mounting HPSP as letter Y on volume %volume% echo select volume %volume% > diskpart.txt echo assign letter=Y >> diskpart.txt echo exit >> diskpart.txt rem Executing diskpart to mount HPSP diskpart /s diskpart.txt del diskpart.txt rem Capturing HPSP echo Capturing HPSP %ALTIRIS_SHARE%\waik\tools\ia64\imagex /append Y: %ALTIRIS_SHARE%\hpfeatures\ws6-ia64-en_us\images\w2k8image.wim "HPSP partition" /verify set returncode=%errorlevel% :nohpsp echo HPSP not found 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). 6. 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. 7. Add a Power Control task. Follow these steps: a) Select Restart. b) Select Force applications to close without a message. 8. 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. 3