Microsoft Server VM is stuck in boot status

Dheeman Das 6 Reputation points
2022-08-31T11:44:51.28+00:00

We are receiving below error on VM due to which it’s not booting. Below is the screenshot of error236470-image.png

Can anyone help me with this?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,063 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Jackson Martins 9,636 Reputation points MVP
    2022-08-31T12:48:58.517+00:00

    Hi @Dheeman Das
    I have already faced a similar problem. Below are the steps I did to solve it:

    1 - I exported the VM disk to the local environment (onpremise)
    2 - I configured a new VM in Hyper-v
    3 - I attached windows server media ISO and did the repair
    4 - VM worked locally so I re-uploaded it to azure
    5 - I provisioned a new vm with the repaired disk.

    If the machine is important and the backup doesn't work, I recommend doing the steps above.

    In my case even the backup didn't work, because it was already having a problem while the backup was running, but I only found out when I had to restart.

    Get in touch if you need more help with this issue.

    --please don't forget to "[Accept the answer]" if the reply is helpful--

    1 person found this answer helpful.

  2. JimmySalian-2011 41,916 Reputation points
    2022-08-31T12:01:15.703+00:00

    HI,

    It seems some configuration changes or changes messed up the Bootloader on the OS, the suggestion is to restore the VM from the backup if there is any or rebuild the OS.

    troubleshoot-guide-windows-boot-manager-menu

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  3. Sudipta Chakraborty - MSFT 1,096 Reputation points Microsoft Employee
    2022-08-31T12:36:34.813+00:00

    @Dheeman Das : Please find the cause and resolution for the issue below:

    Error:
    Status: 0xc000014c
    Info: The operating system could not be loaded because the system registry file is missing or contains errors.

    Cause :
    This issue occurs because either the hive is corrupted, or it is not closed correctly.

    Resolution :

    Repair the corrupted hive

    • Delete the virtual machine (VM). Make sure that you select the Keep the disks option when you do this.
    • Attach the OS disk as a data disk to another VM (a troubleshooting VM). For more information, see How to attach a data disk to a Windows VM in the Azure portal.
    • Connect to the troubleshooting VM. Open Computer management > Disk management. Make sure that the OS disk is online and that its partitions have drive letters assigned.
    • On the OS disk you attached, navigate to \windows\system32\config. Copy all the files as a backup in case a rollback is required.
    • On the OS disk you attached, copy the files in \windows\system32\config\regback and replace the files in \windows\system32\config.
    • Detach the repaired OS disk from the troubleshooting VM. Then, create a new VM from the OS disk.

    Note: If you have a recent backup of the VM, you may try restoring the VM from the backup to fix the boot problem.

    Reference:
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/boot-error-0xc000014c

    0 comments No comments