| Previous | Next |
| ERROR_CTX_SERVICE_NAME_COLLISION | ERROR_CTX_NO_OUTBUF |
ERROR_CTX_CLOSE_PENDING
ERROR_CTX_CLOSE_PENDING means Windows is already closing the requested Remote Desktop session. A second close, reset, shadow, or management operation may fail until the existing transition completes.
What to check
- Use the session list to confirm whether the target is active, disconnected, or disappearing.
- Wait for the transition to finish and retry with the current session ID rather than a stale one.
- If a session remains stuck, review TerminalServices and application events before deciding whether an administrator should reset it.
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.