Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
Backs up system audit policy settings, per-user audit policy settings for all users, and all auditing options to a comma-separated value (CSV) text file.
For examples of how this command can be used, see Examples.
Auditpol /backup /file:<filename>
Specifies the name of the file to which the audit policy will be backed up.
Displays help at the command prompt.
For backup operations for the per-user policy and system policy, you must have Write or Full Control permission on that object set in the security descriptor. You can also perform backup operations by possessing the Manage auditing and security log (SeSecurityPrivilege) user right. However, this right allows additional access that is not necessary to perform the list operation.
To back up per-user audit policy settings for all users, system audit policy settings, and all auditing options into a CSV-formatted text file named auditpolicy.csv, type:
Auditpol /backup /file:C\auditpolicy.csv
If no drive is specified, the current directory is used.