Windows Audit Policy: Ten Settings to Start With
Use gpedit.msc to prepare useful Windows Security logs, understand policy precedence, and verify ten practical audit settings.
DFIRoscope can work with the evidence Windows records. Before investigating a lab machine, make sure its audit policy produces useful Security events. Enabling auditing today cannot recover yesterday's missing activity.
Local policy and the defaults
gpedit.msc opens the Local Group Policy Editor, an MMC snap-in for configuring this computer's policies. Run it with administrative privileges. It is available on Windows Pro, Enterprise, Education, and Windows Server; Windows Home does not include the editor.
Windows does not start with an empty log, but its default auditing leaves important investigation gaps. Some events are already recorded; coverage depends on Windows version, machine role, and applied policies. Not Configured does not mean nothing is logged. It means this local policy does not explicitly set that option. See Microsoft's audit defaults and recommendations.
Local policy is convenient for a standalone lab. On an Active Directory domain member, administrators also distribute Group Policy Objects (GPOs) centrally. Applicable domain GPOs can override conflicting local settings and reapply them during refresh. Editing gpedit.msc changes the local GPO, not the domain's policy. Microsoft explains policy precedence.
Configure ten audit settings
Open Computer Configuration > Windows Settings > Security Settings > Advanced Audit Policy Configuration > System Audit Policies - Local Group Policy Object. Work through the categories below, open each named setting, select Configure the following audit events, and enable the indicated outcomes.

The screenshot shows Account Logon. Not Configured describes this local GPO; use the other categories for most settings below.
These ten subcategories are a practical starting selection for a lab workstation or member server, not a complete security baseline:
- Logon/Logoff > Audit Logon — Success and Failure. Record successful and failed sign-ins, including network logons. Start with events 4624 and 4625.
- Logon/Logoff > Audit Logoff — Success. Record session endings. Event 4634 helps correlate a session with its logon; an abrupt shutdown can leave an incomplete trail.
- Logon/Logoff > Audit Special Logon — Success. Event 4672 identifies new sessions assigned sensitive privileges. SYSTEM sessions generate it routinely; it is not an attack verdict.
- Account Management > Audit User Account Management — Success and Failure. Track account creation, changes, and password operations. Examples include 4720 and 4724.
- Account Management > Audit Security Group Management — Success. Track group changes, especially additions to local Administrators (4732).
- Policy Change > Audit Audit Policy Change — Success and Failure. Watch changes to auditing, including 4719. This helps explain a sudden loss of visibility.
- System > Audit Security System Extension — Success. Capture service installation (4697) and security-extension activity.
- Object Access > Audit Other Object Access Events — Success and Failure. Capture scheduled-task creation and changes, including 4698 and 4702.
- Detailed Tracking > Audit Process Creation — Success. Record new processes with event 4688. This records process creation; including command-line arguments requires a separate setting. Process auditing reference.
- Account Logon > Audit Credential Validation — Success and Failure. Record NTLM credential-validation attempts, especially 4776, including failures. The authoritative computer records the event: the local computer for local accounts, or a domain controller for domain accounts. This does not cover every authentication protocol. Credential validation reference.
Failure is not meaningful for every subcategory. See Microsoft's advanced audit reference for details. Domain controllers need additional authentication and directory auditing; configuring a member PC does not make it record domain-wide account activity.
Verify the result
Under Security Settings > Local Policies > Security Options, keep Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings enabled. Use advanced subcategories consistently rather than mixing them with the older Local Policies > Audit Policy settings. Override-setting reference.
Check the effective configuration from an elevated terminal:
auditpol /get /category:*
Generate a benign lab event, such as signing in with a test account, then check Event Viewer > Windows Logs > Security for a new 4624.

Event 4624 in the Security log. This example shows a SYSTEM service logon (type 5), rather than an interactive sign-in. The hostname is redacted in both fields.
View the redacted Event Viewer screenshot at full size.
Size the Security log and review retention settings to avoid overwriting useful events too quickly. Avoid enabling everything: broad auditing creates noise, and file/registry auditing also needs matching auditing entries (SACLs).
Command-line capture, PowerShell logging, and authentication versus authorization will be covered in follow-up articles.





