| Previous | Next |
| ERROR_INVALID_EXCEPTION_HANDLER | ERROR_NO_RANGES_PROCESSED |
ERROR_DUPLICATE_PRIVILEGES
The privilege list contains duplicates
ERROR_DUPLICATE_PRIVILEGES occurs when a security-token request contains repeated privilege identifiers where each privilege must appear only once. It usually reflects incorrect list construction rather than insufficient permissions.
Checks
- Normalize privilege LUIDs before building the request buffer.
- Remove duplicates introduced by merging configuration sources.
- Verify the element count and buffer size passed to the token API.
- Log privilege names after lookup to expose aliases or repeated entries.
Fix
Deduplicate the privilege set while preserving the intended attributes for each entry, then retry the token operation with a structurally valid list.
References
Looking for a different code? Search another status or error code.