Streamed App-V Applications, Published with Citrix XenApp, stay ‘Active’ and won’t logoff the ‘user’ session

Hi,

So, those sessions stay active? they won’t logoff when you close the application? let’s investigate..
http://support.citrix.com/article/CTX891671

 A good explanation:
http://rcmtech.wordpress.com/2010/05/20/citrix-sessions-not-logging-off-when-published-applications-closed/

The Fix: A RegKey on the XenApp Server (could be different for x64. Affects ALL versions except XenApp 6.5 and higher)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Citrix\wfshell\TWI\LogoffCheckSysModules   type = (REG_SZ)
In this key put in (the secondary App-V process)  sftdcc.exe

The active session logoff takes a few minutes to complete, be patient.