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

Answer accepted by question author
Vladimir Shebaldenkov 145 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

Was this answer helpful?

20+ people found this answer helpful.

17 additional answers

Sort by: Oldest
  1. Andy Bryant 20 Reputation points
    2025-07-24T10:57:09.7266667+00:00

    I have exactly the same problem as Stefan. It's all the more frustrating as I can export/import the VM's to 2016 & 2022 Hyper-V hosts and they work flawlessly. Also, if I create a vanilla 2012R2 VM, leave unpatched, go through the export/import cycle that also works. So, it looks like it's something that was introduced in a Windows Update somewhere along the line. Looking on the EFI partition there are some differences there. Ultimately, the 2012R2 VM's will be replaced but I need to get them on to the new cluster first.

    I tried adding an additional SCSI controller, but I also didn't have success.

    Was this answer helpful?

    0 comments No comments

  2. BryceSor 5,500 Reputation points Volunteer Moderator
    2025-07-24T21:16:34.9266667+00:00

    Both showing so its down to a patch or KB how it changed the way its interacts with the host.

    all start valves should be set at 1

    --- Auditing Driver: storvsc ---

    Start value: 0

    Group: Base

    Type: 1

    ImagePath: System32\drivers\storvsc.sys

    --- Auditing Driver: vmbus ---

    Start value: 0

    Can you make a copy of the VM just for testing and try the following,

    Boot the problematic VM on the older cluster and:

    powershell

    Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\storvsc" -Name Start -Value 1
    Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\vmbus"  -Name Start -Value 1
    New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Services\winhv" -Force | Out-Null
    Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\winhv" -Name Start -Value 1
    

    Then shut down, export, and move to the patched cluster. This forces early driver load on the one running Windows Server 2025, specifically the host that includes the newer update set: KB5063666, KB5062553, KB5056579, KB5059502, and possibly KB5064489

    Was this answer helpful?


  3. Peter Sommer 10 Reputation points
    2025-07-25T13:26:43.41+00:00

    I have a customer with the exact same issue. Windows Server 2025 S2D Cluster. After applying the last Updates, a Restart of the running Win 2012R2 VMs will boot into recovery. Things i already testet:

    • New VM Gen1 and Gen2 with the 2012R2 vhdx -> not working
    • disable secure boot -> not working
    • disable integration services -> not working
    • booting in safe mode -> not working

    VM ist configversion 12

    On another Server 2025 S2D cluster with older updates, the same VM is booting

    Was this answer helpful?

    2 people found this answer helpful.

  4. Kalabis Tomáš 15 Reputation points
    2025-07-29T12:30:02.08+00:00

    hi guys, the customer had a same problem:

    Failover Cluster 2025 with 3 identical nodes, we uninstall the (KB5060842) from the one node and reboot it, after we migrate the affected VM (WS2012R2) back to the node and VM boot succesfully.

    post about this issue on my blog:
    https://tomaskalabis.com/wordpress/problem-booting-windows-2012r2-vm-on-windows-2025-hyper-v/

    Was this answer helpful?

    1 person found this answer helpful.
    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.