When it is written
Windows writes 4705 each time the computer's local user rights policy changes and a user right is removed from an account, one event per account, with the rights removed in User Right (PrivilegeList). It covers user rights (privileges) only: removing a logon right, such as Log on locally, is event 4718 in Audit Authentication Policy Change. Assigning a right is event 4704, in the same subcategory as this one.
Any Windows computer writes it when Audit Authorization Policy Change is on for Success. Microsoft notes that the event is typically triggered by the SYSTEM account, the subject of its sample event. 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.
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 4705 to a change of the policy that removes a right, 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 removed 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 Account | SID of the account or group the rights were removed from (shown as Account Name under Target Account). The event holds no name; Event Viewer resolves the SID, a log collector may not. | v0 |
User RightPrivilegeListRemoved Right | The rights removed (shown as User Right), one or more privilege names such as SeDebugPrivilege separated by white space. Only privileges; logon rights are in event 4718. | v0 |
Values to know
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 |
User Right PrivilegeList
| Value | Meaning | Signal |
|---|---|---|
SeTcbPrivilege | Act as part of the operating systemMicrosoft's example of a right that should never have been granted. Its removal shows the account held it. | Attack signal |
SeDebugPrivilege, SeBackupPrivilege, SeRestorePrivilege, SeEnableDelegationPrivilege | Powerful rights, among those the 4704 rules look forThe account held the right until this event. Find the 4704 that granted it. | Worth knowing |
SeTimeZonePrivilege | Change the time zoneThe right in Microsoft's sample event, an ordinary policy change. | Noise |
Volume and noise
Rare: it appears when a User Rights Assignment setting loses an entry in Group Policy (every computer in scope logs it when it applies the change), and when setup programs or administrators take a right away from an account. The subcategory is noisier because of event 4703 (a token right was adjusted). Microsoft gives 4705 a potential criticality of Low in its list of Active Directory events to monitor.
Keeping it manageable
- Collect 4705 wherever you collect 4704: they share the subcategory, and a removal is the other half of every temporary grant.
- Report the event whenever the subject is not SYSTEM, as Microsoft recommends.
- Microsoft points out that a right can be removed only after it was granted: a 4705 that removes a right the account should never have had (its example is SeTcbPrivilege) shows that it held it. Look for the 4704 that granted it and for what the account did in between.
- Match 4704 and 4705 for the same
TargetSidand right on the same computer. A grant followed by a removal within a short time means the right was held only briefly.
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>4705</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
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 the difference between event 4705 and event 4718?
Event 4705 records the removal of a user right (a privilege such as Debug programs) and belongs to Audit Authorization Policy Change. Event 4718 records the removal of a logon right (such as Log on locally) and belongs to Audit Authentication Policy Change.
Why read 4705 next to 4704?
A right can be removed only after it was granted. A 4704 followed by a 4705 for the same account and right shows a right that was held for a while and then taken back, and a 4705 for a right that should never have been granted shows that it was held.
Why is the subject of event 4705 SYSTEM?
Microsoft's event page says only that the event is typically triggered by the SYSTEM account. Its description of security settings gives the reason, since the engine that applies security settings to the computer, from Group Policy or from the local policy, runs under the Local System account. Microsoft recommends reporting any other subject and does not describe that case further. Expect a program that changed the local policy directly in an account's session.