Site icon EfmSoft

What does Windows error code 1346 (ERROR_BAD_IMPERSONATION_LEVEL) mean?

 
Previous Next
ERROR_INVALID_GROUP_ATTRIBUTES ERROR_CANT_OPEN_ANONYMOUS

ERROR_BAD_IMPERSONATION_LEVEL

ERROR_BAD_IMPERSONATION_LEVEL (1346, 0x00000542) means that a client token does not provide the level of impersonation required by the operation. The problem is the token's permitted capability, not simply whether a token exists.

Impersonation levels define what a server may do

SecurityIdentification lets a server inspect the client's identity and privileges for access decisions, but it does not allow the server to act as that client. SecurityImpersonation allows local impersonation, while SecurityDelegation can support acting on behalf of the client on remote systems. Anonymous and identification-level tokens cannot be used where true impersonation is required.

Where to look

See Microsoft documentation for impersonation levels and ImpersonateLoggedOnUser.


Looking for a different code? Search another status or error code.

Exit mobile version