Error (12700)

please help me with the following error while creating VM. I am running a script to create 40 VMs/hour

Error (12700)

VMM cannot complete the Hyper-V operation on the <host> server because of the error: 'vmm30-00-0008' failed to add device 'Microsoft Synthetic Ethernet Port'. (Virtual machine ID 9559DEFB-68CE-4C10-A354-D51F4B8154DE)

The Virtual Machines configuration 9559DEFB-68CE-4C10-A354-D51F4B8154DE at 'E:\scvmmVM\vmm30-00-0008' is no longer accessible: The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8)

 (Unknown error (0x8000))

Recommended Action

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

February 23rd, 2012 12:51pm

try to disable the AV and restart the job again
Free Windows Admin Tool Kit Click here and download it now
February 23rd, 2012 5:03pm

Also, are you capturing your jobs and watching them to see that they are finished before you apply the next setting?

When you provision at scale the system will give you an instant return but commonly the actual action is not complete.

If you capture the output from your call into an object you should be able to query its status.

The object has a few statuses that you can use.  For example  $vm = New-SCVirtualMachine

$vm.MostRecentTask gives you the long running task object and you can go from there.

The OP that I helped ended up doing this:

ifelse { [string]($vm.MostRecentTask | select "Status") -match "Running" { 
  "Skip this VM, it is already running a job" 
}

February 23rd, 2012 7:40pm

try to disable the AV and restart the
Free Windows Admin Tool Kit Click here and download it now
February 24th, 2012 1:29am

AV is not running
February 24th, 2012 8:30am

Please confirm that AV is not running on the Hyper-v host, Als have you tried to restart the job again ?

Please check

http://support.microsoft.com/kb/961804
Free Windows Admin Tool Kit Click here and download it now
February 27th, 2012 11:17pm

I checked that all hosts have AV not running and restarted the service. I am still getting the error.
March 2nd, 2012 9:26am

The error has gone away. looks like the AV was automatically getting ON in between. the error went away when disabled the AV services
Free Windows Admin Tool Kit Click here and download it now
March 19th, 2012 12:49pm

Hi;

I've had similar problems.

The Legacy Network Adapter is the cause of the Problem.

October 3rd, 2013 3:45pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics