none
How create virtual machine without any resources (instances of Msvm_ResourceAllocationSettingData)? RRS feed

  • Question

  • First I create vm by using method DefineVirtualSystem with null for parameter ResourceSettingData.
    New vm including resources: Microsoft Synthetic Mouse, Microsoft Virtual Keyboard, Microsoft Virtual PS2 Mouse, Microsoft S3 Display Controller and so on...
    Then I try to remove all these resources by using method RemoveVirtualSystemResources.
    But it fails. I get a job with ErrorDescription "'My_VM_6' failed to remove device 'Microsoft Virtual Keyboard': Invalid operation (0x80041016) (Virtual machine ID A0D9A321-C6A7-408E-8E15-D79AA2AA41E4)"
    Please, help me.
    With great thanks in advance!
    Wednesday, July 22, 2009 9:22 AM