What does NTSTATUS 0xC00A0027 (STATUS_CTX_CONSOLE_DISCONNECT) mean?

 
Previous Next
STATUS_CTX_CLIENT_QUERY_TIMEOUT STATUS_CTX_CONSOLE_CONNECT

STATUS_CTX_CONSOLE_DISCONNECT

A session-disconnect operation targeted the physical console

STATUS_CTX_CONSOLE_DISCONNECT is a guard against applying a Terminal Services disconnect operation to the physical console session. It is not the same as the user choosing to close an RDP client window, and it does not describe a loss of network connectivity.

Microsoft distinguishes the console session from ordinary Remote Desktop sessions: the console session is attached to the physical console and is not deleted in the same way when a remote client signs out. Tools must identify the target session before applying a disconnect workflow.

Useful evidence

  • Resolve the target session ID and compare it with the current physical-console session ID before invoking a disconnect operation.
  • For an RDP user session, distinguish disconnect from logoff because the session can remain active on the RD Session Host after disconnect.
  • For a physical console scenario, choose an operation supported by the local-console lifecycle rather than retrying the forbidden disconnect call.

References


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