User Logon Process - Logon script (Phase 4) Duration (Alert)

Comtrade.Citrix.XenApp.Rule.XenAppLogonsPhase4 (Rule)

Monitors the duration of the loading user scripts phase of the user logon process.

Knowledge Base article:

Summary

Helps to identify a user whose logon process – phase 4 (logon script execution phase) was very slow.

The phase is measured by how long the USRLOGON.CMD script (located in %SystemRoot%\system32) is being executed. The script’s original function is to address issues with legacy applications that were not written with a multi-user environment, such as Terminal Server. It uses application compatibility scripts (located in %SystemRoot%\Application Compatibility Scripts) in conjunction with the %ROOTDRIVE% variable to address these issues. USRLOGON.CMD script is also used as a starting point for custom profile frameworks (i.e. not supported by Microsoft), such as Flex or Jumping profiles.

Configuration

Overridable parameters:

Causes

Reasons for a slow logon phase can be:

Element properties:

TargetComtrade.Citrix.XenApp.XenApp
CategoryAlert
EnabledFalse
Alert GenerateTrue
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Comtrade.Citrix.XenApp.DS.XenApp.LogonsAlertProvider.Duration Default
Alert WriteAction System.Health.GenerateAlert Default