Obtaining VDI plugin information using WMI


Windows Management Instrumentation (WMI) is a system for managing data and operations, allowing admins to gather information about apps, such as the VDI plugin, being run by their users. 

This article covers:

Prerequisites for obtaining VDI plugin information using WMI

Note: More detailed connection error codes require version 5.15.2 or higher. 

How to enable WMI for VDI

For the Zoom VDI client to support WMI, the EnableWMIProvider client registry setting must be enabled (1). Learn more VDI client registry settings.

Key: SOFTWARE\Policies\Zoom\Zoom Meetings\VDI
Value: EnableWMIProvider
Value Type: DWORD
Value Description: Specify a value of one (1) to enable the in-process WMI provider for the VDI client. Specify a value of zero (0) or not available to disable the provider.

How to gather data with WMI

An admin will need to use one of the following powershell WMI queries to collect the data shown below. 

PluginInfo

Use the PluginInfo command to return information about the current VDI client version, operating system, thin client OS, Windows session ID, and more. For example, this query would be run as: 

 Get-WMIObject -N "root/zoom/vdi" -class PluginInfo

The following data is provided: 

MeetingInfo

Use the MeetingInfo command to return information about the current meeting status of the Zoom client on this device. For example, this query would be run as: 

 Get-WMIObject -N "root/zoom/vdi" -class MeetingInfo

LoginInfo

Use the LoginInfo command to return information about the current authentication status of the Zoom client on this device. For example, this query would be run as: 

 Get-WMIObject -N "root/zoom/vdi" -class LoginInfo

Connection errors 

If there is a connection error returned for these commands, a numeric value is also provided to help admins with connections issues. The table below details the corresponding connection issue for each error code possible. 

Note: These error codes require VDI version 5.15.2 or higher. 

Error codeConnection issue

0

None

3

Plugin missing

4

Virtual Channel denied

5

Virtual Channel in use

6

Plugin not recognized

7

Virtual Channel timed out

8

Plugin error (unknown)

9

Plugin did not respond

10

Plugin version less than required by admin

11

Plugin version greater than client

12

Plugin unavailable for second meeting

13

Plugin error (unknown)

20

Plugin version below global minimum version 

How to install/uninstall WMI App-V

Run the MOF file compiler (mofcomp.exe) command on the VDI client virtual machine after each new VDI client deployment release. This only needs to be done once for each new release.

To install, run the following command as administrator:

mofcomp.exe ZoomVDIProviderInstall.mof

To uninstall, use the uninstall file:

mofcomp.exe ZoomVDIProviderUninstall.mof
Note: Both ZoomVDIProviderUninstall.mof and ZoomVDIProviderInstall.mof files are in the ZoomVDI/bin install folder.