Skip to content

Event ID 4634: An account was logged off

Windows Event ID Lookup: What Windows event IDs mean: 4625, 4624, 4740, 6008, 41, 7045, 1102 and 3,000 more, with Windows' own message text, the fields and what to check.

Look up a Windows event ID from Event Viewer, a SIEM alert or a log export: what it means, the fields it records, and what to check. Many IDs are used by more than one source (event 41 is both a Kernel-Power crash and a boot error), so every definition is shown, the one people usually mean first. The message text is Windows' own, read from the event providers of Windows 10.0.26200.0, 2026-10-28; the notes are ours, based on Microsoft's security auditing reference.

Try: 4625, 4624, 4740, 6008, 41, 1074, 7045, 1102, 4104, 1149

An account was logged off.

Event 4634
Security-Auditing
Security log
Audit Success

A logon session ended. Network logons (type 3) end within seconds, so these come in large numbers and are rarely interesting on their own.

What to check: Match the Logon ID with the 4624 that started the session to see how long it lasted.

Logon types

2InteractiveAt the keyboard (or a KVM / console session).
3NetworkAccess over the network: file shares, IIS with Windows authentication, most remote management.
4BatchA scheduled task or batch job.
5ServiceA service started under this account.
7UnlockThe workstation was unlocked.
8NetworkCleartextNetwork logon with the password sent in clear text (IIS basic authentication, some scripts). Worth eliminating.
9NewCredentialsrunas /netonly: the local identity stays, other credentials are used for network access.
10RemoteInteractiveRemote Desktop (Terminal Services) logon.
11CachedInteractiveLogon with cached domain credentials, without reaching a domain controller (laptops off the network).
12CachedRemoteInteractiveRemote Desktop logon with cached credentials.
13CachedUnlockUnlock with cached credentials.

Related: 4624, 4647

Message and fields (as Event Viewer shows them)
An account was logged off.

Subject:
	Security ID:		…
	Account Name:		…
	Account Domain:		…
	Logon ID:		…

Logon Type:			…

This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer.