(WMI) ExecMethod out parameter - ResultingSnapshot is NULL irrespective of the result of the call, Why?

前端 未结 3 631
醉话见心
醉话见心 2020-12-06 08:01

I am using WMI to create an RCT Checkpoint. Below is the code snippet. The problem is when I call the method Create Snapshot using ExecMethodthe ch

3条回答
  •  旧巷少年郎
    2020-12-06 08:57

    Was SnapshotType=32768 giving error to you? Because snapshot is not created when I use this Snapshot Type.

    The following log is getting created:

    Checkpoint creation failed for 'Ubuntu1' because an invalid checkpoint type has been specified. (Virtual machine ID 5C773BB5-B630-48B4-AB9E-71C548F3FAE4)

    Edit: I am not sure if it will help but this solved my problem: https://docs.microsoft.com/en-us/answers/questions/160321/wmi-createsnapshot-not-working-with-snapshottype-3.html

提交回复
热议问题