Avg. User Logon Scripts Execution Time

Comtrade.Citrix.XenDesktop.EndUser.DeliveryGroup.Logons.AverageLogonScriptsTime.Monitor (UnitMonitor)

Monitors average user logon scripts execution time (in seconds) for a delivery group. This logon phase covers the time taken for the logon scripts to be executed.

Knowledge Base article:

Summary

Monitors the average user logon scripts execution time (in seconds) for a delivery group. This logon phase covers the time taken for the logon scripts to be executed.

Configuration

Overridable parameters:

IntervalSeconds

The recurring interval of time in seconds in which the monitor is started (the default value is set to 300 seconds).

WarningThreshold

Warning alert threshold (the default value is set to 60 seconds).

Debug

Used for troubleshooting (the default value is set to false).

Causes

Logon scripts can have a large impact on start time. Some of the most common ways that logon scripts increase logon times are:

Resolutions

To view the logon phase trend on a delivery group in the past days, open the following link:

Delivery group average logon performance

Also, please see the Delivery Group - Logons per Week (Plan & Manage) report to view how the average logon phase time changed for the past weeks.

Some scripts may complete a lot of actions, including calls to other scripts, long loops, mapping network drives, and others.

Optimize and merge logon scripts where possible. Windows Server 2008 introduced Group Policy Preferences, which when used can reduce, or in some cases eliminate, the need for logon scripts. When not using Group Policy Preferences, assign logon scripts to users via GPOs, rather than the AD User Account property setting.

External

Click the following link to get more info about logon process:

XenApp/XenDesktop Connection Process and Communication Flow

Also, please see the following Citrix article on troubleshooting slow XenApp logons:

How to Troubleshoot Slow Logons

You may also want to check out the Citrix logon optimization guide:

Logon Optimization Guide

Element properties:

TargetComTrade.Citrix.XenDesktop.DeliveryGroup
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeComtrade.Citrix.XenDesktop.EndUser.DeliveryGroup.Logons.UnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
User Logon Process - Delivery Group Average Logon Scripts Execution Time
The average user logon scripts execution time for delivery group '{0}' in site '{1}' is {2} s.
RunAsDefault