Allow Additional Time for Applications or Desktops to Start.

XenApp Applications or XenDesktop failing to start-

First you should figure out why the application is taking so long to start. There really shouldn’t be any reason why your users have to wait over a minute to launch and start using an application.

Look into the Profile sizes. Try using (WinDir, or TreeSize).

Resource utilization on the XenApp Servers or Profile/File Server.

Check the Event Logs- Application, System for errors or warnings.

If nothing sticks out as a root cause, try using perfmon counters to see where the issue is.

Here’s the registry settings for XenApp Applications failing to start.

Applications hosted on Desktop OS machines with random assignments might fail to open after the loading dialog box disappears. This issue occurs when the time the application takes to start exceeds the default one-minute time-out and the session exits automatically. [#389025]

As Administrator, change the base image and re-provision with a changed timeout value as follows:

Locate the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI (Create the key if it is not available.)

Name: ApplicationLaunchWaitTimeoutMS


Data: Required additional time-out, in milliseconds

Note: Specifying a value of less than 10000 reverts to 10000 because 10 seconds is the minimum override.

Here’s the registry settings for XenDesktop failing to start.

Add additional time by setting this registry entry in your master image

HKLM\SOFTWARE\Citrix\PortICA Add a new DWORD AutoLogonTimeout and set the value to decimal 240 or more if needed.

Share or Save this:

Leave a Reply

Your email address will not be published. Required fields are marked *