What does HRESULT 0x00042800 (VDS_S_ISCSI_SESSION_NOT_FOUND_PERSISTENT_LOGIN_REMOVED) mean?

 
Previous Next
VDS_S_PROPERTIES_INCOMPLETE VDS_S_ISCSI_PERSISTENT_LOGIN_MAY_NOT_BE_REMOVED

VDS_S_ISCSI_SESSION_NOT_FOUND_PERSISTENT_LOGIN_REMOVED

This VDS success status describes a split result: runtime session lookup and persistent-login cleanup did not have the same outcome. iSCSI login state is not identical to saved startup policy. VDS distinguishes manual, persistent, and boot login types, so a target can have remembered login configuration even when there is no live session at the time of the request.

Why this state matters

The practical consequence is that session enumeration may show nothing while the requested cleanup still changed future behavior. A persistent login controls reconnection at later service or system startup; removing it can therefore be meaningful even though there was no connection to tear down. Do not convert this warning into a generic logout failure.

Diagnostic focus

  • Confirm the target VDS object ID and iSCSI name used by the cleanup request; do not match only on a friendly alias.
  • Re-enumerate current iSCSI sessions separately from persistent-login configuration and record both views.
  • Check whether the original login type was persistent or boot rather than a one-time manual login.
  • After removal, verify the target does not automatically reconnect at the next intended service or system restart.

Technical references

MS-VDS error codes · VDS_ISCSI_LOGIN_TYPE · IVdsIscsiInitiatorAdapter::LogoutFromTarget · VDS_ISCSI_TARGET_PROP · RFC 3721: iSCSI naming and discovery


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