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

Windows returns STATUS_NOT_GUI_PROCESS while handling job, task, callback, or isolation state. 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.

Services, console processes, and processes in another session may legitimately lack the GUI state required by the operation. Verify the target process and session before attempting to create or manipulate windowing objects.

References


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