Skip to content
WETNav

Status / SubStatusDepends on context

0xc000015b: Logon type not granted

The user has not been granted the requested logon type (for example 'Deny log on through Remote Desktop Services').

Find it

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4625)]] and *[EventData[Data[@Name='Status']='0xc000015b']]" -MaxEvents 100

About Status

Failed logons carry NTSTATUS codes. Read SubStatus when Status is the generic 0xC000006D. The code separates guessing usernames from guessing passwords, which is how you tell enumeration from spraying.

Every Status / SubStatus (NTSTATUS) value →

Questions

What does Status 0xc000015b mean?
Logon type not granted. The user has not been granted the requested logon type (for example 'Deny log on through Remote Desktop Services').
Is Status 0xc000015b a sign of an attack?
It depends on the context around it. Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is Status 0xc000015b recorded?
In the Status field of Windows Security event 4625 (An account failed to log on), Windows Security event 4776 (The domain controller attempted to validate the credentials for an account).
How do I search for Status 0xc000015b?
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.