| Previous | Next |
| STATUS_MORE_ENTRIES | STATUS_SOME_NOT_MAPPED |
STATUS_NOT_ALL_ASSIGNED
Only part of the requested token adjustment was applicable
This informational status is commonly associated with privilege adjustment. AdjustTokenPrivileges cannot add a privilege that the token does not already contain; it can only enable, disable, or remove existing privileges. The function can report partial application when one or more requested LUIDs are absent.
Check the token's actual privilege list and the operation's previous-state output instead of assuming elevation will create missing privileges. A successful API return with a not-all-assigned condition still requires the caller to inspect the status or last-error contract. Logging only a Boolean return value loses the important difference between full and partial adjustment.
What to inspect
- Record every requested privilege LUID and whether it exists in the token.
- Inspect which entries changed rather than assuming the entire TOKEN_PRIVILEGES array applied.
- Fix the account or token creation policy when a required privilege is absent.
References
Looking for a different code? Search another status or error code.