xenapp session name = services and session id = 0

Posted on 2013-05-30
Last Modified: 2013-06-11
Hi Experts

We are running xenapp 6.0 and have some sessions we are unable to clear.  The session name is identified as "services" and session id "0".  Rebooting the server clears the session temporarily but as soon as the server comes back up the entry re-appears.  Additionally the client name does represent a know device.

Any ideas?
Question by:forsters
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 23

Expert Comment

by:Ayman Bakr
ID: 39207529
Can you provide a screenshot?

Author Comment

ID: 39207688
Thanks Mutawadi.  Please see attached file
LVL 23

Accepted Solution

Ayman Bakr earned 500 total points
ID: 39209237
This is a disconnected session which seems stuck on the server for some reason which I am not sure what it is. However try the following to get rid of it

1. Open regedit and browse to HKLM\Software\Citrix\Ica\Session
2. Delete the Session ID, 0, which is the one you are referring to in AppCenter
3. Stop Citrix IMA service (you might need to inform the users that they might lose their sessions so give them a few minutes to save their work)
4. From a command prompt issue the command dsmaint recreatelhc
5. Start Citrix IMA service
6. Re-run discovery in AppCenter

Expert Comment

ID: 39212937
I used to have an issue with csrss hanging and not allowing a full disconnect.  I found out it was csrss bu downloading sysinternal's process explorer and running it on the machine with the phantom session.

That should tell you what process is hanging the session... Anti Viruses are a common one and Citrix has documents on what not to scan / how to fix the issue.  

What ended up fixing my issue was the recommended Microsoft patches for XA6.0 and 6.5.  Most of these KBs do not install as part of regular windows updates, so you may not know they even exist.

Here is all the Windows and Citrix patches Citrix recommends installing on a term server:

Author Closing Comment

ID: 39236915
Thanks Mutawadi this solved our issue

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenDesktop 7.6 Citrix Policies Graphics
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question