Administration

Table Of Contents
If a remote desktop is locked and the entry for its virtual machine no longer exists in ADAM, use
the -vmpath and -vcdn options to specify the inventory path of the virtual machine and the vCenter
Server. You can use vCenter Client to find out the inventory path of a virtual machine for a remote
desktop under Home/Inventory/VMs and Templates. You can use ADAM ADSI Edit to find out
the distinguished name of the vCenter Server under the OU=Properties heading.
Options
The following table shows the options that you can specify to unlock or lock virtual machines.
Table 12-18. Options for Unlocking or Locking Virtual Machines
Option Description
-d
desktop
Specifies the desktop pool.
-e Unlocks a virtual machine.
-m
machine
Specifies the name of the virtual machine.
-p Locks a virtual machine.
-vcdn
vCenter_dn
Specifies the distinguished name of the vCenter Server.
-vmpath
inventory_path
Specifies the inventory path of the virtual machine.
Examples
Unlock the virtual machines machine 1 and machine2 in desktop pool dtpool3.
vdmadmin -V -e -d dtpool3 -m machine1 -m machine2
Lock the virtual machine machine3 in desktop pool dtpool3.
vdmadmin -V -p -d dtpool3 -m machine3
Detecting and Resolving LDAP Entry and Schema Collisions
Using the -X Option
You can use the vdmadmin command with the -X option to detect and resolve LDAP entry
collisions and LDAP schema collisions on replicated Connection Server instances in a group. You
can also use this option to detect and resolve LDAP schema collisions in a Cloud Pod Architecture
environment.
Syntax
vdmadmin -X [-b authentication_arguments] -collisions [-resolve]
vdmadmin -X [-b authentication_arguments] -schemacollisions [-resolve] [-global]
Horizon 7 Administration
VMware, Inc. 292