Search Engine: Elastic

Article ID: 117902, created on Oct 11, 2013, last review on May 11, 2014

  • Applies to:
  • Operations Automation 5.4


Hyper-V task to autoprovision a new VDS fails with:

Task name   APS application 'Microsoft Hyper-V', id 107, instance 597 -> service 'ddc_membership_vm', instance 1049: executing configuration script
Execution of configuration script for instance with id 1049 of service with id ddc_membership_vm of instance with id 597 of application with id 107 failed - returned value: -1 output: '' errors: 'Failed to create VM: New-VM : VMM cannot complete the Hyper-V operation on the
server because of the error: 'Subscription #1004235' failed to add device 'Microsoft Virtual Hard Disk'. (Virtual machine ID 60D418C7-940A-48C6-B54E-F6229CCD5C60)
'Subscription #1004235': User account does not have permission required to open attachment 'C:\ClusterStorage\Volume6\Subscription #1004235\W2K8R2X64SP1STD_di
sk_1.vhd'. Error: 'General access denied error' (0x80070005). (Virtual machine ID 60D418C7-940A-48C6-B54E-F6229CCD5C60) (Error ID: 12700, Detailed Error: Unknown error (0x8001))

Resolve the issue in Hyper-V and then try the operation again.

To restart the job, run the following command:
PS> Restart-Job -Job (Get-VMMServer | Get-Job | where { $_.ID -eq "{fe6511b7-a217-4d4f-89df-08e613b8e626}"})
At C:\Program Files (x86)\SWsoft\PEM\APS\instances\597\scripts\createVM.ps1:414
+ New-VM <<<< -Template "$VMTemplate" -Name "$VMName" -Owner "$VMOwner" `
+ CategoryInfo : ReadError: (:) [New-VM], CarmineException
+ FullyQualifiedErrorId : 12700,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.NewVmCmdlet


Incorrect credentials were used when this task was set to execute on the Hyper-V server.


Locate the Hyper-V server in SCVMM console, go to Properties > Credentials and ensure that the correct credentials for pem_admin user are specified

ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF