When using Desktop Authority with Citrix Server Published Applications, the User's Terminal Session stays active causing the session to not disconnect upon a graceful Logoff.
This is not an issue which is caused by Desktop Authority. This is an issue when using Citrix and running Published Applications. When publishing an application, only the main executable is specified, however, some applications may spawn additional processes that run in the background and are not closed by the corresponding main executable. Additional processes may also be created from scripts that are executed or from specific registry keys, such as the RunOnceKey:
HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce
Some processes may create a visible window for added functionality, and others may not.
Because the Explorer.exe process is not running when launching an application in one of these ways, there is no default mechanism in either Presentation Server or Windows to exit these background processes when a user has exited the main application.
Presentation Server (and the XenApp environment) has a hard coded list of what are considered ‘System’ type secondary processes that are checked for and exited once all user application processes have terminated, these include: csrss.exe, smss.exe, screg.exe, lsass.exe, spoolss.exe, EventLog.exe, netdde.exe, clipsrv.exe, lmsvcs.exe, MsgSvc.exe, winlogon.exe, NETSTRS.EXE, nddeagnt.exe, os2srv.exe, proquota.exe, wfshell.exe, win.com, conime.exe, imejpmgr.exe, imejp98m.exe, wpabaln.exe, ctfmon.exe, imepadsv.exe, jsvschvw.exe, ssonsvr.exe, nddeagent.exe, ddhelp.exe, ibdbsch.exe, wuauclt.exe, atok1*.exe, iatokik*.exe, iatokqb*.exe, iatqb1*.exe
Note: The process being used by Desktop Authority is slagent.exe
In order to use Citrix published applications with Desktop Authority you will need to make an exception for the slagent.exe as described in the section above. You will need to add the registry value shown below on the affected Citrix servers to set this exception.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI
Value Name: LogoffCheckSysModules
Type: REG_SZ
String: slagent.exe