The Windows XP kernel requires some necessary dll files for stable operation. but sometimes, these files may get currupt or inaccessible by viruses or other conflicting programs. As a result, you may experience your computer restart unexpectedly while using internet or etc.. Next time when you tries to boot, an error message will show up telling you that "Windows Could Not Boot. Load Needed Dll's For Kernel".
Things you need: A bootable Windows XP Professional CD
STEPS:
First of all take a note of your CD drive letter: For me, its F:
- 1. Reboot the computer, with XP CD , and press any key when a message says press any key to boot from the CD
- 2. In the Microsoft Windows XP setup menu press the R key to enter the recovery console.
- 3. Select operating system byt yping the corresponding no. and enter administrator password.
- 4. When you get a line with C:\Windows\ , type the following line without any error.(you should turn on your Caps lock and no. lock in keyboard)
EXPAND F:\I386\NTOSKRNL.EX_<SPACE>C:\WINDOWS\SYSTEM32
5. The above command line is to extract a file named NTOSKRNL.EX_ on i386 directory from XP CD and copy to system32 folder in windows. When your asked to confirm overwrite, type Y and press enter.
Type Exit and restart you PC. Check out the picture below to know how I did.