What does HRESULT 0x887A0028 (DXGI_ERROR_SESSION_DISCONNECTED) mean?

 
Previous Next
DXGI_ERROR_WAIT_TIMEOUT DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE

DXGI_ERROR_SESSION_DISCONNECTED

DXGI_ERROR_SESSION_DISCONNECTED means that the Remote Desktop Services session is currently disconnected. Desktop duplication cannot be created or continued for that disconnected session until the session state changes.

What to do

  • Stop or pause capture work cleanly and release resources that are tied to the disconnected output.
  • Wait for a session reconnect or an explicit application policy decision before attempting to create duplication interfaces again.
  • Log the session transition separately from graphics-device failures so operators do not diagnose a normal remote-session change as a GPU crash.

Avoid tight recreation loops

Recreating the same duplication interface while the session remains disconnected cannot restore capture. Use a session-state notification or controlled retry interval instead.

Microsoft: IDXGIOutput1::DuplicateOutput · Microsoft: DXGI error codes


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