WMI counters for ActiveSession and InactiveSession values. Works for Citrix too since Citrix uses TS RDP as the basis of its comms layer but also see the APM template for Citrix Metaframe posted here: by Gary Sample (untested).
cheers ... gn
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.