Skip to content

0xC000015B: STATUS_LOGON_TYPE_NOT_GRANTED

Windows Error Code Lookup: Decode Windows error codes: Win32, HRESULT (0x80070005), NTSTATUS, Windows Update, msiexec and blue-screen stop codes, with what to check next.

Paste the number from an error dialog, event log, script or setup log: 0x80070005, 80070005, -2147024891, 1603, 0xC0000005, a stop code like 0x7E, a name like E_ACCESSDENIED, or a few words. You get every way Windows could mean that number (an HRESULT often wraps a Win32 error, so 0x80070005 is "Access is denied" too), its parts decoded, and what to check for the common ones. Names and messages come from the Windows SDK headers and Windows' own message tables; see Microsoft's System Error Codes and [MS-ERREF] for the full references.

Try: 0x80070005, 1603, 0xC0000005, 0x800F081F, 0x8024402C, 0x7E, access denied

0xC000015B = 3,221,225,819 = -1073741477

NTSTATUS 0xC000015B

STATUS_LOGON_TYPE_NOT_GRANTED

A user has requested a type of logon (e.g., interactive or network) that has not been granted. An administrator has control over who may logon interactively and through the network.

The account doesn't have the sign-in right for this kind of logon (for example 'Allow log on through Remote Desktop Services'). Shows up as the Status or Sub Status of failed sign-in events (Security log 4625, 4771, 4776).

Becomes the Win32 error: 1385ERROR_LOGON_TYPE_NOT_GRANTED: Logon failure: the user has not been granted the requested logon type at this computer.

Severity (bits 30-31)3: Error
Customer (bit 29)0: Microsoft
Facility0 (0x000)
Code347 (0x015B)