What does NTSTATUS 0xC00001AE (STATUS_ERROR_PROCESS_NOT_IN_JOB) mean?

 
Previous Next
STATUS_FATAL_MEMORY_EXHAUSTION STATUS_CPU_SET_INVALID

STATUS_ERROR_PROCESS_NOT_IN_JOB

The requested job operation requires a process that belongs to the job

Unlike a pure membership query, this error is returned when a job-related operation requires the process to be associated with the relevant job and that precondition is false. The process may be in no job or may belong to a different job hierarchy.

Capture the job object and process used by the failing operation, then query membership before retrying. Assignment has its own access and lifecycle rules, and once a process is associated with a job the relationship cannot simply be detached. Breakaway policy and nested jobs can also explain why a child process is outside the job a controller expected.

What to inspect

  • Query membership for the exact job and process before the state-changing call.
  • Inspect breakaway flags and nested job hierarchy for child processes.
  • Do not assume that membership in any job satisfies an operation on this specific job.

References


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