Insert the ImageCapture media into the reference machine. See “Product Media” in the HP Client Automation Enterprise OS Management Reference Guide if you need more information about where to get this media.
Go to \samples\prepwiz_unattend
and copy the OS-specific configuration file (vista.cfg
or xp.cfg
) to your local machine or a network location.
Make the necessary modifications. The following table lists the values that you may need to change.Variables in the Configuration File to be ModifiedVariable Name
| Description
| Sample Value
|
---|
RISHOSTPORT | The HPCA server's IP address.
| xxx.xxx.x.x:port |
IMAGENAME | The prefix used to create the uploaded files. This is appended to .WIM to create the name of the uploaded image.
| Vista
|
IMAGEDESC | Description of the image that is published to the Database.
| “Windows Vista Unattended Test Image”
|
PREPWIZPAYLOAD (for future releases)
| Payload that the administrator wants to use.
The payload contains Local Service Boot (LSB) data to be delivered to target devices.
| Use the default value “/OSM/PREPWIZ /payload /default/ ”
|
OSEDITION (required for Vista)
| Specifies the edition of Vista used.
| “Enterprise”
|
set ::setup(DEPLOYOS,SELECTED)
| Set to 1 or 0 to indicate whether you want to redeploy the OS after the image capture.
| “0”
|
set ::setup(ClientConnect,SELECTED)
| Set to 1 or 0 to indicate whether you want the target device to perform an OS a connect after the image is deployed.
| “1”
|
On the reference machine, open a command window and change to the CD/DVD directory. Go to Image_Preparation_Wizard\win32
. Then, run the following command:prepwiz -mode silent -cfg <fully qualified path>\
<config_file>
Where <config_file> is the operating system-specific configuration file (for example, setup.cfg
).
The Image Preparation Wizard starts Sysprep; this can take 15-20 minutes to complete. Sysprep reboots the device when complete, connects to the network and stores the image in the /upload
directory on the HPCA server.