| Previous | Next |
| STATUS_INVALID_EXCEPTION_HANDLER | STATUS_NOT_ALLOWED_ON_SYSTEM_FILE |
STATUS_DUPLICATE_PRIVILEGES
The token privilege list is malformed by duplication
This status is a structural validation result for privilege data. Windows expects a privilege list to contain each privilege once; duplicates make the requested token adjustment or security operation ambiguous.
It is different from lacking a privilege. The problem is the caller-supplied privilege array or policy data, not the security authority refusing the requested right.
What to inspect
- Inspect the TOKEN_PRIVILEGES buffer or equivalent privilege list before the call.
- Deduplicate privilege LUIDs before adjusting or creating token state.
- Log both the textual privilege names and resolved LUIDs because aliases or repeated conversion can hide duplicates.
References
- Microsoft: Access tokens
- Microsoft: Access rights for access-token objects
- Microsoft Open Specifications: NTSTATUS values
Looking for a different code? Search another status or error code.