Deletes the per-user audit policy for all users, resets (disables) the system audit policy for all subcategories, and sets all the auditing options to disabled.
For examples of how this command can be used, see Examples.
Syntax
Auditpol /clear [/y]
Parameters
Parameter | Description |
---|---|
/? |
Displays help at the command prompt. |
/y |
Suppresses the prompt to confirm if all the audit policy should be cleared. |
Remarks
For clear 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 the clear operation by possessing the Manage auditing and security log (SeSecurityPrivilege) user right. However, this right allows additional access that is not necessary to perform the clear operation.
Examples
To delete the per-user audit policy for all users, reset (disable) the system audit policy for all subcategories, and set all the auditing options to disabled, with a confirmation prompt, type:
Auditpol /clear
To delete the per-user audit policy for all users, reset the system audit policy for all subcategories, and set all the auditing options to disabled, without a confirmation prompt, type:
Auditpol /clear /y
Note | |
The preceding example is useful when using a script to perform this operation. |