ERROR_NOT_LOGON_PROCESS - 1362 (0x552)

The requested action is restricted for use by logon processes only. The calling process has not registered as a logon process.

Updated: Feb 21, 2026

Technical Meaning

The ERROR_NOT_LOGON_PROCESS error (1362, 0x552) indicates that a requested action is restricted for use by logon processes only. The calling process has not registered as a logon process.

This error typically occurs when an operation requires specific privileges or security context that are reserved for logon processes. Logon processes are responsible for user authentication and session management in the Windows operating system.

Error Details

The error is returned by various Windows API functions, such as those related to user sessions, token manipulation, and process registration. The exact function that returns this error can vary depending on the context in which it is called.

Usage Context

This error is commonly encountered when attempting to perform operations that require a logon process context. Examples include:

  • Creating or managing user tokens
  • Registering processes as part of the logon session
  • Accessing certain system resources that are restricted to logon processes only

Developer Interpretation

When encountering this error, developers should ensure that their code is running in an appropriate security context and has registered itself as a logon process if necessary. This may involve:

  • Using CreateProcessAsUser or similar functions with the correct token
  • Registering the process using LogonUser or equivalent APIs
  • Ensuring that the calling process has the required privileges to perform the requested action

Related Errors

FAQ

Q: Why does my application receive this error?

A: The operation you are trying to perform requires a logon process context, and your calling process has not registered as such.

Q: How can I resolve this issue?

A: Ensure that your code is running in the correct security context. Use appropriate APIs like LogonUser or CreateProcessAsUser to register your process as a logon process if necessary.

Summary

The ERROR_NOT_LOGON_PROCESS error indicates that an operation requires a specific security context, and the calling process has not been registered as a logon process. Developers should ensure their code is running with the appropriate privileges and context to avoid this error.