Hi baluT,
Based on my experience, we cannot change the VM GUID by PowerShell or WMI. VM GUID is automatically generated after the VM is created.
As a workaround, if you want to change it, you can create a new VM connected to the old VHD, and the VM GUID will be recreated.
I did the test in my lab:
This is the original GUID of VM 14
And then I deleted the VM and created a new one attached to the old VHD 14.
As you can see, the GUID of 14 has been recreated.
Thanks for your time!
Best Regards,
Mico Mi
-----------------------------
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.