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. Stefan Cuypers 100 Reputation points
    2025-09-03T17:40:52.6966667+00:00

    I have a fix that seems to work for my 2012R2.
    After more testing with MS support, the support engineer suggested to do an inline repair :

    • First run the VM on an unpatched Windows Server 2025 so we can start it up. (may also work if done on a 2022, but not tested)
    • Attach the Windows Server 2012R2 DVD (I used the latest from volume licensing)
    • Run setup from the DVD and select the option to upgrade (keep settings)
    • Let it run the upgrade
    • Then move the VM back on a patched Windows Server 2025

    After that my 2012R2 VM booted fine on a patched Windows Server 2025.

    1 person found this answer helpful.

  2. Ben Gillam 10 Reputation points
    2025-07-30T09:46:33.1433333+00:00

    We have this same or similar issue although not a cluster.

    Windows 2025 server - Moved 3x Windows 2012 R2 VMs to it back in April time - They are archival manual boot access for old accounts system. Worked fine at time. Later tried to boot and they all fail. Restores from backup failed, new export and import fails etc which lead me here.

    The tweaks to Storsvc recommended along with a new export didnt work for me.

    I don't seem to have any of the updates listed however maybe they were bundled into a cumulative update.

    User's image

    At the point now of bringing a previous 2019 host online again to host these VMs if 2025 isnt going to play ball with them unless a fix comes along soon.

    1 person found this answer helpful.

  3. Oliver Kehling 0 Reputation points
    2025-07-22T16:41:13.6+00:00

    Hi, I have a similar problem. I'm currently replacing a Hyper-V Server 2019 with a Hyper-V 2025. There are still two Windows Server 2012 R2 VMs on the Hyper-V 2019 server. After exporting and then importing to the Hyper-V 2025, the VM won't boot. Error: Inaccessible Boot Device. I tried the workaround with the SCSI controller, but unfortunately it didn't help. Regards, Oliver

    0 comments No comments

  4. Henry Mai 7,970 Reputation points Independent Advisor
    2025-07-21T09:04:16.85+00:00

    Hello Stefan, I am Henry and I want to share my insights about your issue.

    The 0x7B INACCESSIBLE_BOOT_DEVICE error means Windows is starting up, but it cannot find the driver for the storage controller that its boot drive is connected to.

    • On your old cluster, the VM boots using an older virtual IDE or SCSI controller. Windows has that driver and loads it at startup.
    • On your new Server 2025 cluster, Hyper-V presents a newer, more efficient virtual SCSI controller. The driver for this new controller (storvsc.sys) exists inside your 2012 R2 VM (as part of Integration Services), but Windows doesn't know it needs to load it during boot.

    To clarify, may I know

    1. What Generation is the failing 2012 R2 VM (Gen 1 or Gen 2)?
    2. In the VM's settings, is the boot VHDX file attached to an IDE Controller or a SCSI Controller?
    3. On the working cluster, have you tried manually updating the Integration Services inside the 2012 R2 guest OS itself?

    You can refer the procedure below as it can force the 2012 R2 guest OS to automatically install and register the storvsc.sys driver as a boot-critical device

    1. Move the problematic VM back to the working cluster and boot it up.
    2. Shut down the VM. In Hyper-V Manager, go to its Settings.
    3. Add a SCSI Controller to the VM. You don't need to attach a disk to it; just adding the controller hardware is enough.
    4. Start the VM again (on the working cluster). Log in and allow Windows to detect the "new" SCSI controller and automatically install the driver (storvsc.sys). You can verify it appears in Device Manager.
    5. Once the driver is installed, shut down the VM.
    6. You can now remove the temporary SCSI controller you added in step 3.
    7. Move the VM to the new cluster and try to boot it.

    Hope this helps.


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.