Microsoft

Microsoft Docs

🌓

Advanced Audit Policy Configuration

Advanced Audit Policy provides granular control over what events are logged on a Windows system. It replaces the legacy audit categories with a more detailed set of subcategories.

Why Use Advanced Audit Policy?

Key Concepts

TermDescription
CategoryHigh‑level grouping (e.g., Account Logon)
SubcategorySpecific event type within a category (e.g., Logon)
Success/FailureAudit actions when they succeed, fail, or both

Configuring via Group Policy

  1. Open Group Policy Management (gpmc.msc).
  2. Create or edit a GPO that applies to the target computers.
  3. Navigate to Computer Configuration → Policies → Windows Settings → Security Settings → Advanced Audit Policy Configuration → System Audit Policies.
  4. Expand a category and enable the desired subcategories for Success, Failure, or both.
  5. Run gpupdate /force on target machines.

PowerShell Example

# Enable auditing for user account changes (both success and failure)
Set-AuditPolicy -Category AccountManagement -SubCategory "User Account Management" -Success $true -Failure $true

# Verify configuration
Get-AuditPolicy -Category AccountManagement

Common Subcategories

Best Practices

Related Topics