CyberKit

Event IDs

Security event 4634

An account was logged off

Channel: Security. Category: Logon/Logoff (Audit Logoff).

What it records

Records that a logon session was terminated and no longer exists. Logged on the computer where the session existed, and includes the account and the Logon Type of the session that ended.

Why it matters

Marks the end of a logon session, letting analysts bound the time window of activity attributable to a given Logon ID. Correlates with the matching 4624 (and, for a user-initiated logoff, with 4647) via the Logon ID (unique only between reboots on the same computer).

What triggers it

Normal session teardown: reboot, network session timeout, RDP disconnect, or any other end of a logon session. Unlike 4647, it fires even when the session simply ends rather than being explicitly logged off by the user.

Fields that carry the answer

Key fields
FieldWhat it tells you
Account Name (Subject)The account whose session ended.
Logon TypeType of the session that terminated: same code table as 4624, confirms what kind of session (RDP, network, etc.) closed.
Logon IDCorrelates this logoff back to the matching 4624 (and any 4647) to bound the session's active time window.

In practice

Logged when a session ends, e.g. CORP\jsmith's Logon Type 3 (Network) session to a file server is torn down. Matching its Logon ID back to the originating 4624 lets an analyst compute session duration, though the event alone doesn't indicate whether the user or the system initiated the teardown.

Sample record

An account was logged off.

Subject:
	Security ID:		S-1-5-21-3623811015-3361044348-30300820-1104
	Account Name:		jsmith
	Account Domain:		CORP
	Logon ID:		0x3E7F2A1

Logon Type:			3

Sources

Paste a record into Event XML or open a log in EVTX Reader.