How to resolve slow logon times in Citrix VDA LTSR 1912 and CR 2003

Issue

In Citrix Virtual Apps and Desktops LTSR 1912 installations some users report long logon times to the Citrix Desktop.

Solution

Multiple registry fixes are available which have been reported by users since the VDA 7.9 release. Carl Stalhood has gathered all these logon performance tweaks in his blog. They are listed below for convenience. Not all policies may be applicable to all environments. First check OS compatibility and assess the criticality of each fix based on your environment details. Always use at your own risk and after sufficient testing.

Citrix VDA tweaks for slow logons

Citrix Discussions Xenapp 7.9: Wait for local session manager: “I have a Xenapp 7.9 environment on Windows 2012 R2. When logging in through Citrix I got message “Wait for local session manager” for 20-30 seconds. When logging in to the server with RDS, I do not have to wait for this.” Add the following 2 registry keys to your VDA server – then try connecting to it using ICA to see if the issue still occurs:

Add reg keys in “HKLM\SOFTWARE\Citrix\GroupPolicy
Dword: “CacheGpoExpireInHours” – Value = 5-24 (# of Hours) ***start with value of 5***
Dword: “GpoCacheEnabled” – Value = 1

Restart the machine after adding these registry keys and attempt an ICA connection (at least twice) to see if that helps the Login delay.”

Marvin Neys at XenApp slow logon times, user get black screen for 20 seconds at Citrix Discussions says that deleting HKCU\Software\Microsoft\Windows\CurrentVersion\UFH\SHC at logoff reduces logon times from 40 seconds to 6 seconds.

Remove-Item HKCU:\Software\Microsoft\Windows\CurrentVersion\UFH\SHC

For additional logon delay troubleshooting, see Alexander Ollischer XenApp/XenDesktop – “Please Wait For Local Session Manager” message when logging into RDS. He found some Windows Updates that caused a logon delay.

VDA recalculates WMI filters on every reconnect. CTX212610 Session Reconnect 30 sec Delay – DisableGPCalculation – WMI Filters indicates that recalculation can be disabled by setting HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Reconnect\DisableGPCalculation (DWORD) to 1.

Important Note: this registry value might stop Citrix Policies from being re-evaluated when users reconnect (source = Citrix Discussions). Therefore use this policy at your own risk and after sufficient testing has been performed.

You can find more detailed guidance and step-by-step procedures for analyzing and troubleshooting Citrix Virtual Apps and Desktops organized by category in my Citrix Virtual Apps and Desktops Troubleshooting e-book.

Source

https://www.carlstalhood.com/citrix-virtual-delivery-agent-vda-1912-ltsr/#logondelay

https://www.carlstalhood.com/virtual-delivery-agent-vda-cr/#logondelay

Was this article helpful?

Related Articles