question

LaurentCaumont-5524 avatar image
0 Votes"
LaurentCaumont-5524 asked LaurentCaumont-5524 edited

Hyper-V migration RemoteFx issue

Hello, I'm trying to export a Hyper-V VM from a Win10 Pro host to Windows server 2019 host.
The VM uses RemoteFX that we don't want to use anymore.
I exported the VM.
When I try to import it, there is an error.
Then I tried to follow this tutorial: https://charbelnemnom.com/importing-virtual-machine-with-missing-remotefx-adapter-unhandled-exception-has-occurred-in-your-application-hyperv-rds-vdi/
But I still have incompatibilities reported:

 PS C:\Users\Administrator> $vmReport.VM | Select RemoteFxAdapter
    
 RemoteFxAdapter
 ---------------
    
 PS C:\Users\Administrator> $vmReport.Incompatibilities | ft -Wrap
    
 Message                                                                             MessageId Source
 -------                                                                             --------- ------
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605
 Failed to find any RemoteFX capable host devices for virtual machine 'Saved State'.     32605

I think it's because the RemoteFx is also referenced in checkpoints.
Does anybody have a workaround for this ? Is there any way to force import in some way ?
Thanks Regards

windows-server-hyper-v
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LaurentCaumont-5524 avatar image
0 Votes"
LaurentCaumont-5524 answered LaurentCaumont-5524 edited

Hi,

Finally, I was able to import the VM and all checkpoints by using "Copy" option instead of "Register".
It seems the "in place" import is not able to patch the configuration.

I'm now facing a new issue:
My new server has only 32Go of memory and the previous had 64Go, the VM and all checkpoints are using 32Go minimum.
So the VM is not able to start.
I can change the memory at VM level but the checkpoint configuration stay the same. And when I apply one, it uses its configuration: 32Go memory.
There is the warning message: "Settings cannot be modified when a virtual machine checkpoint is selected. To modify a setting, select the virtual machine and then open Settings again."

Is there a way to propagate the new VM settings to all checkpoints ?
Or are there some powershell functions that I can use to overwrite checkpoints settings ?

Solution: To change the settings, apply the checkpoint and select the "now" status. You can then change the settings and create a new checkpoint to replace the wrong one.

Regards,
Laurent

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

Might try creating a new VM on 2019 with an identical configuration as shown on windows 10, then when you get to step Connect Virtual Hard Disk choose Use an existing and point to the windows 10 VHD you copied over.

--please don't forget to Accept as answer if the reply is helpful--



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jiayaozhu-MSFT avatar image
0 Votes"
jiayaozhu-MSFT answered

Hi,

Thank you for your posting!

Firstly, I would like to check if you have already successfully removed or disabled RemoteFX function on your VM that you want to import. You can refer to the following blog:

https://superuser.com/questions/1597409/warning-you-are-currently-using-the-remotefx-3d-video-adapter

Secondly, I agree with @ DSPatrick, you can try to copy the VHD file of your VM to Windows server 2019 host and then create a new VM on 2019 host, choosing existing VHD file which you have copied to the host.

Thank you for your support! If you have other concerns please feel free to feedback!

Best regards
Joann


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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LaurentCaumont-5524 avatar image
0 Votes"
LaurentCaumont-5524 answered

Hi all,

Thanks for the reply.

@DSPatrick , creating a new VM could be an option but I don't see how to import the checkpoints associate to the VM.
I have ~15 checkpoints I want to keep. Is there a way to recreate them at the same time ?

@jiayaozhu-MSFT, I think the blog point on removing the remotefx on the host, not when importing.
That could be a option: removing remotefx on the Win10, then export and import but I want to keep the old machine running during the transition and I'm not sure I will be able to re-enable it. (remotefx seems to be a capricious feature).

Regards,
Laurent

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

I'd try cleaning up the check points before exporting.
https://www.altaro.com/hyper-v/clean-up-hyper-v-checkpoint/

--please don't forget to Accept as answer if the reply is helpful--





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jiayaozhu-MSFT avatar image
0 Votes"
jiayaozhu-MSFT answered

Hi,

Thank you for your reply!

Based on your descriptions, I suppose you may want to keep your vhd file and its associated avhd files at the same time. You can copy them all to your new host by an external media, for example. And if you have backuped your VM then when you create a new VM on Windows server 2019 host, you can restore both your original vhd file and its avhd files. Relevant steps are discussed in the below article:

https://documentation.commvault.com/commvault/v11/article?p=31525.htm

The third scenario may be linked to your issue: To attach a disk from one virtual machine to a different virtual machine, change the location when restoring the disk.

(Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)

If you did not backup your VM, you can try to merge your avhd files with their vhd file after copying your vhd files and avhd files to the new host:

https://trevorsullivan.net/2016/07/24/merge-hyper-v-disks/

(Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)

Thank you for your support!

Best regards
Joann


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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.