Upgrade Hyper-v server to Windows Server 2022

LangeMuller 126 Reputation points
2022-02-04T12:24:00.94+00:00

Hi
I have a couple of Windows Servers that are running Hyper-V hosts on physical machines. I want to upgrade the Hyper-V host to Windows Server 2022. Some are running Windows Server 2012 R2 and some are running Windows Server 2019. My plan was to backup the specific server, then shutting down the running VMs, then running Windows Server 2022 upgrade then restart the VM. Do you foresee any problems? Can Windows Server 2012 R2 upgrade directly to Windows Server 2022 or do I need to upgrade over Windows Server 2016/2019?

Kind regards,
Kristian

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

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2022-02-04T13:28:12.997+00:00

    General rule is skip one version.
    https://learn.microsoft.com/en-us/windows-server/upgrade/upgrade-overview#which-version-of-windows-server-should-i-upgrade-to

    The much cleaner / safer method is to export copy off the virtual machines, clean install the operating system, patch fully, add hyper-v role, import virtual machines.

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

    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Harry Tennison 5 Reputation points
    2023-08-24T19:31:56.73+00:00

    I am attempting the same thing but am having an issue where it is telling me the Nic Teaming (LBFO) needs to be removed. I have attempted the below powershell command but still get error when attempting upgrade with keeping files and apps.

    PS C:\> Get-NetLbfoTeam | Remove-NetLbfoTeam
    
    0 comments No comments