Pages

Wednesday, May 1, 2013

Launching a Citrix XenApp 6.5 published application hangs at: “Please wait for the Local Session Manager…”

Problem

You’ve received complaints from users that they are unable to successfully launch Citrix XenApp 6.5 published applications because while the Citrix Receiver launches and attempts to connect to the XenApp server, it hangs at the:

Please wait for the Local Session Manager…

clip_image001

… stage for a few minutes and eventually disconnects.  Attempting to directly remote desktop to the server exhibits the same behavior:

image

… but you are able to eventually log into the server.

The users experiencing this problem are already a part of the Remote Desktop Users group and you noticed that this issue goes away if you were to grant the user local administrator permissions.

Solution

One of the first hits I received while Google-ing the issue was a Microsoft KB that supplied a hotfix:

"Please wait for Local Session Manager" message remains for several minutes when you disconnect from a computer that is running Windows Server 2008 or Windows Server 2008 R2 during the logon process

http://support.microsoft.com/kb/2661001

Unfortunately, this applying this hotfix did not correct the issue.  The next search result was the following thread on the Citrix forums:

http://forums.citrix.com/thread.jspa?threadID=291092&start=0&tstart=0

… which showed that users had mixed results with 2 other solutions:

#1 – Delete the usrclass.dat:

Several users has had luck deleting the usrclass.dat hidden file from the directory:

C:\Users\Default\AppData\Local\Microsoft\Windows

… so I went ahead to delete it and restarted the XenApp server but noticed that this did not correct my problem.

#1 – Remove Users permissions to the TSTheme.exe file:

Another solution proposed by a Citrix engineer was to remove the Users permissions to a file named TSTheme.exe that was located in the directory:

C:\Windows\System32\

clip_image001[4]

Note that the file is owned by the TrustedInstaller group so you will need to take ownership over the file in order to remove the permissions:

clip_image001[6]

imageimage

clip_image001[8]

image

clip_image001[10]

clip_image001[12]

Once the Users group was removed, users who were not a part of the local administrators group on the XenApp server no longer had to wait for minutes at the Please wait for the Local Session Manager… stage and we’re now able to launch applications through the Web Interface portal.

No comments: