Saturday, 13 August 2016

When using AuditPol.exe you see the error "Error 0x00000057 occurred: The parameter is incorrect."

auditpol /get /subcategory:"Audit Credential Validation"
Error 0x00000057 occurred:
The parameter is incorrect.

This issue can occur when you enter the command

auditpol /get /subcategory:name

...And you enter the word "Audit" as part of the name - for example "Audit Account Validation" as is shown in the Group Policy Editor.


The word audit is added as a display name in the gpedit.msc

Instead of
auditpol /get /subcategory:"Audit Credential Validation"

Enter
auditpol /get /subcategory:"Credential Validation"

No comments:

Post a Comment