What does NTSTATUS 0xC0000506 (STATUS_NOT_GUI_PROCESS) mean?

 
Previous Next
STATUS_INVALID_CAP STATUS_DEVICE_HUNG

STATUS_NOT_GUI_PROCESS

The target process has no required GUI context

STATUS_NOT_GUI_PROCESS identifies a specific Windows status in the job, task, callback, or isolation path. The requested operation depends on a GUI process, window station, desktop, or user subsystem state that the selected process does not possess.

Confirm target session, subsystem and desktop association. Do not infer GUI capability merely from an interactive user token.

What to preserve before changing the system

  • The exact API, caller, target object, original NTSTATUS value, and any nested error or activity ID.
  • the relevant process token, package/job/enclave identity, lifecycle state, and policy or mitigation settings.
  • operational event logs and a timeline showing the first transition into the failing state.

References


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