Hyper-V migration from version 5

Quantum2021 66 Reputation points
2023-06-08T23:36:54.9366667+00:00

We're running Hyper-V on 2012R2 and the VMs are all version 5.0.

We are planning to setup a new Hyper-V server on either Windows 2019 or Windows 2022.

Can the VMs from Hyper-V 2012R2 that are version 5.0 be migrated directly to Hyper-V Windows 2019 or 2022 and what would be the best way to migrate them?

Live migration seems to require both Hyper-V to be 2016 or later.

Move-VM in powershell seems to be the most seamless.

Thanks in advance

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,861 questions
0 comments No comments
{count} vote

Accepted answer
  1. Anonymous
    2023-06-12T13:03:23.3066667+00:00

    Can the VMs be moved to the 2022 Hyper-V host then be upgraded there or should they be upgraded before the move?

    If the VM's configuration version is not listed as supported for your Hyper-V host OS in the table below, you either have to upgrade the VM configuration version to a newer version or create a new VM of the same generation using the existing virtual hard disks before you can start the VM.
    So if using Server 2022 you could easily create a new VM using the existing VHD (copied over)

    The command to run the upgrade is "Update-VMVersion <vmname>". If run on version 5 VM, does it upgrade to the latest?

    It will upgrade to the current version.
    https://learn.microsoft.com/en-us/powershell/module/hyper-v/update-vmversion?view=windowsserver2022-ps

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


2 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-06-09T12:10:39.63+00:00

    You can run them as is on Server 2019 or in either case you can always upgrade them.

    https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/upgrade-virtual-machine-version-in-hyper-v-on-windows-or-windows-server#supported-vm-configuration-versions-for-long-term-servicing-hosts

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


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.