4.5

Table Of Contents
Examples
Decrypt a full virtual machine by specifying its VMX file.
vdmadmin -V -rescue -d lmdtpool -u MYCORP\jo -infile "J:\Temp\LMDT_Recovery
\CN=lmdtpool,OU=Applications,DC=mycorp,DC=com.vmx"
Decrypt the current version of the virtual machine's scsi00 disk by specifying its VMDK file.
vdmadmin -V -rescue -d lmdtpool -u MYCORP\jo -infile "J:\Temp\LMDT_Recovery
\52e52b7c26a2f683-42b945f934e0fbb2-scsi00-000001.vmdk"
Unlocking or Locking Virtual Machines Using the -V Option
You can use the vdmadmin command with the -V option to unlock or lock virtual machines in the datacenter.
Syntax
vdmadmin -V [-b
authentication_arguments
] -e -d
desktop
-m
machine
[-m
machine
] ...
vdmadmin -V [-b
authentication_arguments
] -e -vcdn
vCenter_dn
-vmpath
inventory_path
vdmadmin -V [-b
authentication_arguments
] -p -d
desktop
-m
machine
[-m
machine
] ...
vdmadmin -V [-b
authentication_arguments
] -p -vcdn
vCenter_dn
-vmpath
inventory_path
Usage Notes
You should only use the vdmadmin command to unlock or lock a virtual machine if you encounter a problem
that has left a View desktop in an incorrect state. Do not use the command to administer desktops that are
operating normally. For example, do not use vdmadmin to unlock a checked-out remote desktop if you can use
View Administrator to roll back the local session.
If a desktop is locked and cannot be rolled back, and the entry for its virtual machine exists in ADAM, use the
-d and -m options to specify the desktop pool and virtual machine for the desktop that you want to unlock.
You can use the vdmadmin -M command to discover the name of the virtual machine that is assigned to a user.
If a 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 desktop or View Transfer Server instance 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
Table 16-16 shows the options that you can specify to unlock or lock virtual machines.
Table 16-16. 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.
VMware View Administrator's Guide
312 VMware, Inc.