Q: What's the best way to retrieve the audit policy in effect for a Windows machine?

The most reliable tool to retrieve the effective audit policy from a Windows machine is the auditpol.exe command-line tool.

Jan De Clercq

February 29, 2012

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A:You can configure and check the Windows auditing settings by using different management tools. You can use the Group Policy Management Console(gpmc.msc) for dealing with the auditing settings using a domain-based Group Policy Object (GPO). But you can also use the Local Group Policy Editor(gpedit.msc) to manage audit settings using a local security policy. Or you can simply use auditpol.exe to manage auditing settings from the commandline.

The most reliable tool to retrieve the effective audit policy from a Windows machine is the auditpol.exe command-line tool because only this tool readsthe audit policy settings directly from the system registry location that contains the audit policy settings currently in effect on a Windows machine.A Windows box's local security authority (i.e., the lsass.exe process) reads the audit policy from the exact same registry location to effectivelyapply the audit policy to the machine.

To retrieve the complete effective audit policy on a Windows machine using auditpol.exe, enter the following at the command line:

auditpol.exe /get /category:*

Make sure you run the command from an elevated command box; you can use the Run as administrator option from the command prompt shortcut's context menu to elevate your privileges if necessary.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like