Logon Duration is not logged in Citrix Director if "Do not process the legacy run list" group policy is enabled
Ensure that "Do not process the legacy run list" is not enabled.
Using Local Group Policy Editor: Navigate to "Computer Configuration" > "Windows Settings" > "Security Settings" > "Logon scripts" and find the "Do not process the legacy run list" policy
Reg Location: https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsLogon::DisableExplorerRunLegacy_1
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Microsoft\Windows\CurrentVersion\Policies\Explorer |
Value Name | DisableCurrentUserRun |
Value Type | REG_DWORD |
Enabled Value | 1 |
Disabled Value | 0 |
Do not process the legacy run list group policy setting, when enabled, prevents the system from executing applications listed in the old "Run" registry key during user logon and hence, the VDA does not execute the legacy run list of applications and scripts that are typically processed during user logon.
The "Do not process the legacy run list" policy, when enabled, can lead to issues with logon duration data not being recorded in Citrix Director. This is primarily because this policy affects how the Virtual Delivery Agent (VDA) processes logon scripts and applications during the user logon process.
Reference link: https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/2402-ltsr/director/troubleshoot-deployments/user-issues/user-logon.html#prerequisites