missing or corrupt files

June 10, 2009 at 09:31:46
Specs: Windows XP
I got this error message <windows root>\system32\ntoskrnl.exe. How do I repair it?

See More: missing or corrupt files

Report •

June 10, 2009 at 09:49:01
Sometimes missing or corrupt files can be fixed by doing chkdsk /r in Recovery Console, if you have an XP CD. I do not know what CDs you have.

Description of the Windows XP Recovery Console

HOW TO: Install and Use the Recovery Console in Windows XP

How to remove Windows Recovery Console

Report •

June 10, 2009 at 10:18:07
<Windows Root>\system32\ntoskrnl.exe missing or corrupt

... some different methods here:
[Method A]

Boot to the recovery console.

* Turn on the computer, pop in the Windows XP CD.
* Reboot the computer. If the Windows XP CD does not boot up, then reboot, go into the BIOS and configure the "boot order" to boot from CD first. Lather, rinse, repeat.
* Select R for Recovery.

After getting to the Recovery Console prompt, make certain that you are in the C:\Windows path for XP (assuming that XP is on C:, that Windows was installed into the \Windows directory, and that your hard disk is readable).

Change to your CD drive - by typing "D:", "E:" or "F:" etc. -- this varies per system
but is most often:

D: [press ENTER]

Change to i386 path by typing:

cd i386 [ENTER]

Copy necessary files to root path (C: in this case) of winxp installation by typing:

copy ntldr C: [ENTER]
copy ntdetect.com C: [ENTER]

Change back to your windows path:

cd windows [ENTER]

Attempt to fix the boot record:

fixboot c: [ENTER]

Try restarting machine - if still nothing - go back into recovery console by booting
from cd Then run:

fixmbr c: [ENTER]

If it does work but you are getting an annoying boot.ini message everytime you
restart your PC now go back into recovery console as above and run:

bootcfg /? [ENTER]

[Method B]

copy d:\I386\Driver.cab c:\system32\ntoskrnl.exe /v

[Method C]

1. Boot into recovery console from Windows XP CD.

2. Rename C:\WINDOWS\system32\ntoskrnl.exe

3. Copy ntoskrnl.exe to C:\WINDOWS\system32 from C:\WINDOWS\system32\dllcache

4. Reboot
[Method D]

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
... if the above fails try to Perform a Windows XP Repair Install <<< click

"...pentathol makes you sing like a canary"
... got brain freeze

Report •

Related Solutions

Ask Question