Showing posts with label Citrix session records fix. Show all posts
Showing posts with label Citrix session records fix. Show all posts

Citrix Cannot Retrieve User Session Records: Causes and Fix

Citrix Cannot Retrieve User Session Records: Causes and Fix

Issue:

When exporting user session data from the Citrix site database or searching in Director, some user sessions may not appear.

Cause:

Session history retention depends on Citrix Virtual Apps and Desktops (CVAD) license type:

  • Premium: Up to 1000 days (Citrix recommends 365).

  • Advanced: Up to 31 days.

  • Others: 7 days.

Solution:

On the Delivery Controller (DDC), open PowerShell 
  
asnp Citrix.*
Get-MonitorConfiguration


and check the GroomSessionsRetentionDays parameter.


screenshot of Get-MonitorConfiguration


  • If using Premium, you can set it up to 1000 days to retain a longer session history.

 
asnp Citrix.*
Set-MonitorConfiguration -GroomSessionsRetentionDays 1000

screenshot of set-mnitorconfiguration