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

Bulent Tolu

Sr. Systems Engineer at VMware
Bulent is an IT professional with Master's in MIS and 10-years of experience in broad range of Information Technologies. He is exposed to engineering/architecting, implementation/integration, and administration of various high-available IT systems and infrastructure. He has a passion to continually research, test and evaluate new technologies and follow industry best practices to secure and optimize IT systems. Currently, he lives in Istanbul and works as a Sr. Systems Engineer at VMware.
Bulent Tolu

5 Thoughts on “SCVMM 2012: Share image file instead of copying

  1. Serge Meeuwsen on 09 April 2013 at 11:56 said:

    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

  2. oso on 23 April 2013 at 10:30 said:

    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!!!!

  3. MrX on 14 June 2013 at 15:41 said:

    @Serge Meeuwsen
    ^ What he said!

    When I put Everyone in as read in both share and ntfs permissions, it worked. Before it didn’t.

  4. tilo on 18 June 2013 at 23:33 said:

    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.

    🙂

  5. Pingback: SCVMM 2012 Can’t share ISO image when mounting error 12700 | Dawsonweb's Blog

Leave a Reply

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

Post Navigation

Share
Translate »