When I try to import the virtual disk into Windows Server 2012/2012 R2 iSCSI Target Server, I encountered this error:
Problem:
The registration of virtual disk in iSCSI Target is not deleted properly in the registry.
Solution:
- Download my admin script YLNotes__Dump_iSCSI_Target_VHD.zip
-
Unzip and Copy the script into Windows Server 2012/R2 iSCSI Target Server
-
Double click the script and the log will be automatically open
-
Verify iSCSI Target VHD that causes the issue
- Open Registry Editor and navigate to the following path
HKLM\SOFTWARE\Microsoft\iSCSI Target\WTDisks
- Delete the value from the corresponding ID
- Lastly, Microsoft iSCSI Software Target Service must be restarted
Admin Scripts
- Download YLNotes__Dump_iSCSI_Target_VHD (647)
Thank you! this helped me.