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.
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.
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). |
Logon scripts can have a large impact on start time. Some of the most common ways that logon scripts increase logon times are:
Slow or resource-intensive startup scripts (for example, those that move large numbers of files).
Inefficient loops in scripts.
Nested calls to different scripts.
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.
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:
Target | ComTrade.Citrix.XenDesktop.DeliveryGroup | ||
Parent Monitor | System.Health.PerformanceState | ||
Category | PerformanceHealth | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Citrix.XenDesktop.EndUser.DeliveryGroup.Logons.UnitMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |