Saturday, May 10, 2014

Share file instead of copying it from Library Server failure on System Center Virtual Machine Manager 2012 R2

Administrator select the iso image from library server with "Share file instead of copying it" option.

Administrators may find the following warning or error message.

Warning (1280)
Virtual Machine Manager cannot link ISO <Share Path\File Path> to virtual machine <VM Name> on host <Hyper-V host name>. The file is not accessible from this host

Recommended Action
Manually grant permissions of the host account to the ISO file, or detach the ISO from the VM and then try the operation again.

Error (12700)
VMM cannot complete the host operation on the <Hyper-V host> server because of the error: <VM Name> failed to add device 'Virtual CD/DVD Disk'. (Virtual machine ID XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)

<VM Name>: The Machine Account <Domain Name\Hyper-V Host Name> or the user initating the VM management operation or both do not have the required access to the file share <Library Server\ISO path>. 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 XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)
Unknown error (0x8001)

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

The share permissions and NTFS permissions on that folder aren't configured correctly.


  • 1 library server named LS01 in my lab environment
  • VMMAdmin is an administrator to manage the library server
  • VMM library folder named VMMLibrary at D:\.
  • 1 domain controller named DC01 in my lab environment
  • VMMSvc is a service account of VMM
  • HV Servers is a group which contains all Hyper-V host members

1. On LS01, log in as VMMAdmin.
2. Launch "Windows Explorer" and then navigate to D:\.
3. Right-click VMMLibrary, select "Properties".

4. On "VMMLibrary Properties" window, select "Sharing" tab.
5. Click "Advanced Sharing".

6. On "Advanced Sharing" window, click "Permissions".

7. Add "VMMSvc" and "HV Servers" and then configure "Allow - Read".

Add all Hyper-V hosts to a group for applying permissions easily.

8. Click "OK" twice.
9. On "On "VMMLibrary Properties" window, select "Security" tab.
10. Click "Edit".

11. Add "VMMSvc" and "HV Servers" and then configure "Allow - Read".

12. Click "OK".
13. Click "Close".

Before SCVMM 2012 R2, administrators need to configure constrained delegation for Hyper-V host to access library servers in Active Directory.

1. On DC01, log in as Domain Administrator.
2. Launch "Active Directory Users and Computers".
3. On the menu, click "View > Advanced Features".

4. Right-click a Hyper-V host, select "Properties".

5. On properties window, select "Delegation" tab.
6. Select "Trust this computer for delegation to specified services only > use any authentication protocol".

7. Click "Add".
8. On "Add Services" window, click "Users or Computers".

9. On "Select Users or Computers" window, enter "LS01" and then click "OK".

10. Next to "Available services", select "cifs".

11. Click "OK".
12. On On properties window, click "OK".

This solution doesn't support non-domain Hyper-V hosts.

Additional info
If a virtual machine is created with "Error (12700)", all right-click options cannot be selected except "Repair".

To fix this problem, select "Repair" and then select "Ignore" to repair the virtual machine.


This posting is provided “AS IS” with no warranties, and confers no rights!

No comments:

Post a Comment