You must prepare vCenter Server Windows virtual machine templates for vRealize Automation blueprints to create clone deployments. Application Services uses the vRealize Automation blueprints to deploy Windows-based applications and services to the vSphere environment.


  • Adhere to the correct version requirements for your release. See the Support Matrix in vRealize Automation documentation at

  • Verify that vCenter Server 5, 5.1, or 5.5 is installed and configured.

  • Verify that a vSphere Windows virtual machine is available. See Virtual Machine Requirements for Creating vRealize Automation Custom Templates.

  • Verify that the vSphere Windows virtual machine does not have an older version of either a vRealize Automation 5.2 or 6.0 guest agent or Application Services agent bootstrap installed. See vSphere documentation.

  • Familiarize yourself with how to convert to a template and create a customization specification for an operating system. See vSphere documentation.

  • Remove the existing vRealize Automation agent service and Application Services agent bootstrap service. See vRealize Automation.

  • Verify that all of the network configuration artifacts are removed from the network configuration files.


  1. Log in to the vSphere client and open a Windows virtual machine.
  2. Enter the Windows Administrator credentials and open a command prompt.
  3. Download and install the supported Java SE 7 Runtime Environment from http://Application_Director_IP/agent/
    1. Create a \opt\vmware-jre folder and unzip the JRE file to the folder.
    2. Open a PowerShell command window and enter type \opt\vmware-jre\bin\java -version to verify the installation.

      The installed version of Java appears.

  4. To install the vRealize Automation guest agent.
    1. Change directory to C:\.
    2. Download the file for 32-bit platforms or for 64-bit platforms from the vRealize Automation Appliance management console installation page at https://vcac-va-hostname_or_IPaddress:5480/installer/.
    3. Right-click the downloaded ZIP file and select Unblock from the pop-up menu.

      The selection unblocks the contents of the ZIP file.

    4. Unzip the installation file to C:\.

      For example, C:\VRMGuestAgent\WinService.exe.

  5. Download the Application Services agent bootstrap file from http://Application_Director_IP/agent/
    1. Right-click the downloaded ZIP file and select Unblock from the pop-up menu.

      If you do not disable this Windows security feature, you cannot use the Application Services agent bootstrap file.

    2. Unzip the file to the \temp folder.
    3. Run the rktools.exe utility and add the NTRights.exe utility to the \temp folder.

      The NTRights.exe utility is used in the install.bat script to configure the agent bootstrap service to run in the darwin user account. The utility is included in the Windows Server 2003 Resource Kit Tools (rktools.exe), which you can download from the Microsoft download Web site.

    4. (Optional) If the NTRights.exe utility is not available, manually configure the agent bootstrap service to run in a specific user account after you run the install.bat script.
  6. To install the agent bootstrap service for vRealize Automation, complete the following steps.
    1. Open a Windows CMD console and navigate to the \temp folder.
    2. Enter the command to install the agent bootstrap.
      install.bat password=Password cloudProvider=vcac vcacServer=IaaS_Server_FQDN httpsMode=true

      The install.bat script creates a user account called darwin for the agent bootstrap service and uses the password you set. The Password must meet the Windows password requirements.

  7. Verify that the user darwin_user exists.
    1. Enter lusrmgr.msc at a command prompt.
    2. Verify that the user darwin_user exists and belongs to the administrator group.
    3. Set the password to never expire.

      The setting ensures that the template remains usable after 30 days.

    If the user is not available, verify that the Windows server password is accurate.

  8. Verify that Application Services and VRM Agent services are installed.
  9. Shut down the Windows virtual machine.
  10. Create a customization specification for the Windows virtual machine.

    A customization specification lets you change Windows operating system properties such as the host name, network settings, and license settings. Customizing guest operating systems can help prevent problems that can result if virtual machines with identical settings are deployed with duplicate host names.

    1. Select Home > Customization Specifications Manager.
    2. Click New to create a customization specification.
    3. In the vSphere Client Windows Guest Customization wizard, specify the customization specification name.
    4. In the NetBIOS section click Use the virtual machine name and in the Administrator Password section, enter the administrator password of the Windows operating system.
    5. Accept the default settings and click Finish.

      A Windows-based vRealize Automation blueprint uses this customization specification information to create a clone or linked deployment.

  11. In the inventory, right-click the Windows virtual machine and select Template > Convert to Template.

    vCenter Server marks the virtual machine as a template and displays the task in the Recent Tasks pane.

What to do next

Create a vRealize Automation blueprint for clone or linked clone deployment. See vRealize Automation or Create and Configure vRealize Automation Blueprint for Linked Clone Deployment.