| Previous | Next |
| MF_E_USERMODE_UNTRUSTED | MF_E_INSUFFICIENT_BUFFER |
MF_E_PEAUTH_SESSION_NOT_STARTED
MF_E_PEAUTH_SESSION_NOT_STARTED is an ordering error in protected-environment authentication. The trust handshake is stateful; a later PEAuth operation cannot be used before the communication session that carries authentication has been established.
Trace the PEAuth state machine, not the media clock
- Log the protection operation sequence from protected-session creation through the first authentication call.
- Record session identifiers or object identities so calls from a stale PEAuth object are not mixed with a newly created PMP session.
- After a process or protected-session restart, discard cached protection interfaces and reacquire them from the new protected path.
This differs from MF_E_PEAUTH_NOT_STARTED, which refers to the PEAuth service not being started, and from MF_E_NON_PE_PROCESS, where the caller is outside the required protected process. Keeping these codes separate quickly shows whether the problem is service availability, process context, or per-session call ordering.
Microsoft: protected-environment authentication handshake · Microsoft: protected environment access object · Microsoft: PMP Media Session lifecycle
Looking for a different code? Search another status or error code.