What does Windows error code 7022 (ERROR_CTX_WINSTATION_NOT_FOUND) mean?

 
Previous Next
ERROR_CTX_TD_ERROR ERROR_CTX_WINSTATION_ALREADY_EXISTS

ERROR_CTX_WINSTATION_NOT_FOUND

ERROR_CTX_WINSTATION_NOT_FOUND means the requested session no longer exists on the target server. It is common when an administrator acts on a session ID that was disconnected, logged off, or replaced by a new sign-in.

What to check

  • Refresh the session list immediately before issuing a management command.
  • Use the session ID returned by the target server rather than an ID from a different Session Host.
  • If the user has reconnected, confirm that the new session is the intended target before any administrative action.
qwinsta /server:rd-session-host

Microsoft: Remote Desktop Services system error codes

Microsoft: qwinsta / query session

Microsoft: Remote Desktop Services command reference


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