Windows Security Log Event ID 4800

Operating Systems Windows 2008 R2 and 7
Windows 2012 R2 and 8.1
Windows 2016 and 10
Windows Server 2019 and 2022
 • Subcategory
 • Other Logon/Logoff Events
Type Success
Corresponding events
in Windows 2003
and before

4800: The workstation was locked

On this page

When either a user manually locks his workstation or the workstation automatically locks its console after a period of inactivity this event is logged.

To find out when the user returned and unlocked the workstation look for event ID 4801.

If a screen saver is used, there is a relationship between this event and 4802/4803  See event ID 4802 for an explanation of the sequence of events.

Free Security Log Resources by Randy

Description Fields in 4800


The user and logon session involved.

  • Security ID:  The SID of the account.
  • Account Name: The account logon name.
  • Account Domain: The domain or - in the case of local accounts - computer name.
  • Logon ID is a semi-unique (unique between reboots) number that identifies the logon session.  Logon ID allows you to correlate backwards to the logon event (4624) as well as with other events logged during the same logon session.

Supercharger Free Edition

Supercharger's built-in Xpath filters leave the noise behind.



Examples of 4800

The workstation was locked.


   Security ID:  WIN-R9H529RIO4Y\Administrator
   Account Name:  Administrator
   Account Domain:  WIN-R9H529RIO4Y
   Logon ID:  0x1be4b
   Session ID: 1

Top 10 Windows Security Events to Monitor

Free Tool for Windows Event Collection


Additional Resources