Session not closing after applicaiton close - XenApp 6.5

Posted on 2011-09-12
Medium Priority
Last Modified: 2012-05-12
So have have a new XenApp 6.5 test farm and I'm having trouble. After closing a seamless program, the session remains open.

To eliminate some issues (like the splwow64.exe one) I created just a simple cmd.exe published app.

I've checked HKLM\Software\Microsoft\Windows\CurrentVersion\Run   and RunOnce and nothing is there.

Note:  I've applied the fix contained in MS KB2513330 and I've also set the Seamless Flags to: word:00000020. Other than that these are pretty much stock Windows 2008 R2 boxes running XenApp 6.5.

Any ideas?
Question by:Jacob78
LVL 14

Expert Comment

ID: 36523603
did you define anything of the settings regarding closed/disconnected sessions
in xenapp as well as RDS?

Author Comment

ID: 36523674
I have, but the session is not showing up as disconnected.

In XenApp 6.5 I have Disconnected Session Timer enabled and set to disconnect after 120 minutes.

For RDP, I'm using the same GPO that I'm using for my XenApp 5 farm (which is working).
LVL 25

Expert Comment

by:Dirk Kotte
ID: 36544400
there are some proccess running that prevent the session from closing.
go to the server console or logon as differen administrative user ... than kill one task after the other within the not closing session (start with ccscvhst.exe)
use the taskmanager an add the column "session-id" to identify the session related processes.

if you identifyed the causing proccess add them to the "ignored" registry key from the XenApp Server.
you can find the key withing the following article:
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.


Author Comment

ID: 36548980
So ending ccsvchst.exe did cause the session to end

On a hunch, I uninstalled Symantec Endpoint Protection, rebooted and tried again - NO PROBLEMS.

The session closed like it was supposed to. The odd thing is, I have the exact same version (running from the same management server with the same settings) on our XenApp 5 (Windows 2008 x64) and don't have a problem.

Any ideas?

Author Comment

ID: 36569533
Ideas anyone?

Since XA 6.5 is so new I'm finding very little on both the Citrix and Symantec Side.
LVL 37

Accepted Solution

Carl Webster earned 2000 total points
ID: 36569615
I have a customer with issues with SEP on their XA6 servers.  Had to add ccsvchst to the logoffchecksysmodules registry key.

Author Closing Comment

ID: 36569945
Carl...you're the best!

If you're ever in the Southwest Florida area let me know, I owe you a drink or two!

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

627 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