Event ID 4634: An account was logged off

Written when a logon session ends. The Logon ID matches the 4624 that started it.

Log
Security
Category
Logon

Why it matters

  • Pairing 4624 and 4634 by Logon ID gives the length of a session.
  • Not always written: network sessions can end without one, so a missing 4634 proves little.

What to check

Match the Logon ID to its 4624 to work out session duration and what happened in between.

How to turn it on

Advanced Audit Policy: Logon/Logoff > Audit Logoff (Success).

Logon types

TypeNameMeaning
2InteractiveAt the keyboard or console.
3NetworkOver the network: file shares, many admin tools, PsExec, WMI.
4BatchScheduled tasks.
5ServiceA service started by the Service Control Manager.
7UnlockUnlocking the workstation.
8NetworkCleartextNetwork logon with the password sent in cleartext, such as IIS basic authentication.
9NewCredentialsrunas /netonly: local identity unchanged, other credentials used for network access.
10RemoteInteractiveRemote Desktop.
11CachedInteractiveLogon with cached domain credentials, without contacting a domain controller.
12CachedRemoteInteractiveRemote Desktop using cached credentials.
13CachedUnlockUnlock using cached credentials.