If you open Sessions tab in XenApp 6, you’ll probably find sessions in disconnected state for long time; this usually happens if users don’t close their applications and logoff from Citrix:
Two user policies exists to change disconnected session timers, but those policies apply only to XenDesktop:
If you use XenApp, you need to change a windows registry key on all the servers in your Citrix farm:
- key: HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\ICA-TCP
- name: MaxDisconnectionTime
- type: REG_DWORD
- value: timeout in milliseconds, for es. 0x000003E8 (1000 in decimal value i.e. 1 second)
Reference: Citrix KB