What does HRESULT 0x00042801 (VDS_S_ISCSI_PERSISTENT_LOGIN_MAY_NOT_BE_REMOVED) mean?

 
Previous Next
VDS_S_ISCSI_SESSION_NOT_FOUND_PERSISTENT_LOGIN_REMOVED VDS_S_ISCSI_LOGIN_ALREAD_EXISTS

VDS_S_ISCSI_PERSISTENT_LOGIN_MAY_NOT_BE_REMOVED

This warning is about uncertainty in persistent-login cleanup, not proof that an active data session is still connected. VDS models login persistence separately from the current iSCSI session. When cleanup cannot be confirmed, the saved configuration can remain and cause a later automatic login even if the current target appears disconnected.

Why this state matters

That distinction is important during decommissioning or target migration. A successful logout only addresses current sessions, while persistent login state controls future connection attempts. Microsoft explicitly directs administrators to the iSCSI Initiator configuration when this VDS warning is returned.

Diagnostic focus

  • Inspect persistent targets in the Windows iSCSI Initiator configuration instead of relying only on current session output.
  • Compare the target iSCSI name, not just its portal address; a node name is a location-independent identifier and can have changing addresses.
  • If the target was moved to another portal, make sure an old persistent record is not still pointing at retired discovery information.
  • Validate behavior after the next reconnection boundary so that a stale persistent login is not mistaken for a newly created session.

Technical references

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


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