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"

Comments

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Enable function lock for F1-F12 on HP ZBook mobile workstations