[an error occurred while processing this directive]

If a virtual disk is no longer required, you can delete it from the Microsoft iSCSI Software Target console.

Caution
Deleting a virtual disk that is in use can cause data corruption. Before deleting a virtual disk, ensure that no iSCSI target is configured to access the virtual disk, that no application is using the virtual disk, and that all data is appropriately saved. For more information about how to remove iSCSI target access, see Removing iSCSI Target Access to a Virtual Disk.
Note
Deleting a virtual disk from the console does not delete the file. If you no longer need a deleted virtual disk and it does not contain data that should be retained, manually delete the virtual hard disk (VHD) file from the computer. You can also disable a virtual disk temporarily. For more information about disabling and enabling a virtual disk, see Taking a Virtual Disk Offline Temporarily.

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure. Review the details in "Additional considerations" in this topic.

To delete a virtual disk from the Microsoft iSCSI Software Target console
  1. In Microsoft iSCSI Software Target, in the console tree, click Devices.

  2. In the results pane, right-click the virtual disk you want to delete, and then click Delete Virtual Disk.

  3. When prompted to confirm the deletion, click Yes.

Additional considerations

  • You must be a member of the local Administrators group to perform these tasks.

  • To open iSCSI Software Target, click Start, point to Administrative Tools, and then click Microsoft iSCSI Software Target.

  • Another way to open iSCSI Software Target is to click Start, click Run, and then type iscsitarget.msc.

Additional references


[an error occurred while processing this directive]