5.0

Table Of Contents
Options
Table 17-15 shows the options that you must specify to decrypt a full virtual machine or one of its disks.
Table 17-15. Options for Decrypting the Virtual Machine of a Local Desktop
Option Description
-d desktop Specifies the name of the desktop pool.
-infile path_to_VM_file Specifies the path to the VMX or VMDK file for the local
desktop's virtual machine.
-u domain\user Specifies the domain and name of the local desktop's end
user.
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.
VMware View Administration
346 VMware, Inc.