4634
An account was logged off
- Log: Security
- Source: Microsoft-Windows-Security-Auditing
- Logons
- Info
What it means
A logon session ended. Match the Logon ID with 4624 to measure session length.
Why it matters
Mostly useful for investigations: how long was an account connected?
What to do
- Correlate Logon ID with the matching 4624.
- Expect high volume; don’t alert on it alone.
Find it with PowerShell
Get-WinEvent -MaxEvents 20 -FilterHashtable @{
LogName = 'Security'; Id = 4634
} | Select-Object TimeCreated, ProviderName, MessageAdd -ComputerName SERVER to query another machine. Other event sources can reuse the same ID number, so check the ProviderName column.
Source
Seeing a lot of these? We can investigate, or alert you automatically through our monitoring.
Talk to us