Share via

Problem booting Windows 2012R2 VM on Windows 2025 Hyper-V

Stefan Cuypers 100 Reputation points
2025-07-20T05:33:22.69+00:00

We're having a problem with a Windows Server 2025 Hyper-V cluster.

We have 2 identical clusters (same hardware, same BIOS version) and when we move a Windows 2012R2 VM from one cluster to another it does not boot any more (tested with 2 different VM's).

The error is a blue screen 0x7B (INACCESSIBLE_BOOT_DEVICE).

If we move the machine back to the other cluster it boots just fine.

Only difference I see is the cluster path level. The working cluster is an older Windows Update (KB5058411, KB5058523 and KB5054979).

Whereas the newer cluster has KB5063666, KB5062553, KB5056579 and KB5059502. It tried installing KB5064489 also, but that does not help.

A VM with Windows server 2022 of 2025 does move fine, so it seems to be linked to 2012R2.

I also tried to install a brand new 2012R2 VM from the original iso and then completely upgrading it with Windows Update and that machine is working fine. It seems to have the same verson of storage drivers as the non working VM.

The faulting VM does boot succesfully into recovery mode. I tried bootrec /fixmbr and bootrec /fixboot, but that does not help.

Windows for business | Windows Server | Storage high availability | Virtualization and Hyper-V
{count} votes

Answer accepted by question author
  1. Vladimir Shebaldenkov 140 Reputation points
    2025-11-08T21:48:11.8233333+00:00

    I compared the registry of a VM that boots with one that doesn’t and found some differences.

    Then I booted into recovery mode, copied the missing registry keys, and successfully booted the Windows Server 2012 R2 VM on a 2025 Hyper-V host.

    reg load HKLM\TempHive c:\Windows\system32\config\SYSTEM

    reg copy HKLM\TempHive\ControlSet001\Enum\ACPI\VMBus HKLM\TempHive\ControlSet001\Enum\ACPI\MSFT1000 /s

    reg copy HKLM\TempHive\ControlSet001\Enum\ACPI\Hyper_V_Gen_Counter_V1 HKLM\TempHive\ControlSet001\Enum\ACPI\MSFT1002 /s

    13 people found this answer helpful.

17 additional answers

Sort by: Most helpful
  1. Manuel Enrique Benavides 5 Reputation points
    2025-09-13T19:37:29.6633333+00:00

    The only thing that worked for me was downgrading the Windows 2012 virtual machine from Gen2 (GPT - UEFI) to Gen1 (MBR - EFI) with the operating system disk in a IDE port.

    For this process, I used AOMEI Partition Assistant to convert the disk from GPT to MBR, then deleted the UEFI partition. On a new Gen1 virtual machine, I performed a clean install using the same AOMEI. I copied the system partition (350MB) to the old disk mark this partition as Active, then booted with the Windows disk to repair the startup:

    bootrec /fixmbr

    bootrec /fixboot

    bootrec /scanos

    bootrec /rebuildbcd

    After that, I rebooted the virtual machine, performed a disk check, and it started working correctly again on the new Windows 2025 host.

    0 comments No comments

Your answer

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