Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Event 4719: the system audit policy was changed

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

A Windows computer only records what its audit policy says to record. Event 4719 is the entry that records a change to that policy itself. Because the policy decides which sign-ins, file accesses and account changes appear in the Security log, a change to it is worth knowing about: it may be a planned improvement, a side effect of a policy applying, or someone reducing what the log can show. What follows explains the event's fields, which parts of the entry answer what changed and who did it, and how to read the current policy with Microsoft's command without altering it. It does not tell you to change anything.

What the error means

Microsoft's page is titled "4719(S): System audit policy was changed." It describes the event: "This event generates when the computer's audit policy changes." And, importantly: "This event is always logged regardless of the "Audit Policy Change" sub-category setting." In other words, you cannot make the computer stop writing this event by turning that audit setting off.

The page gives the subcategory as Audit Policy Change, a minimum operating system of Windows Server 2008 and Windows Vista, and no required server role.

The fields:

  • Subject, Security ID and Account Name: "SID of account that made a change to local audit policy" and "the name of the account that made a change to local audit policy." This answers who. The page's example has the computer account DC01$ as the subject.
  • Logon ID: "hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID", for example event 4624, "An account was successfully logged on."
  • Category: the page says it is "the name of auditing Category which subcategory was changed". The possible values it lists are Account Logon, Account Management, Detailed Tracking, DS Access, Logon/Logoff, Object Access, Policy Change, Privilege Use and System.
  • Subcategory: "the name of auditing Subcategory which was changed." The page lists the possible values, among them Credential Validation, Kerberos Authentication Service, Kerberos Service Ticket Operations, Account Lockout, Logon, Logoff, File System, File Share, Registry, Process Creation, Policy Change, Security Group Management, User Account Management and many more.
  • Subcategory GUID: "the unique subcategory GUID."
  • Changes: "changes which were made for" the subcategory. The possible values are Success removed, Failure removed, Success added and Failure added, and the page says "It can be also a combination of any of the items above, separated by coma."

So an entry reads like a short sentence: this account changed this subcategory in this category, and success auditing or failure auditing or both was added or removed.

The page's example is an entry on the domain controller DC01 where the subject is the computer account DC01$ with Logon ID 0x3e7, the changed subcategory has the GUID {0CCE9223-69AE-11D9-BED3-505054503030} and the raw data shows AuditPolicyChanges as "%%8448, %%8450". The page does not decode those numbers. Event Viewer shows them as readable words in the General view; that is general experience and not on the page, so if you see only numbers, read the General tab, not the XML.

Likely causes

The page does not list causes. It says only that "any change in local audit policy should be planned." The reasons a business meets this event, as general experience, with the page's silence stated:

  • A planned change by an administrator, for example turning on auditing of logon failures or file shares to support an investigation or a compliance request.
  • A Group Policy applying. A computer whose audit settings come from policy can have them rewritten when the policy changes or reapplies. The page does not say this; Group Policy Not Applying: gpresult, Events and SYSVOL covers how policies reach a computer.
  • Software or a security product setting its own audit settings during install or update. The page does not say this either.
  • A person with enough rights turning auditing off, or down, to reduce what is recorded. This is the case the page's monitoring advice is aimed at.

Which of these applies is read from the Subject fields and from the Changes field. A Success added or Failure added entry is an increase in what is recorded. A Success removed or Failure removed is a decrease, and decreases are the entries to question first.

Prove the cause before changing anything

All of this only reads, with one caution about the commands, which Microsoft's auditpol get page states: to perform get operations on the system policy, "you must have Read permission for that object set in the security descriptor", or the Manage auditing and security log user right, and the page notes that the right "allows additional access that is not necessary".

  1. Open Event Viewer on the computer named in the event, go to Windows Logs > Security and find event 4719. Note the time, the Subject account and Logon ID, the Category and Subcategory and the Changes value. Event Viewer is general practice; the page gives no command for reading the event.
  2. Ask whether the change was planned. The page's monitoring advice is direct: "Monitor for all events of this type, especially on high value assets or computers, because any change in local audit policy should be planned. If this action was not planned, investigate the reason for the change." Ask the administrator or the managed provider whether a change was made at that time.
  3. If the Subject is a computer account, such as DC01$ in the page's example, ask whether a policy or a product applied settings at that time. That reading is ours; the page only shows the example.
  4. Match the Logon ID with the sign-in event on the same computer to see how that account came to be signed in.
  5. Read the policy the computer holds now. This command lists every category with its current settings and changes nothing:
auditpol /get /category:*

The page for auditpol get says the asterisk "may be used to indicate that all audit categories should be queried" and that the command "Retrieves the system policy, per-user policy, auditing options, and audit security descriptor object." The same page documents /r for a comma-separated report format.

  1. To look up what a subcategory GUID in the event stands for, the 4719 page says "To see Subcategory GUIDs you can use this command", and the command it gives only lists:
auditpol /list /subcategory:* /v

Example (illustrative, not a recorded case): on the Monday after a quiet weekend, a file server has a 4719 for the File Share subcategory with Changes "Success removed", by an account the owner recognises as a former contractor's administrator account. The event does not say whether the account was supposed to exist. The next reads are the Logon ID's sign-in event, the current policy from the command above, and a question to whoever manages the server.

Fix

Nothing here tells you to change the audit policy, because Microsoft's page for 4719 does not, and the right setting depends on what the business needs recorded. What to do with the answers:

  • A planned change by the right person: record it. The event is the record that it happened.
  • An unplanned change: the page says to investigate the reason. That is an investigation, not a repair. Establish who held the account, how it was signed in and what else it did, before anything is put back.
  • A change made by a policy or a product: decide at the source, the policy or the product setting, not on the computer, or the next policy refresh will change it again. This is general advice.

Microsoft documents a command that sets audit policy, auditpol set, with parameters such as /category, /subcategory, /success and /failure and an /option form, and its page says the command needs Write or Full Control permission on the policy object or the Manage auditing and security log right. Nothing here instructs you to run it. Changing what a computer records is a security decision. If you decide to restore a policy, treat it as its own change: record the current state with the read-only command above first (the page for auditpol get documents /r for a report format you can keep), and have the reason and the person who approved it written down. Microsoft's auditpol get and auditpol set documentation shows no step that restores a policy from a saved report. As general advice, and not Microsoft's words, the way back is to set each recorded value again with the same parameters, so keep the report.

Confirm the fix

  • Each unexplained 4719 has an answer: a name, a date and a reason.
  • The auditpol read in step 5 shows the settings the business intends, for the subcategories the event named.
  • No new 4719 events appear for the same subcategory and account unless a change was planned.
  • Any change you did make appears as its own 4719 event, with the Subject account you used. That is the page's behaviour: the event is always logged.

What to watch afterwards

  • Every 4719 on high-value computers, such as domain controllers, file servers and servers holding financial data. The page's recommendation is to monitor all of them.
  • Any "removed" value in the Changes field, which reduces what the log records.
  • Changes to the Audit Policy Change subcategory itself, because that is the setting that records other policy changes, although the page says 4719 itself is logged regardless.
  • The size and retention of the Security log, because auditing more events fills it faster. Our guide to event log retention and forwarding covers that.

Risks and limits

These steps have not been run or lab-tested. The event page sits in Microsoft's previous-versions area, shows an example event timestamped 2015 and states a minimum of Windows Server 2008 and Windows Vista, so the layout in your version may differ. The page gives no list of causes and no command to read the event, and does not decode the %% values in its example, so the causes and the Event Viewer steps here are general experience and are marked. The two auditpol commands are read-only and come from the Microsoft pages listed under Sources, but running any command on a production server is your decision; the auditpol get page notes that the Manage auditing and security log right grants more access than reading needs. Nothing written here changes an audit policy.

Sources