What does HRESULT 0x80090001 (NTE_BAD_UID) mean?

 
Previous Next
BT_E_SPURIOUS_ACTIVATION NTE_BAD_HASH

NTE_BAD_UID

NTE_BAD_UID means that the cryptographic service provider (CSP) rejected the user or provider identifier associated with the requested operation. It usually points to an invalid provider-specific context rather than a damaged encrypted payload.

What to check

  • Trace the exact API call and all provider, container, and user-related arguments that were used to acquire the context.
  • Confirm that the code is not reusing stale provider-specific data after a logon-session, profile, token, or provider change.
  • Retry only after recreating the cryptographic context from validated configuration.

Microsoft: security and setup HRESULT values


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