Windows iSCSI Initiator Cannot Connect to Target

Williams Noah 20 Reputation points
2026-11-25T03:10:04.4133333+00:00

Why does the Windows iSCSI Initiator fail to establish a session with a storage target even though the target portal is reachable?

Windows for business | Windows 365 Business
0 comments No comments

2 answers

Sort by: Most helpful
  1. Hoang Le Huy 2,400 Reputation points Independent Advisor
    2026-11-25T03:43:06.1833333+00:00

    Hello Williams Noah,

    If the target portal is reachable but the Windows iSCSI Initiator cannot establish a session, the problem is usually occurring during target authentication, IQN validation, network binding, or target access control rather than basic IP connectivity. Common causes include incorrect CHAP credentials, an initiator IQN that is not authorized on the storage array, mismatched initiator and target authentication settings, or a target configured to accept connections only from specific initiators or subnets.

    Check Event Viewer > Applications and Services Logs > Microsoft > Windows > iScsiPrt > Operational for login and session negotiation errors. Also verify that the Microsoft iSCSI Initiator Service (MSiSCSI) is running, the initiator can reach the target on TCP port 3260, and that any MPIO configuration matches the storage vendor's requirements. If dedicated storage VLANs are used, confirm that the source IP selected by the initiator is permitted by the storage system and that no firewall or ACL is interrupting session establishment after discovery.

    A successful portal discovery only confirms communication with the target portal; it does not guarantee that login negotiation, authentication, LUN masking, or access control policies will allow a session to be created. The iSCSI and storage array logs together will typically identify the exact stage at which the session is being rejected.

    If my answer is useful for you, please hit Accept the answer for me please.

    HL.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-25T03:10:55.37+00:00

    A reachable target portal proves that Windows can perform discovery, but not that the target will authorize the initiator, map a LUN, or establish a persistent iSCSI session.

    Discovery sends a SendTargets request through a temporary discovery session; target login is a separate operation with its own initiator identity, access-control, authentication, routing, and mapping requirements.^1^

    1. Identify where the connection fails

    Run these commands in an elevated PowerShell window:

    Get-IscsiTarget
    Get-IscsiSession
    Get-IscsiConnection
    Get-InitiatorPort
    Get-Disk
    

    Interpret the result:

    • Target is listed but no session exists: investigate initiator identity, target ACLs, and CHAP.
    • A session exists but no disk appears: investigate LUN masking/mapping and MPIO configuration.
    • A session connects and then drops: investigate VLAN/MTU consistency, adapter readiness, drivers, firmware, and SAN events.
    • Wrong portal or target appears: remove stale discovery and Favorite Target entries.

    Microsoft associates “Initiator failed to connect” events 20 and 27 with configuration, network, or target problems and recommends checking sessions, connections, target addresses, and mappings.^2^

    2. Verify initiator identity and target authorization

    Open iSCSI Initiator → Configuration and copy the Initiator Name (IQN). On the storage target, verify that:

    • This exact IQN is authorized by the target ACL.
    • The correct LUN is mapped or masked to that IQN.
    • If access control uses the initiator IP, Windows is connecting from the expected storage-network address.
    • CHAP settings and secrets match on both sides.

    If the Windows initiator name was changed, existing Favorite Target entries retain the old name and are not updated automatically. In that case:

    1. Update the target ACL to contain the current IQN.
    2. Open iSCSI Initiator → Favorite Targets.
    3. Remove entries created with the former initiator name.
    4. Recreate the entries and reconnect.

    This is the documented resolution when an initiator-name change invalidates Favorite Target authentication.^3^

    3. Test an explicit persistent login

    After confirming the IQN, ACL, CHAP, and LUN mapping, test the exact target and portal:

    Connect-IscsiTarget `
      -NodeAddress "<target-IQN>" `
      -TargetPortalAddress "<storage-IP>" `
      -TargetPortalPortNumber 3260 `
      -IsPersistent $true
    
    Get-IscsiSession
    Get-IscsiConnection
    Get-Disk
    

    The expected result is an active session followed by the mapped disk appearing in Get-Disk. If CHAP is required, supply it through the initiator UI or the appropriate secured provisioning process rather than placing a secret in command history.

    4. Remove stale configuration when addresses or identities changed

    If the portal IP, target IQN, initiator IQN, or storage mapping was recently changed:

    1. Open iSCSI Initiator → Favorite Targets.
    2. Remove entries containing the old target or portal information.
    3. Open Discovery, select Refresh, and remove incorrect or unused targets.
    4. Remove obsolete sessions:
    Get-IscsiSession | Remove-IscsiSession
    
    1. Add the correct portal and recreate the persistent connection.

    Removing a session interrupts storage access; do this only after confirming that no application, VM, cluster role, or mounted volume is using it. Microsoft documents removing and recreating incorrect Favorite Targets and cleaning up outdated sessions for this condition.^2^

    5. If login succeeds but the session drops

    Check the path beyond simple portal reachability:

    • MTU and Jumbo Frames must match end to end.
    • VLANs and routes must select the correct storage interface.
    • NIC, storage-controller, and array firmware should be vendor-supported.
    • Review switch counters and SAN/NAS logs for drops or resource exhaustion.
    • For a cluster, route iSCSI over dedicated adapters rather than production or cluster traffic.
    • Review MPIO path and claim configuration.

    Capture a trace while reproducing the failed login if the target logs do not identify the rejection:

    netsh trace start scenario=netconnection capture=yes tracefile=c:\os.etl
    

    Stop it immediately after reproducing the issue with netsh trace stop, then correlate it with Windows iSCSI events and the storage-array login log.^2^


    References

    1. RefreshIScsiSendTargetPortalW function (iscsidsc.h)
    2. iSCSI storage connectivity troubleshooting guidance
    3. The Microsoft iSCSI Initiator may fail to log in to Favorite Targets after the Initiator Name is changed in Windows
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.