User Logoff Event
Event ID for User Logoff:
Event ID: 4634
Log Name: Security
Source: Microsoft Windows security auditing
Message: An account was logged off.
Additional Useful Event IDs:
Event ID
Description
Log Location
4624
Successful logon
Security
4647
User initiated logoff (explicit)
Security
4634
Logoff (session ended)
Security
4779
Session disconnect (Remote)
Security
1074
Shutdown/restart initiated by user or process
System
Use 4647 if you want to track logoffs that were explicitly initiated by the user (e.g., clicking “Log Off”), and 4634 for any type of session termination (timeout, RDP close, etc.).
How to View:
Open Event Viewer (
eventvwr.msc
)Go to Windows Logs > Security
Use Filter Current Log… on the right
Filter by Event IDs:
4634, 4647, 4779
REFERENCES
Last updated
Was this helpful?