VMware: Windows Guest VM does not boot due to Error 0xc000186 ntoskrnl.exe

Hi,

in some circumstances a Windows guest VM does not boot and stops with Error:

  • Stoperror: 0xc000186
  • Boot critical file C:\windows\system32\ntoskrnl.exe is corrupt.

 

This error occures when:

  • ESXi in version 6.0
  • Windows VM is configered to boot in UEFI Mode
  • Some specific Storagesystems were used, heard from such issues with PureStorage and EMC XtremIO

Resolution is to set the DiskMaxIOSize to 4MiB and reboot your ESXi host(s). With PowerCli

PS D:> Get-AdvancedSetting -Entity yourESXiHost -Name Disk.DiskMaxIOSize | Set-AdvancedSetting -Value 4096 -Confirm:$false

Michael

Advertisment to support michlstechblog.info

Add a comment »4 comments to this article

  1. Hi,
    I also have this Problem on ESXi 6.5 and a pure storage System. I changed the value to 4096 but I still have the bluescreen. I installes Windows 10 64bit. Any more ideas on this error?

    Reply

    • Hi Chris,

      do you have rebooted your host? I’m on ESXi 6.0 with PureStorage since I changed it the issue is gone.

      Michael

      Reply

  2. What was your DiskMaxIOSize setting before you changed it?

    Reply

    • Hi HMA

      32MB

      Michael

      Reply

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress