| Previous | Next |
| STATUS_CTX_LICENSE_EXPIRED | STATUS_CTX_WINSTATION_NAME_COLLISION |
STATUS_CTX_WINSTATION_NOT_FOUND
The operation targeted a session that the host cannot find
STATUS_CTX_WINSTATION_NOT_FOUND identifies a missing Remote Desktop Services session. A session ID can disappear after logoff, reconnect to another host, broker redirection, or server restart; a cached ID is not a durable identity for later administration.
This differs from access denied. The server is saying that it has no matching session to authorize or control, so adding permissions cannot make the stale target reappear.
Useful evidence
- Enumerate sessions on the target RD Session Host immediately before the operation and log the host name as well as the session ID.
- Correlate the user, session state, logoff/disconnect events, and any broker redirection decision to determine whether the session ended or moved.
- Make management automation tolerate a missing session as a normal race when logoff, disconnect, or failover may happen concurrently.
References
- Microsoft Open Specifications: NTSTATUS values
- Microsoft: Remote Desktop Sessions
- Microsoft: Remote Desktop Services API functions
Looking for a different code? Search another status or error code.