IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: What Determines Last Logged In Users?

App Control: What Determines Last Logged In Users?

Environment

  • App Control Console: All Supported Versions
  • App Control Agent: All Supported Versions

Question

How does the Agent determine the list of Last Logged In User(s) shown in the Console > Assets > Computers > Connection History?

Answer

The Agent queries the operating system for this list. This list is managed by the operating system, and in most circumstances the OS will not purge entries until the system is rebooted.

Additional Notes

  • On Windows this data is returned using LsaEnumerateLogonSessions. For each session the WTSConnectState is queried.
    • If the state is WTSActive, the session is reported to the Server.
    • If the state is WTSDisconnected, the user will not be reported.
    • When a user session logs off, Windows does not clear the WTSActive state, so the user will be reported.
    • When a user disconnects, Windows changes the state to WTSDisconnected, so the user will not be reported.

Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎11-24-2023
Views:
127
Contributors