What does NTSTATUS 0xC00A0006 (STATUS_CTX_CLOSE_PENDING) mean?

 
Previous Next
STATUS_CTX_PD_NOT_FOUND STATUS_CTX_NO_OUTBUF

STATUS_CTX_CLOSE_PENDING

The connection is in a transitional close state

STATUS_CTX_CLOSE_PENDING means that a Terminal Services connection already has a close operation in progress. It is a lifecycle result, not proof that the session was logged off and not an invitation to reuse the connection immediately.

Disconnecting a Remote Desktop session can leave the user session on the RD Session Host. A client, service, or administration tool therefore needs to distinguish transport teardown from the later session state reported by the server.

Useful evidence

  • Record the operation that initiated the close, the session ID, and whether the requested outcome was disconnect, logoff, or listener shutdown.
  • Observe the resulting session-state change before opening another channel or issuing an operation that assumes the old connection is still usable.
  • For software that manages sessions, use session-change notifications or a fresh server query rather than a fixed delay followed by reuse of cached state.

References


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