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.
Requirements for obtaining VDI plugin information using WMI
Note: PhoneInfo and CCIInfo require VDI client and plugin versions 6.2.10 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:
Property | Description |
---|
SessionId | Returns the Windows logon session ID, which can be associated with a logon user name by an administrator. |
InstalledVersion | Returns the current version of the connected thin client. |
PlatformType | Returns the detected operating system: Windows, macOS, or Linux. |
IsPluginDetected | Depending on whether the installed plugin is detected on a user’s device, this returns either a Yes (1) or No (0). |
IsConnectionOptimized | Depending on whether the connection to VDI client is currently optimized (offloading), this returns either a Yes (1) or No (0). |
VDIClientVersion | Returns the current version of the Zoom VDI client running on the VDI device. Note: This requires version 5.11.0 or higher. |
PluginOsVersion | Returns the current version of the thin client OS. Note: This requires version 5.11.0 or higher. |
ConnectionError | Returns a plugin connection error. |
PluginManagementOptOutStatus | Depending on whether the user has opted out of installing updates, this returns either a Yes (1) or No (0). |
EnableVDIPluginAutoUpdateOptOut | Depending on whether the user has enabled auto-updates for the plugin, this returns either a Yes (1) or No (0). |
PluginLabel | Returns the label from the thin client. |
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
The following data is provided:
Property | Description |
---|
SessionId | Returns the Windows logon session ID, which can be associated with a logon user name by an administrator. |
IsUserInMeeting | Gives info on whether a user is currently in a meeting on the device; this returns either a Yes (1) or No (0). |
IsUserInCCIMeeting* | Gives info on whether a user is currently in a Contact Center meeting on the device; this returns either a Yes (1) or No (0). |
*Note: IsUserInCCIMeeting is available with version 6.2.10 or higher.
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
The following data is provided:
Property | Description |
---|
SessionId | Returns the Windows logon session ID, which can be associated with a logon user name by an administrator. |
IsUserLoggedIn | Depending on whether a user is currently signed-in in to a Zoom account on the device, this returns either a Yes (1) or No (0). |
PhoneInfo
Note: This requires VDI client and plugin versions 6.2.10 or higher
Use the PhoneInfo command to return information about the current phone (call) status of the Zoom client on this device. For example, this query would be run as:
Get-WMIObject -N "root/zoom/vdi" -class PhoneInfo
The following data is provided:
Property | Description |
---|
SessionId | Returns the Windows logon session ID, which can be associated with a logon user name by an administrator. |
IsUserInPhone | Depending on whether a user is currently in an active phone call on the device, this returns either a Yes (1) or No (0). |
IsUserInCCIPhone | Gives info on whether a user is currently in a Contact Center phone call on the device; this returns either a Yes (1) or No (0). |
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.
Error code | Connection 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.