Microsoft iSCSI Target Server (WS2012/2012 R2) – Error: Unable to import the virtual disk. A Virtual disk with that file path already exists

When I try to import the virtual disk into Windows Server 2012/2012 R2 iSCSI Target Server, I encountered this error:

iSCSI_WS2012_201409_0001

 

Problem:

The registration of virtual disk in iSCSI Target is not deleted properly in the registry.

 

Solution:

  1. Download my admin script YLNotes__Dump_iSCSI_Target_VHD.zip

  2. Unzip and Copy the script into Windows Server 2012/R2 iSCSI Target Server

  3. Double click the script and the log will be automatically open

  4. Verify iSCSI Target VHD that causes the issue

iSCSI_WS2012_201409_0004

  1. Open Registry Editor and navigate to the following path

 HKLM\SOFTWARE\Microsoft\iSCSI Target\WTDisks

  1. Delete the value from the corresponding ID

iSCSI_WS2012_201409_0005

  1. Lastly, Microsoft iSCSI Software Target Service must be restarted

 iSCSI_WS2012_201409_0003

Admin Scripts

  1. Download YLNotes__Dump_iSCSI_Target_VHD (211)

Leave a Reply

Your email address will not be published. Required fields are marked *

20 − six =

YLNotes: Yunlong Notes © 2017 Frontier Theme