Hello,
Thank you for posting question on Microsoft Windows Forum.
Based on your issue description of Advanced Audit Policies on Windows Server 2022 where the "Logon/Logoff - Access Rights" subcategory is present on some servers but not on others. The followings are some suggested points to address your queries.
1.Check the OS Build Version:
- The presence of certain audit subcategories can depend on the specific build of Windows. It is worth to compare the build numbers of the servers that have the "Access Rights" subcategory and those that don't.
- "Access Rights" subcategory is build-dependent: This subcategory (0CCE922A-69AE-11D9-BED3-505054503030) was introduced in Windows 10 20H2/Windows Server 2022 Build 20348.502 (August 2022 CU) or later.
- Servers missing this subcategory are likely running older builds.
- Servers showing it have newer builds (post-August 2022 updates).
- Verify OS builds: Run this Powershell command on affected servers: Get-ComputerInfo | Select-Object OsName, OsVersion, OsBuildNumber
2.Check for Missing Updates:
- It is possible that the servers missing the subcategory require a specific update. We should check the update history and ensure that all servers are updated to the same level.
3.Verify Group Policy Application:
- Even though you have set the policy to force subcategory settings, we should ensure that the GPO is applying without errors. We can check the Resultant Set of Policy (RSOP) or the Group Policy event logs on the affected servers.
4.Using auditpol to List Subcategories:
- On a server where the subcategory is missing, try running the following command: auditpol /get /subcategory: /r*
- This will list all subcategories and their settings. Look for the subcategory with the GUID that corresponds to "Access Rights". The GUID for "Access Rights" is 0CCE922A-69AE-11D9-BED3-505054503030. If this GUID is not present, then the OS build does not have it.
5.Check the Audit CSV Files:
- The presence of the audit.csv file in *%systemroot%\system32\grouppolicy\machine\microsoft\windows nt\audit* or *%systemroot%\security\audit* might be a remnant of old policies. You mentioned you have a script that collects these. Compare the content of these files from a working and non-working server.
6.Microsoft Website:
- The link you provided https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-audit does not list the "Access Rights" subcategory. However, in the [Advanced security audit policy settings] https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/advanced-security-audit-policy-settings article, you can find it under "Logon/Logoff" category.
- Please note: the documentation states that the "Access Rights" subcategory was introduced in Windows 10 and Windows Server 2016. So it should be present in Server 2022.
Hope the above information is helpful!