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:
- Update the target ACL to contain the current IQN.
- Open iSCSI Initiator → Favorite Targets.
- Remove entries created with the former initiator name.
- 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:
- Open iSCSI Initiator → Favorite Targets.
- Remove entries containing the old target or portal information.
- Open Discovery, select Refresh, and remove incorrect or unused targets.
- Remove obsolete sessions:
Get-IscsiSession | Remove-IscsiSession
- 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
- RefreshIScsiSendTargetPortalW function (iscsidsc.h)
- iSCSI storage connectivity troubleshooting guidance
- The Microsoft iSCSI Initiator may fail to log in to Favorite Targets after the Initiator Name is changed in Windows