When it is written
Windows writes 4704 each time the computer's local user rights policy assigns a user right to an account, one event per account, with the rights assigned in User Right (PrivilegeList). Microsoft states that it covers user rights (privileges) only: logon rights, such as Log on locally, are event 4717 in Audit Authentication Policy Change. Removing a right is event 4705.
Any Windows computer writes it when the subcategory is enabled. Microsoft notes that the event is typically triggered by the SYSTEM account. Its description of security settings gives the reason: the security configuration engine, which applies security settings to the computer, from Group Policy or from the local policy, runs under the Local System account. The administrator who edited the Group Policy object is therefore not in the event. Target Account (TargetSid) holds only a SID. Microsoft's policy pages add that a change to an account's user rights takes effect at its next logon.
Changing the policy takes administrator rights on the computer, or permission to edit a Group Policy object that applies to it. Group Policy keeps user rights in template files in SYSVOL, which each computer downloads and applies. Microsoft says security settings are also reapplied every 16 hours whether or not anything changed; its event page ties 4704 to a change of the policy, so expect no event from a refresh that changes nothing. On domain controllers, Microsoft says the same engine carries user rights changes made directly through the LSA into the Default Domain Controllers Policy, so that they are synchronized across domain controllers (its example is an application installed on the domain controller that holds the PDC operations master role). Do not read a right assigned directly on one domain controller as a change of that one only.
How to turn it on
Advanced audit policy subcategory Audit Authorization 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 Authorization Policy Change| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success if needed | Microsoft marks Success auditing as "if needed" in both baselines. It records changes to user rights, resource attributes and Central Access Policy, but Microsoft advises against it where an application or service adjusts token privileges often, because of the volume of event 4703. The subcategory has no failure events. |
| Member servers | Success if needed | Microsoft marks Success auditing as "if needed" in both baselines. It records changes to user rights, resource attributes and Central Access Policy, but Microsoft advises against it where an application or service adjusts token privileges often, because of the volume of event 4703. The subcategory has no failure events. |
| Workstations | Success if needed | Microsoft marks Success auditing as "if needed" in both baselines. It records changes to user rights, resource attributes and Central Access Policy, but Microsoft advises against it where an application or service adjusts token privileges often, because of the volume of event 4703. The subcategory has no failure events. |
auditpol /get /subcategory:"Authorization Policy Change"auditpol /set /subcategory:"Authorization Policy Change" /success:enableauditpol /get /subcategory:"{0CCE9231-69AE-11D9-BED3-505054503030}"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.
| Field | What it holds | Since |
|---|---|---|
Security IDSubjectUserSidSubject | SID of the account that changed the local user rights policy. Usually S-1-5-18 (SYSTEM), the account under which Windows applies security settings. Event Viewer shows it resolved to a name. | v0 |
Account NameSubjectUserNameSubject | Name of that account. With SYSTEM, the computer account (a name ending with $). | v0 |
Account DomainSubjectDomainNameSubject | Domain of that account, usually as a NetBIOS name. | v0 |
Logon IDSubjectLogonIdSubject | Logon ID of the session that made the change, in hexadecimal. 0x3e7 is the SYSTEM session; other values match a logon event (4624). | v0 |
Account NameTargetSidTarget AccountRead by 2 rules | SID of the account or group that received the rights (shown as Account Name under Target Account). The event holds no name; Event Viewer resolves the SID, a log collector may not. | v0 |
User RightPrivilegeListNew RightRead by 2 rules | The rights assigned (shown as User Right), one or more privilege names such as SeDebugPrivilege separated by white space. Only privileges; logon rights are in event 4717. | v0 |
Values to know
User Right PrivilegeList
| Value | Meaning | Signal |
|---|---|---|
SeEnableDelegationPrivilege | Enable computer and user accounts to be trusted for delegationRead by the delegation right rule. Lets the holder mark accounts as trusted for delegation. On domain controllers only Administrators hold it by default. | Attack signal |
SeDebugPrivilege | Debug programsRead by the powerful privilege rule. Access to the memory of any process. Only Administrators hold it by default. | Attack signal |
SeBackupPrivilege | Back up files and directoriesRead by the powerful privilege rule. Read access to every file whatever its permissions. On domain controllers Administrators, Backup Operators and Server Operators hold it by default. | Attack signal |
SeRestorePrivilege | Restore files and directoriesRead by the powerful privilege rule. Write access to every file, and any owner can be set. On domain controllers Administrators, Backup Operators and Server Operators hold it by default. | Attack signal |
SeTakeOwnershipPrivilege | Take ownership of files or other objectsRead by the powerful privilege rule. Only Administrators hold it by default. | Attack signal |
SeLoadDriverPrivilege | Load and unload device driversRead by the powerful privilege rule. Code in kernel mode. On domain controllers Administrators and Print Operators hold it by default. | Attack signal |
SeTcbPrivilege | Act as part of the operating systemRead by the powerful privilege rule. Microsoft describes it as letting a process impersonate any user without authentication. Assigned to no account by default. | Attack signal |
SeCreateTokenPrivilege | Create a token objectRead by the powerful privilege rule. Assigned to no account by default; only Local System has it. | Attack signal |
SeSecurityPrivilege | Manage auditing and security logRead by the powerful privilege rule. Also allows viewing and clearing the Security log. Only Administrators hold it by default. Exchange domain preparation grants it to the Exchange Servers group through the Default Domain Controllers policy. | Attack signal |
SeSyncAgentPrivilege | Synchronize directory service dataRead by the powerful privilege rule. Reads every directory object and property. Microsoft's policy page says domain controllers have it inherently and that no account should be assigned it. | Attack signal |
SeIncreaseWorkingSetPrivilege | Increase a process working setNot read by the rules. Microsoft's sample event assigns it together with SeAuditPrivilege. | Worth knowing |
Account Name TargetSid
| Value | Meaning | Signal |
|---|---|---|
S-1-5-32-544 | BUILTIN\AdministratorsLeft out by both rules. | Expected |
Any other SID | A user, group or service account that received the rightOn a domain controller, compare with the groups your baseline names for the right. | Attack signal |
Security ID SubjectUserSid
| Value | Meaning | Signal |
|---|---|---|
S-1-5-18 | SYSTEM, the computer applied the policyThe typical subject according to Microsoft, and the subject of its sample event. | Expected |
Any other SID | An account other than SYSTEM changed the policyMicrosoft recommends reporting this case and does not describe it further. Expect a program that changed the local policy directly in that account's session. | Attack signal |
Volume and noise
4704 itself is rare: it appears when a User Rights Assignment setting changes in Group Policy (every computer in scope logs it when it applies the change), and when setup programs or administrators grant a right to a service account. Microsoft documents one such grant: Exchange domain preparation changes the Default Domain Controllers policy to give the Exchange Servers group the right Manage auditing and security log, so expect 4704 for that group with SeSecurityPrivilege on the domain controllers of an Exchange organization. The subcategory as a whole is noisier. Microsoft rates it Medium to High because of event 4703 (a user right was adjusted), which applications and services that adjust token privileges write in large numbers. Microsoft gives 4704 a potential criticality of Low in its list of Active Directory events to monitor.
Keeping it manageable
- Collect 4704 from domain controllers and Tier 0 servers. Two rules read
PrivilegeListandTargetSidand leave out grants to BUILTIN\Administrators (S-1-5-32-544): one for the right to enable delegation, one for nine powerful privileges. - If event 4703 floods the log, drop 4703 at collection (no rule in this library reads it) and keep 4704, as Microsoft suggests filtering 4703 in the event management system.
- Apply the rules to the logs of domain controllers, or to other Tier 0 servers on purpose. On ordinary servers, grants to service accounts are routine.
- Report the event whenever the subject is not SYSTEM, whatever the right, as Microsoft recommends.
- Where Exchange is installed, expect the Exchange Servers group as a holder of SeSecurityPrivilege on domain controllers. Exclude that one pair of group SID and right, not the group for every right.
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>4704</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13570</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>DC02.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="SubjectUserSid">S-1-5-18</Data>
<Data Name="SubjectUserName">DC02$</Data>
<Data Name="SubjectDomainName">CORP</Data>
<Data Name="SubjectLogonId">0x3e7</Data>
<Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1121</Data>
<Data Name="PrivilegeList">SeBackupPrivilege SeRestorePrivilege</Data>
</EventData>
</Event>Attacks this event reveals
Detection rules that read this event:
Frequently asked questions
Why does event 4704 not show logon rights such as Log on locally?
Microsoft states that 4704 covers user rights (privileges) only. Logon rights are recorded by event 4717, which belongs to another subcategory, Audit Authentication Policy Change. Enable both to see every assignment.
Which user rights matter on a domain controller?
Debug programs, Back up and Restore files and directories, Take ownership, Load and unload device drivers, Act as part of the operating system, Create a token object, Manage auditing and security log, Synchronize directory service data and Enable computer and user accounts to be trusted for delegation. By Microsoft's descriptions they allow reading or writing any file whatever its permissions, taking ownership of any object, access to the memory of any process, code in kernel mode, impersonating any user, creating tokens, reading every directory object, clearing the Security log and marking accounts as trusted for delegation. Compare every assignment with the default holders in the values to know.
Why is the subcategory of event 4704 so noisy?
Not because of 4704. The same subcategory writes event 4703 each time an application or service adjusts the privileges of a token, and Microsoft names that as the reason for its Medium to High volume. Filter 4703 at collection if you do not use it and keep 4704.
When does a newly assigned right take effect?
Microsoft's user rights policy pages say a change to an account's user rights takes effect the next time the account logs on. A logon of that account (event 4624) after the 4704 is when the right can first be used.
References
- 4704(S): A user right was assigned (Microsoft)
- Audit Authorization Policy Change (Microsoft)
- Back up files and directories, security policy setting (Microsoft)
- Appendix L: Events to Monitor (Microsoft)
- Security policy settings (Microsoft)
- Configure security policy settings (Microsoft)
- What changes in Active Directory when Exchange is installed (Microsoft)
- Enable computer and user accounts to be trusted for delegation, security policy setting (Microsoft)
- Debug programs, security policy setting (Microsoft)
- Restore files and directories, security policy setting (Microsoft)
- Take ownership of files or other objects, security policy setting (Microsoft)
- Load and unload device drivers, security policy setting (Microsoft)
- Act as part of the operating system, security policy setting (Microsoft)
- Create a token object, security policy setting (Microsoft)
- Manage auditing and security log, security policy setting (Microsoft)
- Synchronize directory service data, security policy setting (Microsoft)