Skip to content
WETNav

LogonTypeUsually benign

7: Unlock

Workstation unlocked.

Find it

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4624)]] and *[EventData[Data[@Name='LogonType']='7']]" -MaxEvents 100

About LogonType

LogonType says how a session was created. It is the first field to read on any 4624 or 4625, because the same account means very different things over the console, the network or RDP.

Every LogonType value →

Questions

What does LogonType 7 mean?
Unlock. Workstation unlocked.
Is LogonType 7 a sign of an attack?
Usually not. It is normal activity on its own. Check it against the account, host and time before you move on.
Where is LogonType 7 recorded?
In the LogonType field of Windows Security event 4624 (An account was successfully logged on), Windows Security event 4625 (An account failed to log on), Windows Security event 4634 (An account was logged off).
How do I search for LogonType 7?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.