Obtaining VDI plugin information using WMI in Zoom App
It is a system for managing data, operations, and user accounts in Windows that is known as Windows Management Instrumentation (WMI). By using the WMI interface, organizations can gather information about the plugins that are being used by their users during VDI sessions.
The following topics are covered in this article:
- How to enable WMI for VDI
- How to gather data with WMI
- How to install/uninstall WMI App-V
Contents
Prerequisites for obtaining VDI plugin information using WMI
- Having access to the Windows Management Instrumentation would be helpful
- It was decided for the organization to implement a virtual desktop infrastructure
- It is recommended that you use the version 5.5.6 or higher of the VDI client and plugin
How to enable WMI for VDI
If you would like to enable WMI in the client registry settings for VDI, please change the value description below.
There are four major keys: SOFTWARE\Policies\Zoom\Zoom Meetings\VDI
EnableWMIProvider is the value associated with this property
A DWORD value has the following type:
A value of one (1) is required to enable the WMI provider in-process for the VDI client by specifying a value of one (1) in this property. The provider can be disabled by specifying a zero (0) value or by specifying not available as a value.
How to gather data with WMI
The following data can be retrieved and collected by using PowerShell’s WMI functionality.
The following is an example of a query:
Get-WMIObject -N "root/zoom/vdi" -class PluginInfo
PluginInfo
- Plugin Information (PluginInfo)
- InstalledVersion – A thin client connected to this network will have a version number in this field.
- The parameter IsConnectionOptimized referred to the following property: The value of this parameter can either be 1 or 0, depending on whether the VDI client is currently being optimized for offloading (offloading). The value 1 means that the value is yes, and the value 0 means that the value is no.
- Check to see if there is a plugin detected – Depending on whether the plugin has been installed on the device of a user, the value will either be 1 or 0. The value of 1 indicates yes, and the value of 0 indicates no.
- The platform type of the application -ype of the application – A Windows computer, a Mac computer, or a Linux computer
- SessionId – By using this session ID, an administrator is able to connect a logon user name to a logon session, which is the Windows logon session ID.
- VdiClientVersion – It is a version of Zoom VDI Client that runs inside a virtual desktop environment.
- Note: There is a requirement for version 5.11.0 or higher in order to perform this action.
- PluginOsVersion – The version of the OS running on this thin client is the version for thin clients.
- Note: There is a requirement for version 5.11.0 or higher for this to work.
MeetingInfo
- IsUserInMeeting – Based on whether or not the user is currently in a meeting on the device, this value will be either 1 or 0. An answer of 1 indicates that it is yes, and an answer of 0 indicates that it is not.
LoginInfo
- IsUserLoggedIn – If a user is currently logged in to one or more accounts through Zoom on their device, this value will be either 1 or 0. If the value is 1, then the answer is yes, and if it is 0, then the answer is no.
How to install/uninstall WMI App-V
Whenever you release a new version of the VDI client deployment software, you should run the MOF file compiler on the VDI client virtual machine (mofcomp.exe). Each new release only needs to be done once, so there is no need to repeat this process every time.
The following command needs to be run as an administrator in order to install:
-
mofcomp.exe ZoomVDIProviderInstall.mof
It is recommended that you use the Uninstall file in order to uninstall the program:
-
mofcomp.exe ZoomVDIProviderUninstall.mof
Refer to the following command reference for Mofcomp:
https://docs.microsoft.com/en-us/windows/win32/wmisdk/mofcomp