Obtaining VDI plugin information using WMI

Last Updated:

Windows Management Instrumentation (WMI) is a system for managing data and operations. Organizations that would like to gather information about the VDI plugins being run by their users can do so with WMI. 

This article covers:

Prerequisites for obtaining VDI plugin information using WMI

  • Access to Windows Management Instrumentation
  • Virtual Desktop Infrastructure implemented for the organization
  • VDI client and plugin version 5.5.6 or higher

How to enable WMI for VDI

Enable WMI by changing the value description below in the client registry settings for VDI

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

Use powershell WMI to query and collect the following data. 
Example query:

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

PluginInfo

  • Plugin Information (PluginInfo)
  • InstalledVersion - This is the version of the connected thin client.
  • IsConnectionOptimized - 1 or 0 depending on whether the connection to VDI client is currently optimized (offloading). A value of 1 means yes, 0 means no. 
  • IsPluginDetected - 1 or 0 based on whether the installed plugin was detected on a user’s device. A value of 1 means yes, 0 means no. 
  • PlatformType - Windows, MacOS, or Linux
  • SessionId - This is the Windows logon session ID and can be associated with a logon user name by an administrator.
  • VdiClientVersion - This is the Zoom VDI Client version running inside the VDI machine.
    Note: This requires version 5.11.0 or higher.

  • PluginOsVersion - This is the thin client OS version running.
    Note: This requires version 5.11.0 or higher.

MeetingInfo

  • IsUserInMeeting - 1 or 0 depending on whether a user is currently in a meeting on the device. A value of 1 means yes, 0 means no.

LoginInfo

  • IsUserLoggedIn - 1 or 0 depending on whether a user is currently logged in to an account through zoom on the device. A value of 1 means yes, 0 means no.

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 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.  

Mofcomp command reference:

https://docs.microsoft.com/en-us/windows/win32/wmisdk/mofcomp

Zoom Community

Join the 100K+ other members in the Zoom Community! Login with your Zoom account credentials and start collaborating.