CyberKit

Event IDs

Security event 4647

User initiated logoff

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

What it records

Generated when a logoff is initiated by the account itself (via the logoff function), as opposed to the session simply ending. Typically appears alongside 4634 for the same Logon ID.

Why it matters

Distinguishes a deliberate, user-driven logoff from a session that merely terminated, useful when reconstructing whether a user actively ended a session versus it being closed by some other means.

What triggers it

Standard interactive or RemoteInteractive (RDP) logoff via the normal sign-out flow; most typical for Interactive and RemoteInteractive logon types.

Fields that carry the answer

Key fields
FieldWhat it tells you
Account NameThe account that explicitly requested the logoff.
Logon IDCorrelates to the matching 4624/4634 for the same session, which distinguishes a deliberate sign-out from a session that merely ended.

In practice

Logged when CORP\jsmith explicitly signs out of an interactive session (Start menu > Sign out) rather than the session simply ending; it appears immediately before the matching 4634 for the same Logon ID. A 4634 with no preceding 4647 suggests the session ended some other way, such as a crash or forced disconnect.

Sample record

User initiated logoff.

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

Sources

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