5.2

Table Of Contents
The vdmadmin command writes the decrypted files to a subfolder named rescued.
The
decryption fails if the correct authentication key is not available in the View LDAP configuration, or if any
of the required virtual machine files are corrupted or missing.
Options
Table 17-17 shows the options that you must specify to decrypt a full virtual machine or one of its disks.
Table 17-17. 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"
Recovering a Local Desktop by Using the -V Option When the Desktop
Was Modified in the Datacenter
When a local mode operation such as a check-out, check-in, or replication is performed, View validates that
the View desktop's virtual machine in vCenter Server was not modified since the last synchronization with
the
local View desktop. If a virtual machine disk in vCenter Server was modified, and the disk is not the same
as the local desktop version, you can use the vdmadmin command with the -V option to preserve data on the
local desktop and vCenter Server virtual machine and ensure that both versions are synchronized.
Syntax
vdmadmin -V -recoverClientVM -d
desktop_pool
-m
virtual_machine
vdmadmin -V -recoverServerVM -d
desktop_pool
-m
virtual_machine
Usage Notes
When a View desktop is checked out, a snapshot is taken in vCenter Server to preserve the state of the virtual
machine. The vCenter Server version of the desktop is locked so that no other users can access it.
If vSphere allows a virtual machine to be unlocked and the virtual machine is inadvertently powered on, the
vCenter Server virtual machine in the datacenter and the local desktop are no longer synchronized. For
example, a virtual machine might be unlocked during a vCenter Server upgrade.
Chapter 17 Using the vdmadmin Command
VMware, Inc. 435