1. Resources
  2. Detection sources
  3. Event ID 4906

Event ID 4906: The CrashOnAuditFail value has changed

Written when the CrashOnAuditFail option changes, the setting that stops Windows when it cannot write a security audit. Always logged. The event holds the new value only, not the account that changed it.

Log source
Windows Security log
Detection value
Context
Volume
Low
Last updated
Audit subcategory
Audit Audit Policy Change (always logged)
Logged on
All Windows computers
Event versions
0
Detects
Not read by our detection rules yet

When it is written

CrashOnAuditFail is the audit option behind the security policy setting Audit: Shut down system immediately if unable to log security audits, stored as the CrashOnAuditFail value under HKLM\SYSTEM\CurrentControlSet\Control\Lsa. Windows writes 4906 every time this value changes, and Microsoft states that it is logged regardless of the Audit Policy Change setting. The event has a single field, the new value (New Value of CrashOnAuditFail). It has no subject fields: it does not say which account or process made the change.

With the option on (1), Windows stops with the message STOP C0000244 {Audit Failed} when it cannot record a security event, typically because the Security log is full and its retention method does not allow overwriting. Value 2 means the option was triggered: the system halted for that reason, and only members of the Administrators group can log on until an administrator clears the log and resets the option.

How to turn it on

Nothing to turn on: Windows writes this event whatever the audit policy, and it cannot be switched off. Microsoft

Fields

In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.

FieldWhat it holdsSince
New Value of CrashOnAuditFailCrashOnAuditFailValueNew value of the option (shown as New Value of CrashOnAuditFail). 0 off, 1 on, 2 on and triggered (the system halted because it could not write an audit, and only administrators can log on).v0

Values to know

New Value of CrashOnAuditFail CrashOnAuditFailValue

ValueMeaningSignal
0Off. Windows keeps running even when it cannot record security eventsThe default. Where your baseline requires the option, a change to 0 removes the guarantee that every audited action is recorded.Worth knowing
1On. Windows halts when it cannot record a security eventMicrosoft warns that together with Do not overwrite events for the Security log, a flood of security events can then force a server to shut down.Worth knowing
2Triggered. The system halted because it could not record an auditable eventOnly administrators can log on until the log is cleared and the option reset. Microsoft lists event 4621 for the recovery.Failure

Volume and noise

Very rare: the option is off by default on every role (Microsoft's effective default is Disabled for domain controllers, member servers and clients), and a change typically comes from the security options of a Group Policy object or from auditpol /set /option:CrashOnAuditFail. Microsoft says every change of the value must be monitored with an alert, and investigated if it was not planned. It gives the event a potential criticality of Medium in its list of Active Directory events to monitor.

Keeping it manageable

  • Alert on every 4906 from domain controllers and Tier 0 servers; there is no volume to reduce.
  • Because the event names no one, look at what else happened on the computer at the same moment: a Group Policy refresh (4719 events from the same refresh), the logon sessions that were active (4624) and processes started then (4688).
  • Check the current setting with auditpol /get /option:CrashOnAuditFail and compare it with the value your baseline expects.
  • If you turn the option on, watch the size and retention of the Security log: event 1104 says the log is full, the condition that halts the computer.

Sample event

Version 0, with made-up values.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
    <EventID>4906</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>13568</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>Security</Channel>
    <Computer>DC01.corp.example.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="CrashOnAuditFailValue">1</Data>
  </EventData>
</Event>

Attacks this event reveals

No detection rule or detection logic in our library reads this event yet. It is documented here because it sits next to the events they read: it explains them, follows from them or is the trace a defender looks for around them (see Related events).

Frequently asked questions

What is CrashOnAuditFail?

The option behind the security policy setting "Audit: Shut down system immediately if unable to log security audits". When it is on, Windows stops with STOP C0000244 if a security event cannot be recorded, so that no audited action happens without a record. It is off by default.

Who changed CrashOnAuditFail?

Event 4906 does not say, since it carries only the new value. Look at the Group Policy objects that apply to the computer, at changes made in the same Group Policy refresh, and at the logon sessions and processes active on the computer at that moment.

What does a CrashOnAuditFail value of 2 mean?

The option was on and was triggered. The computer halted because it could not record an auditable event, usually because the Security log was full, and only members of the Administrators group can log on until an administrator archives or clears the log and resets the option.

Can turning off Audit Policy Change hide event 4906?

No. Microsoft states that 4906 is logged regardless of the Audit Policy Change setting.

References