7.1

Table Of Contents
Prerequisites
n
Install NET Framework 4.5.
n
Windows Automated Installation Kit (AIK) for Windows 7 (including WinPE 3.0) is installed.
Procedure
1 Navigate to the vCloud Automation Center Appliance management console installation page.
For example: hps://vcac-hostname.domain.name:5480/installer/.
2 Download the PEBuilder.
3 (Optional) Download the Windows 64-bit guest agent package if you want to include the Windows 64-
bit guest agent in your WinPE instead of the Windows 32-bit guest agent.
4 Run vCAC-WinPEBuilder-Setup.exe.
5 Follow the prompts to install PEBuilder.
6 (Optional) Replace the Windows 32-bit guest agent les located in \PE Builder\Plugins\VRM
Agent\VRMGuestAgent with the 64-bit les to include the 64-bit agent in your WinPE.
You can use PEBuilder to create a WinPE for use in WIM provisioning.
Specify Custom Scripts in a PEBuilder WinPE
You can use PEBuilder to customize machines by running custom bat scripts at specied points in the
provisioning workow.
Prerequisites
“Install PEBuilder,” on page 51.
Procedure
1 Create or identify the bat script you want to use.
Your script must return a non-zero value on failure to prevent machine provisioning failure.
2 Save the script as NN_scriptname.
NN is a two digit number. Scripts are executed in order from lowest to highest. If two scripts have the
same number, the order is alphabetical based on scriptname.
3 Make your script executable.
4 Place the scripts in the work item subdirectory that corresponds to the point in the provisioning
workow you want the script to run.
For example, C:\Program Files (x86)\VMware\vRA\PE Builder\Plugins\VRM
Agent\VRMGuestAgent\site\SetupOS.
The agent runs the script in the order specied by the work item directory and the script le name.
Preparing for WIM Provisioning with VirtIO Drivers
If you are using VirtIO for network or storage interfaces, you must ensure that the necessary drivers are
included in your WinPE image and WIM image. VirtIO generally oers beer performance when
provisioning with KVM (RHEV).
Windows drivers for VirtIO are included as part of the Red Hat Enterprise Virtualization and are located in
the /usr/share/virtio-win directory on the le system of the Red Hat Enterprise Virtualization Manager.
The drivers are also included in the Red Hat Enterprise Virtualization Guest Tools located /usr/share/rhev-
guest-tools-iso/rhev-tools-setup.iso.
Configuring vRealize Automation
52 VMware, Inc.