CVAD: Importance of LogonTimings WMI class for reporting Logon Duration in Citrix Director

CVAD: Importance of LogonTimings WMI class for reporting Logon Duration in Citrix Director

book

Article ID: CTX692757

calendar_today

Updated On:

Description

Ques: Why is LogonTimings WMI class important for reporting Logon Duration in Citrix Director?

Ans: LogonTimings WMI class is crucial for monitoring and reporting logon durations in Citrix environments. It provides detailed metrics that help administrators analyze and troubleshoot logon performance issues. If this class is missing from the WMI repository, it can lead to the inability to collect logon duration data.

  • To check if the Citrix Profile Manager getting the information form the Citrix Profile Manager WMI provider by running following command in PowerShell.

get-wmiobject -namespace root\citrix\profiles\metrics -class logontimings

  • Output of the run should look like this screenshots and will include all the active session on that VDA on which is being run:

User-added image

  • If the command returns an error or does not show the expected output, it indicates that the necessary permissions are not set correctly or there are issues with the logontimings wmi class.

Troubleshooting Steps

If you encounter issues with LogonTimings not being populated or accessible, consider the following troubleshooting steps:

  • Verify the WMI repository for corruption and repair it if necessary.
  • Check the Event Viewer for any related errors that might indicate permission issues.
  • Use the inbuilt Microsoft wbemtest tool to test WMI connectivity and permissions on the LogonTimings class.

Reference Article:

https://support.citrix.com/s/article/CTX207141-director-does-not-show-logon-duration-for-all-sessions?language=en_US

https://support.citrix.com/s/article/CTX223972-average-logon-duration-is-not-available-in-citrix-director?language=en_US

Issue/Introduction

This article describes the importance of LogonTimings WMI class important for reporting Logon Duration in Citrix Director.