There are many reasons why it may have come up with this error
If the ntoskrnl.exe file is corrupt or missing this can also generate the error. To restore this file follow the below steps.
- Insert the Microsoft Windows XP CD. Note: If you have a recovery CD or a restore CD and not a Microsoft Windows XP CD it is likely the below steps will not resolve your issue.
- Reboot the computer, as the computer is starting you should see a message to press any key to boot from the CD. When you see this message press any key.
- In the Microsoft Windows XP setup menu press the R key to enter the recovery console.
- Select the operating system you wish to fix, and then enter the administrator password.
- Type expand d:\i386\ntoskrnl.ex_ c:\windows\system32
- You will then be prompted if you wish to overwrite the file type Y and press enter to overwrite the file.
- Type exit to reboot the computer.
This issue has also been known to be caused by a short in the ground wire in the keyboard cable. Make sure this is not the cause of your error by replacing the keyboard with a different keyboard or simply just disconnecting the keyboard from the computer.
Corrupt boot.ini file
This issue is often caused when the boot.ini is missing or improperly configured. This issue often arises after a user has recently added or removed an operating system on the computer or added or removed hard disk drives in the computer.
Make sure the line pointing to the operating system and it's drive and partition is properly configured in the [boot loader] and [operating systems] section.
To repair windows use the tut m8
the drive d mentioned might not be the drive ur cd is inWhen i try that it just tels me system cant find the file or the directory specified