6.2

Table Of Contents
13 In the PowerShell command window, complete the following service-related tasks.
a Enter net start AppDAgentBootstrap to verify that the service starts successfully.
b Enter net stop AppDAgentBootstrap to stop the service.
14 Delete the runtime log files generated during the template creation.
agent_reset.bat
15 (Optional) Enable Remote Desktop to remotely access future instances of this virtual machine.
You can also use the remote access for troubleshooting purposes.
16 Shut down the Windows virtual machine and stop the vApp in vCloud Director.
17 Navigate to C:\opt\vmware-appdirector\agent-bootstrap\agent_bootstrap.ps1, change the
$gcStatus value to $True, and add the
Write-Host "Skipping guest customization check for vCD 5.1.2" command to the file.
What to do next
Before you save your vApp to a catalog in vCloud Director, you can select the Change SID and Join
Domain features to allow the Windows template to become a member of a Windows Active Directory
domain. See Enable SID Change and Domain Join for Windows Virtual Machine Templates.
Add the vApp template to the vCloud Director catalog so that you can register it for use in Application
Services. See Add Windows Virtual Machine Templates to the vCloud Director Catalog.
Enable SID Change and Domain Join for Windows Virtual Machine
Templates
You can use Change SID and enable Join Domain for a Windows virtual machine template. With the
Change SID option, all of the deployed virtual machines can acquire a unique security identifier (SID).
Enable the option when you prepare a Windows virtual machine template. With the Join Domain option,
the deployed virtual machines can become members of a specified Windows Active Directory domain.
If you need to deploy a large number of Windows virtual machines that must join a corporate managed
domain, use Windows templates with preconfigured domain settings. For smaller deployments or
deployments that need the flexibility of joining different domains, a more effective approach is to use
Windows templates without the preconfigured domain settings and add the Join Domain Predefined Task
in the execution plan for deployment. See Add Join Domain Predefined Task.
Prerequisites
n
Verify that you have correctly created a Windows vApp and configured the virtual machine template.
See Create a vCloud Director vApp and Configure Windows Virtual Machine Template in vCloud
Director.
n
Verify that the Windows domain name, domain account, and account password are readily available.
Using Application Services
VMware, Inc. 80