| Previous | Next |
| ERROR_CTX_INVALID_WD | ERROR_CTX_SHADOW_DISABLED |
ERROR_CTX_SHADOW_INVALID
ERROR_CTX_SHADOW_INVALID means the selected session cannot be remotely controlled. The target may be disconnected, may have no signed-in user, or may not be a session type that supports shadowing.
What to check
- List sessions on the correct Session Host and verify that the target is active and belongs to the intended user.
- Confirm that the session ID was not reused after a reconnect or sign-out.
- Check shadow policy only after confirming that the target session itself is eligible for remote control.
qwinsta /server:rd-session-host
Microsoft: Remote Desktop Services system error codes
Microsoft: Shadow a Terminal Server session
Microsoft: qwinsta / query session
Looking for a different code? Search another status or error code.