PDF download Download Article PDF download Download Article

Are you seeing an error about a file in System32 called ntoskrnl.exe being missing or corrupt? This common Windows XP error might look scary, but it'll be easy to fix with this simple tutorial!

  1. Before trying the steps below, you can test to fix this error by following these 2 quick tips. Do the following:
    • Boot your Windows into Last Known Good Configuration (press F8 at startup to do so)
    • Disconnect any PS/2 or serial keyboards you may have and try again.
    • If the above doesn't work, continue to the next step.
  2. If you don't have your installation disk, check the Tips section below for alternatives. If you are unsure how to do this check out the Microsoft Knowledge base article ID: 314058 for a quick guide.
    Advertisement
  3. If this doesn’t work, boot into the recovery console once again and try the following:
  4. \boot.ini followed by enter
  5. \boot.ini followed by enter
  6. When prompted for the load identifier enter the name of the installed OS, for example Microsoft Server 2003 R2 Standard Edition followed by enter
  7. followed by enter
  8. followed by enter and then reboot.
  9. expand D:\i386\ntoskrnl.exe C:\Windows\system32 or try to run bootcfg /rebuild
  10. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I access the recovery console?
    Community Answer
    You need a recovery disk. Ask your manufacturer for one or just get the ISO from the Windows website and put it on a CD or USB key and boot from that.
  • Question
    What do I do if my boot critical file c:\windows\system32\ntoskrnl.exe is corrupt and these steps don't correct the problem?
    Community Answer
    Reinstall Windows or insert a recovery disk to reinstall and repair the missing or corrupt files.
Ask a Question
      Advertisement

      Video

      Tips

      • If you don't have a Windows installation disk, you need a disk that's called "recovery disk" or "repair disk". These types of disks are bootable and have Command Prompt tools installed.
      • To do this simply boot from the operating system install disk as per booting into the recovery console but instead of selecting R for the console select Enter to set up Windows [version] now . Press F8 to accept the Windows licensing agreement and then when it has found the installation press R to start the repair.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Running a Windows repair should be relatively safe but it is worth noting that you should read around the topic if you feel a repair is necessary.
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 330,421 times.

      Is this article up to date?

      Advertisement