none
Server 2012 - Hyper-V Virtual Machine ntoskrnl.exe is corrupt 0xc0000221

    Question

  • I have a physical host Server 2012 with 2 VMs.

    One of the VMs - Server 2012 when boots up gives an error that the OS can't be loaded because the kernel is missing or contains errors

    I tried to repair, but it does not work. Is there no way to "repair" the file? I have also copied the other VM's ntoskrnl.exe over to see if that fixes the problem, but it does not.

    Any other ideas?

    Friday, May 24, 2013 4:55 PM

All replies

  • Hi,

    We found stop error 0xC0000221 information in Windows Server 2000, you may refer to following troubleshoot steps to troubleshoot and resolve this problem: (obtain a new copy of the corrupted file or reinstall the OS)

    This Stop message indicates that a driver or a system DLL has been corrupted. Typically, the name of the damaged file is displayed as part of the message.

    To remedy this error, run the Emergency Recovery Disk (ERD) and allow the system to repair or replace the missing or damaged driver file on the system partition.

    You can also run an in-place upgrade over the top of the existing copy of Windows 2000. This preserves all registry settings and configuration information, but replaces all system files. If any Service Packs and hotfixes had previously been applied, you need to reinstall them afterward in the appropriate order (latest Service Pack, then any post-Service Pack hotfixes in the order in which they were originally installed, if applicable).

    If a specific file was identified in the Stop message as being corrupted, you can try replacing that individual file manually. If the system partition is formatted with FAT, start from an MS-DOS startup disk and copy the file from the original source onto the hard disk. If the partition is NTFS, you need to restart the system, press F8 at the operating system Loader menu, and choose safe mode with Command Prompt. From there, copy a fresh version of the file from the original source onto the hard disk. If the file is used as part of the system startup process in safe mode, you need to start the computer using the Recovery Console in order to access the file. For more information about safe mode and the Recovery Console, see chapters under "System Recovery" in this book. If these methods fail, try reinstalling Windows 2000 and then restoring the system from a backup.

    For more information please refer to following MS articles:

    Troubleshooting Common Stop Messages
    http://technet.microsoft.com/en-us/library/cc957830.aspx
    "Stop error code 0xC0000221 (STATUS_IMAGE_CHECKSUM_MISMATCH)" error message occurs
    http://support.microsoft.com/kb/314474
    A Stop: 0xc000026C or Stop: 0xc0000221 "Unable to Load Device Driver" Error Occurs When You Start Windows XP
    http://support.microsoft.com/kb/315241

    Hope this helps!
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


    Lawrence

    TechNet Community Support

    Monday, May 27, 2013 6:10 AM
  • Yes. I did copy the ntoskrnl from another VM that is Server 2012, but it did not work.

    THis is odd, but when it kicks us out to a command prompt, it puts the drive as X:   . THere is also a D: drive which has all of the system folders as well.

    In any case, we can't upgrade Windows 2000, as it is 2012, unless there is another new version out there. The recovery console just keeps on looping, so that has not been any help.

    Any other ideas?

    Monday, May 27, 2013 1:35 PM
  • Hi,

    You may insert a Windows Server 2012 installation media, then select to repair the OS --> Advanced option --> Automatic Repair.

    This will help to repair boot issues. Try that and give us feedback for further troubleshooting.

    > when it kicks us out to a command prompt, it puts the drive as X:  

    This is by design, this X drive is the preinstall OS path. The D drive is the actually system drive.

    For more information please refer to following articles:

    How the Windows 8 Automatic Repair feature works
    http://www.techrepublic.com/blog/window-on-windows/how-the-windows-8-automatic-repair-feature-works/7335
    Windows NT Could Not Start...Ntoskrnl.exe" error message
    http://support.microsoft.com/kb/124550
    Error message: "Windows could not start because of a computer disk hardware configuration problem"
    http://support.microsoft.com/kb/314477

    Hope this helps!
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


    Lawrence

    TechNet Community Support

    Tuesday, May 28, 2013 3:26 AM
  • Hi,

    I would like to confirm what is the current situation? Have you resolved the problem or do you have any further progress?

    If there is anything that we can do for you, please do not hesitate to let us know, and we will be happy to help.


    Lawrence

    TechNet Community Support

    Friday, May 31, 2013 7:57 AM
  • Tried the repair. But it did not work. Though I discovered that replacing the ntoskrnl.exe created another error. The AD was corrupted and we could not recover.

    Monday, June 03, 2013 9:48 AM
  • Hi Jeff,

    Please try to run the chkdsk /f on the Windows RE command prompt. Just copy the file may not fix the issue. We may perform a in-place upgrade if needed.

    http://blogs.technet.com/b/askcore/archive/2012/10/24/upgrading-to-windows-server-2012-part-2.aspx

    Thanks.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, June 18, 2013 9:45 AM
  • Hi Aaron,

    That did not work either. AD is corrupted and I can't recover it. Luckily this was a new setup. So I've since scrapped all of it and restarted.

    Thanks for your help.

    On another note with your response.. .it's already Server 2012, what do I upgrade it to?

    Jeff

    Tuesday, June 18, 2013 12:06 PM
  • HI Jeff,

    This upgrade like in-place upgrade. Insert Windows DVD and then install the same OS version. It was like this:

    http://support.microsoft.com/kb/2255099

    Performing a repair installation will not damage files and applications that are currently installed on your computer. Thanks.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Monday, June 24, 2013 2:17 PM