SCVMM 2012: Share image file instead of copying

SCVMM 2012: Share image file instead of copying

Share image file instead of copying itWhen you attach an ISO image, you have an option called “Share image file instead of copying”. If you don’t select this option, the file will be first copied to the host where the VM is running on. This might not be suitable in most cases as it requires disk space and bandwidth, and time to copy the file to the host. Instead, if you select this option, the file will not be copied to the host and will be shared over the network. However, for this option to work you need to do additional configuration.

If you don’t have the required configuration, upon attaching the image, you get the following error message:

Error (12700)
VMM cannot complete the host operation on the hv1.bt.local server because of the error: ‘testSharedISO’ failed to add device ‘Virtual CD/DVD Disk’. (Virtual machine ID D20796DF-C6D9-426A-B74A-C3EF983970D6)

‘testSharedISO’: The Machine Account ‘BTHV1$’ or the user initiating the VM management operation or both do not have the required access to the file share ‘\scvmm.bt.localMSSCVMMLibraryIsoen_windows_server_2012_x64_dvd_915478.iso’.  Please ensure that the computer machine account and the user initiating the VM management operation have full access to the file share as well as the file system folder backing the file share.  Error: ‘General access denied error’ (0x80070005). (Virtual machine ID D20796DF-C6D9-426A-B74A-C3EF983970D6)
Unknown error (0x8001)

Recommended Action
Resolve the host issue and then try the operation again.

failed to add device 'Virtual CD/DVD Disk'

To Resolve:

First, grant read permissions on both share and NTFS permission to SCVMM service account and Cluster hosts.

Share Permissions:

Share Permissions:

NTFS Permissions

NTFS Permissions

And then, the delegation must be configured in AD DS:

    1. Right-click the computer account of a Hyper-V host, and click Properties.
    2. Click on Delegation tab, and select “this computer for delegation to specified services only”, and “Use any authentication protocol”
    3. Add > Users or Computers> select VMM library server > OK > In the Available services list, select “cifs” > and click Add.

this computer for delegation to specified services only

      Once this is configured, it should start working. However, if you received the previous error message, you first need to repair the VM with ignore option as the previous job ran will be in failed state.

repair the VM with ignore option

Then try attaching the iso again : )

attaching the iso

Bulent Tolu

Response to "SCVMM 2012: Share image file instead of copying"

  • Thanks for sharing this. I recently followed this procedure and it didn’t work until we also gave ‘Everyone’ read rights at the Share AND NTFS level.
    So it seems there is another security principle involved in the delegation, other than the machine accounts of the Hyper-V hosts and the Library server. We didn’t delve in deeper to find out which account that might be. Just thought it could be interesting to know if anyone has problems with this as well.
    Cheers

  • Hi same problem for me, this was known bug in verion 2008 r2, why is this not fixed in 2012? Comon Microsoft fix this mess please!!!!

  • thanks a lot for this post.

    btw if you struggle with the Hyper V 2012 (/win core system) just found out you can add this server to another Win 2012 full box for administration like manage share and NTFS security in a GUI.

    🙂

  • Leave a Reply

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

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Share
    Translate »