Logon Scripts Launch Delayed Minutes after Connecting to XenApp
Symptoms or Error
No errors are seen by the user or shown in event logs on the server. The logon script is delayed by up to 5 minutes which has been observed from Windows 8.1 or Windows 2012 machines users. If you manually execute the user script from within the users session it works fine. The same issue can be seen in a Microsoft’s Remote Desktop (RDP) session.
- XenApp 6.x/7.x
- Windows 2008 R2
- Windows 2012 R2
- Windows 8.1 Client Machines
- Windows 2012 Client or Servers
Using GPEDIT.msc, adjust the Microsoft Policy called Configure Logon Script Delay for your Windows 8.1 or Windows 2012 users.
The policy is located here: Computer Configuration > Administrative Templates > System > Group Policy > Configure Logon Script Delay
Note: This is a Microsoft Policy created for Windows 2012 , Windows 8.1 and Windows 8.1 RT. If it is not configured, the default setting is to wait five minutes before running the logon scripts. If a delay is not required for your environment, disable this policy or adjust it with a lower minute value. See Microsoft TechNet Blog - Windows 8.1 Logon Script Delay Policy Setting.
This issue is caused by a policy introduced in Windows 8.1 by Microsoft to provide users a faster logon to their desktops bypassing delays which users may experience due to lengthy logon scripts.
Microsoft TechNet Blog - Windows 8.1 Logon Script Delay Policy Setting
Microsoft Forums - Logon script delayed by 5 minutes (300 seconds)
Posted in Citrix Article
Want to learn more on Citrix Automations and solutions???
Subscribe to get our latest content by email.