WMI ImportSystemDefinition RealizePlannedSystemof Msvm_VirtualSystemManagementService v2 namespace

richealnull 41 Reputation points
2021-06-11T02:15:00.18+00:00

I used ExportSystemDefinition export new C:\Windows\Backups\Virtual Hard Disks and Virtual Machines

next I use ImportSystemDefinition success, return RealizePlannedSystem

use RealizePlannedSystem creat a new system success ,But the disk directory is C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks ,Why not the exported disk directory

I have a problem When the directory C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks has no disk files, RealizePlannedSystem cant success , How do I specify the new machine directory to be created

I use powershell import-vm Import-VM -Path $vmConfigFile.FullName ,do not need a disk in the original directory C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks,The new disk specified directory is C:\Windows\Backups\Virtual Hard Disks, How do I do that for WMI

I need help thanks

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,921 questions
{count} votes

Accepted answer
  1. Yuhan Deng 3,766 Reputation points Microsoft Vendor
    2021-06-11T07:45:58.863+00:00

    Hi,
    We’re very sorry to inform you that WMI is actually not within the forum scope.
    Here’re some documents that you might want to take a look:
    ImportSystemDefinition:
    https://learn.microsoft.com/en-us/windows/win32/hyperv_v2/importsystemdefinition-msvm-virtualsystemmanagementservice

    ExportSystemDefinition:
    https://learn.microsoft.com/en-us/windows/win32/hyperv_v2/exportsystemdefinition-msvm-virtualsystemmanagementservice

    RealizePlannedSystem:
    https://learn.microsoft.com/en-us/windows/win32/hyperv_v2/realizeplannedsystem-msvm-virtualsystemmanagementservice

    Also I would suggest that you contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue. In addition, if the issue has been proved as system flaw, the consulting fee would be refund. You may find phone number for your region accordingly from the link below.
    Global Customer Service phone numbers:
    https://support.microsoft.com/en-us/help/13948/global-customer-service-phone-numbers

    Thanks for your understanding.
    Best regards,
    Danny

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.