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

SOLVED: Exchange Online Management PowerShell Connect-ExchangeOnline bug "A window handle must be configured. See https://aka.ms/msal-net-wam#parent-window-handles"

System error 86 has occurred. The specified network password is not correct.

The security identifier of the "NT SERVICE\WdiServiceHost" account is "S-1-5-80-3139157870-2983391045-3678747466-658725712-1809340420"