Citrix Director - Missing Logon Duration for Group Policy phase

book

Article ID: CTX463920

calendar_today

Updated On:

Description

The Logon performance in Director don't show any data for Group Policy. The values GpoStartDate and GpoEndDate are set to NULL in the table MonitorData.Connection.

Cause

The GP start/end time is reported for the session based on the policy processing start/end time reported in eventlog by GpSvc. If the policy processing reported by GPSVC goes way past the User Logon phase and Shell start phase it will not be reported as part of the HDX Logon Duration payload. When GPO phase duration exceeds certain percentage of the logon duration we calculated, that value is ignored.

Resolution

After moving the server to an OU without any GPOs, director is showing the details correctly. This proves that the time taken by gpsvc processing is causing the monitor plugin to discard the data and hence Director does not show any value.

Fixing the long time taken by Gpsvc will fix the problem of missing Logon Duration in Director.

 

It is important to review the Event logs on the VDA: Microsoft-Windows-GroupPolicy/Operational

The starting point - event ID: 4001

Example:

Starting user logon Policy processing for DOMAIN\test1. 
Activity id: {244c206f-3111-4d1a-a564-298bf61a18a5}

Policy processing: event ID: 5016

Example:

Completed Citrix Profile Management Extension Processing in 47 milliseconds.

To analyze the events related to the particular session, a correlation ID (example above) can be used.

The XML view shows the correlation ID:

 

image.png

 

Issue/Introduction

Citrix Director is not displaying Logon Duration for Group Policy phase.

Additional Information