Monday 21 September 2015

The session cannot be logged out since a device on that session is currently being used.

Just a quick post.

I was just trying to remove an equallogic iscsi target drive and when disconnecting the session received the error...

"The session cannot be logged out since a device on that session is currently being used"

I also noticed that the drive in question caused Windows to be unresponsive when doing anything that required the drives to be enumerated, I.e looking in device manager / my computer.

If you have the same issue the fix is pretty simple


  1. In Disk Management (when it finally loads) right click the disk in question and mark it as offline
  2. In the iscsi initiator software, now disconnect the sessions.

Problem solved.