To assist VMware Technical Support in troubleshooting Horizon Agent, you might need to use the vdmadmin command to create a Data Collection Tool (DCT) bundle. You can also obtain the DCT bundle manually, without using vdmadmin.
For your convenience, you can use the vdmadmin command on a Connection Server instance to request a DCT bundle from a remote desktop. The bundle is returned to Connection Server.
You can alternatively log in to a specific remote desktop and run a support command that creates the DCT bundle on that desktop. If User Account Control (UAC) is turned on, you must obtain the DCT bundle in this fashion.
- Log in as a user with the required privileges.
Option Action On View Connection Server, using vdmadmin Log in to a standard or replica instance Connection Server as a user with the Administrators role. On the remote desktop Log in to the remote desktop as a user with administrative privileges.
- Open a command prompt and run the command to generate the DCT bundle.
Option Action On View Connection Server, using vdmadmin To specify the names of the output bundle file, desktop pool, and machine, use the -outfile, -d, and -m options with the vdmadmin command.
vdmadmin -A [-b authentication_arguments] -getDCT -outfile local_file -d desktop -m machine
On the remote desktop Change directories to c:\Program Files\VMware\VMware View\Agent\DCT and run the following command:
The command writes the bundle to the specified output file.
Using vdmadmin to Create a Bundle File for Horizon Agent
Create the DCT bundle for the machine machine1 in the desktop pool dtpool2 and write it to the zip file C:\myfile.zip.
vdmadmin -A -d dtpool2 -m machine1 -getDCT -outfile C:\myfile.zip
What to do next
If you have an existing support request, you can update it by attaching the DCT bundle file.