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

Event ID 4902: The Per-user audit policy table was created

Written at startup on a computer that has a per-user audit policy, with the number of accounts that have one. It shows that per-user include or exclude settings exist, which matters most where you never set any.

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

When it is written

Windows writes 4902 during startup when a per-user audit policy is defined on the computer. A per-user policy adds auditing of a subcategory for one account (include) or suppresses it (exclude), independently of the system audit policy. Number of Elements (PuaCount) is the number of distinct accounts that have such a policy; the event does not name them.

Unlike 4912, which records each change of a per-user policy and is always logged, 4902 is one of the four events of Audit Policy Change that Windows writes only when that subcategory is on for Success. It is a startup snapshot: 4912 tells you when a per-user setting changed, 4902 tells you after each restart that such settings exist.

How to turn it on

Advanced audit policy subcategory Audit Audit Policy Change, Success. Set it in a Group Policy object linked to the computers that write the event:

Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Policy Change > Audit Audit Policy Change
Microsoft's recommendation per computer role
ComputerAuditNote
Domain controllersSuccessMicrosoft's general and stronger baselines both recommend Success auditing, because almost every event of the subcategory matters for security. The subcategory has no failure events. Only 4902, 4904, 4905 and 4907 depend on this setting; Windows writes the others in any case.
Member serversSuccessMicrosoft's general and stronger baselines both recommend Success auditing, because almost every event of the subcategory matters for security. The subcategory has no failure events. Only 4902, 4904, 4905 and 4907 depend on this setting; Windows writes the others in any case.
WorkstationsSuccessMicrosoft's general and stronger baselines both recommend Success auditing, because almost every event of the subcategory matters for security. The subcategory has no failure events. Only 4902, 4904, 4905 and 4907 depend on this setting; Windows writes the others in any case.
Check the current setting
auditpol /get /subcategory:"Audit Policy Change"
Based on vendor documentation.
Turn it on (local policy; a domain GPO overrides it)
auditpol /set /subcategory:"Audit Policy Change" /success:enable
Based on vendor documentation.
The same on a Windows in another display language
auditpol /get /subcategory:"{0CCE922F-69AE-11D9-BED3-505054503030}"
Based on vendor documentation.

Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference

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
Number of ElementsPuaCountNumber of distinct accounts for which a per-user audit policy is defined (shown as Number of Elements). auditpol /list /user lists those accounts.v0
Policy IDPuaPolicyIdHexadecimal identifier of the per-user audit policy (shown as Policy ID). Microsoft documents no other meaning for it.v0

Values to know

Number of Elements PuaCount

ValueMeaningSignal
The number of accounts you recordedPer-user policy as plannedExpected
Any value on a computer where you use no per-user policySome account has an include or exclude settingMicrosoft recommends monitoring this case. An exclusion suppresses that account's events of a subcategory, except for members of the local Administrators group.Attack signal
Higher than the number you recordedA per-user entry you did not planList the accounts with auditpol /list /user /v and look for the 4912 that added it.Attack signal

Policy ID PuaPolicyId

ValueMeaningSignal
Any valueIdentifier of the per-user policyMicrosoft describes it only as a unique hexadecimal identifier. It does not name an account.Worth knowing

Volume and noise

At most one event per startup, and only on computers that have a per-user policy. Microsoft calls it typically informational, with little to no security relevance, but recommends monitoring it on computers where you do not expect per-user policies, and everywhere if you do not use them. It gives the event a potential criticality of Low in its list of Active Directory events to monitor.

Keeping it manageable

  • Collect 4902 from domain controllers and Tier 0 servers. It costs one event per restart.
  • If you do not use per-user audit policy, look at every 4902: run auditpol /list /user /v on that computer to list the accounts that have one, then auditpol /get /user for their settings.
  • If you use it, compare PuaCount with the number of accounts you have recorded. A higher count means a per-user entry nobody recorded; find its 4912 in your collector.
  • Turn on Audit Policy Change for Success, as Microsoft recommends on every role: without it 4902 is not written, while 4912 still is.

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>4902</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="PuaCount">1</Data>
    <Data Name="PuaPolicyId">0x6a2f</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 does event 4902 tell me?

That at startup the computer had a per-user audit policy for one or more accounts, and how many accounts. It does not say which accounts or what their settings are.

How do I see which accounts have a per-user audit policy?

Run auditpol /list /user /v on the computer, which lists every account with a per-user policy and its SID, then auditpol /get /user with the account and /category:* to see its include and exclude settings.

Why is there no 4902 even though a per-user policy exists?

Windows writes 4902 only during startup, and only when Audit Policy Change is on for Success. Changes made since the last restart appear as 4912, which is always logged.

References