What does NTSTATUS 0xC0000203 (STATUS_USER_SESSION_DELETED) mean?

 
Previous Next
STATUS_NO_USER_SESSION_KEY STATUS_RESOURCE_LANG_NOT_FOUND

STATUS_USER_SESSION_DELETED

The user session disappeared during the operation

This status means the session lifetime changed under the caller. A handle, transport request, or subsystem operation referred to a session that has since been deleted, typically because the user logged off or the session was reset.

For Remote Desktop workloads, treat it as a race with session teardown. Retrying blindly against stale handles can produce misleading follow-on errors; rediscover the session and reopen per-session resources.

What to inspect

  • Correlate the timestamp with logoff, reset, disconnect and reconnect events.
  • Close per-session handles and recreate them after rediscovering the user session.
  • Check broker, gateway and session-host logs when the deletion was unexpected.

References


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