locked
Blue Screen on boot in a VM: 0xc000021a RRS feed

  • Question

  • Hello,

    I've been trying to deploy network controller recently, and it worked a few weeks ago. But now, when I try to create a virtual machine with a server 2016 TP5 sysprep vhdx (that I found on this address https://technet.microsoft.com/system-center-docs/vmm/Manage/deploy-a-network-controller-using-vmm), I get a BSOD with the error code 0xc000021a. There isn't any error message. I haven't been able to find an answer on the internet. I tough it could be linked to hyper-v not recognizing the vhdx as secure, but even disabling secure boot doesnt get me out of this boot loop. After 5 to 10 seconds, I get the blue screen. No windows loading screen at all. And this problem occurs on every hosts I try, and even on every VMM server I try. I've been trying to create those VM's with the old vhdx I've used in my previous tests (and that worked). So, I suspect an update of windows server 2016 TP5 since it happens on all of our hosts and it worked before. I got this error message too in server manager:

    'TesVHDX2' has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0xC000021A, ErrorCode1: 0xFFFFC708C5142EF0, ErrorCode2: 0xFFFFFFFFC0000428, ErrorCode3: 0xFFFFC708BE6C8810, ErrorCode4: 0x0.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID 539388A0-19E6-4B50-BC13-C483DAAD3E8F)

    Search for there error codes returned nothing.

    Whatever the cause is, do you know how I could undo this error and make my VM work. If it's not possible, do you know how to create a sysprep vhdx for windows server 2016?


    Monday, August 15, 2016 6:04 PM

Answers

  • The 21a BSOD is a known issue.

    "you have to apply the July Cumulative Update offline to get the VMs running again"

    You will need to use the DISM tool to inject the Cumulative Update into the virtual disk.


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

    • Marked as answer by AlexisLessard Tuesday, August 16, 2016 1:39 PM
    Monday, August 15, 2016 6:12 PM

All replies

  • The 21a BSOD is a known issue.

    "you have to apply the July Cumulative Update offline to get the VMs running again"

    You will need to use the DISM tool to inject the Cumulative Update into the virtual disk.


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

    • Marked as answer by AlexisLessard Tuesday, August 16, 2016 1:39 PM
    Monday, August 15, 2016 6:12 PM
  • Thanks,

    Where can I find this update, and how can I inject it into my vhdx? 

    See answer below


    Monday, August 15, 2016 7:21 PM
  • It did the trick! I used those commands to make it work:

    C:\Users\xxx\Documents> Mount-DiskImage -ImagePath "C:\ProgramData\Virtual Machine Manager Library Files\VHDs\14300.1000.amd64fre.rs1_release_svc.160324-1723_server_serverdatacenter_en-us.vhdx"
    
    
    C:\Users\xxx\Documents> Get-Volume #Just to check if it mounted
    
    $command = "dism /image:F:\ /add-package /packagepath:'C:\ProgramData\Virtual Machine Manager Library Files\AMD64-all-windows10.0-kb3172989-x64_c39efbb9cd624e40cb739b1b4f5287889cfdf930.msu'"
    
    C:\Users\xxx\Documents> Write-Debug $command
    
    
    C:\Users\xxx\Documents> Invoke-Expression $command
    
    #Process took about 3-5 minutes, maybe a bit more
    
    C:\Users\xxx\Documents>  Dismount-DiskImage -ImagePath "C:\ProgramData\Virtual Machine Manager Library Files\VHDs\14300.1000.amd64fre.rs1_release_svc.160324-1723_server_serverdatacenter_en-us.vhdx"
    
    
    

    I found the update at this address: https://support.microsoft.com/en-us/kb/3172989

    I hope this helps others!

    Tuesday, August 16, 2016 1:36 PM