Tech Support banner

Status
Not open for further replies.
1 - 18 of 18 Posts

·
Registered
Joined
·
15 Posts
Discussion Starter #1
I'm using an HP Pavillion ze5300. My computer would stop booting at the Windows XP screen and would not show the login screen. I tried to boot from "last know good config" without success. I hit the reset button without success. I inserted my XP disc to reboot from the disc however I got this message....

Windows could not start because the following file is missing or corrupt: <Windows root>\system32\ntoskrnl.exe

It says to reinstall a copy of the file....? How do I do that?
 

·
Registered
Joined
·
266 Posts
the ntoskrnl.exe is the core of the operating system,
the file is located at: C:\Windows\System32\ntoskrnl.exe

To replace the corrupted file, you MUST boot using either:

-Safe Mode with Command Prompt
-Recovery console (that's only if you installed)

If you don't have an extra machine to get the file from,
I'd recommend going to www.themexp.org and download any
of the boot screens for windows XP. Unzip the file(s) and
copy the ntoskrnl.exe file over the old one.

WARNINGS:

-Gold Rule: backup your original file, until you're sure it's corrupted.
-Make sure you use the correct ntoskrnl.exe file if you download the file
from the website I recommended. Usually they have two versions of the file:

a) ntoskrnl.exe (for systems that doesn't have the SP installed yet)
b) ntoskrnlSP.exe (for systems with SP installed)

even though they call it ntoskrnlSP.exe, you still have to rename it to ntoskrnl.exe
when replacing your file. They do that for the obvious reason that you can't have
two files w/ the same name inside the .ZIP file.

I HOPE that helps.
 

·
Registered
Joined
·
15 Posts
Discussion Starter #3
Breaker, Thanks for the info... a little more info would be appreciated for this technochallenged guy.

1. If I copy the file to a floppy ... how do I copy it onto the computer with the problem?

2. Don't know how to use the command prompt from safe mode, and never have used the recovery console...?

Thanks
 

·
Registered
Joined
·
15 Posts
Discussion Starter #4
Also do I copy, <windows root>\system32\ntoskrnl.exe

or do I copy system32\ntoskrnl.exe

or just ntoskrnl.exe

Sorry for sounding so stupid... but ....well maybe I am. :upset:
 

·
Citizen of the world
Joined
·
51,041 Posts
If before you get to any prompts booting the CD, you get that message, I'd suspect hardware problems. It could be a damaged CD, or some issue with the hardware. That's where I'd start the diagnosis.
 

·
Registered
Joined
·
266 Posts
first of all, the ntoskrnl.exe WILL NOT fit on a floppy,
put the file on a CD (unless you want to compress the file
using either WinZip or WinRar and create a self-extract file
that you can put on a floppy and then extract it to your PC)

•reboot your computer,
•press F8 until you get to the "boot menu"
•select "Safe Mode with Command prompt"
•When you get to the command prompt type this:
copy c:\windows\system32\ntoskrnl.exe c:\windows\system32\ntoskrnl.bkp
(that will make a backup of your actual ntoskrnl file)

•Next, insert your CD containing the file and type:
copy D:\ntoskrnl.exe c:\windows\system32\ntoskrnl.exe
(say yes to the "confirm overwrite") that will replace your actual ntoskrnl.exe file with the new one.

•type exit
•hit CTRL+ALT+DEL >shutdown >restart



NOTES:

•Feel lucky? check if you have a folder called C:\I386, you will
find a copy of ntoskrnl.exe there that you can use to replace the bad one.
If so, then the instructions I gave will change to:

copy C:\I386\ntoskrnl.exe C:\Windows\System32\ntoskrnl.exe

Let me know if that worked!
 

·
Registered
Joined
·
15 Posts
Discussion Starter #7
Thanks again, when I boot in safe mode I only get the same windows XP screen again (only smaller)

Can I do it from the recovery mode?
 

·
Registered
Joined
·
15 Posts
Discussion Starter #9
the boot process stops in the blue screen with Windows XP displayed. The screen just before it shows the screen with the user log-on names.

When I boot up in safemode with prompt, it goes to the exact same screen as before, only the screen is a small window.

I went into the recovery console and copied the existing file into a backup like you said to do. However, when I tried to copy the file from my XP CD it said that the "system cannot find the file specified"

I typed in:
copy: d:\ntoskrnl.exe> c:\windows\system32\ntoskrnl.exe

I also tried:
copy: d:\windows\system32\ntoskrnl.exe> c:\windows\system32\ntoskrnl.exe

No success. :confused:
 

·
Registered
Joined
·
266 Posts
if you use the XP CD as the source for your file, the file will be located inside the D:\i386 folder.
In that case the command should be:

copy d:\i386\ntoskrnl.exe c:\windows\system32\ntoskrnl.exe

NOTE:
I made a typo in my previous post.
the ">" character in the command shouldn't been there
sorry.
 

·
Registered
Joined
·
15 Posts
Discussion Starter #12
Breaker, really appreciate all the effort your putting it to help me.

I am working off the recovery console ...
I typed the code as you said ... the answer was
"The system cannot find the file specified"

I copied the file from my other computer onto a cd, but cannot get the drive to open while in the recovery console.??
 

·
Registered
Joined
·
15 Posts
Discussion Starter #13
I also typed the "cd drive" command into the prompt, and it also said the system cannot find the file or directory specified. Does that mean it is not reading my Disc Drive at all?
 

·
Registered
Joined
·
266 Posts
I also typed the "cd drive" command into the prompt
You typed:
D: <hit enter> right? try E: or F: it never hurts to try it :)

Does that mean it is not reading my Disc Drive at all?
yes, as johnwill mentioned, the CD drive may not be working.
if that's the case then you have 2 problems instead of one.

you know how to get into the BIOS settings, right?
if so, make sure the boot order is set as follows:

1st_CD-ROM
2nd_Floppy Disk
3rd_HC Drive
 

·
Registered
Joined
·
266 Posts
would i be better off just putting in the quick recovery discs?
It would, absolutely.
I'm just trying to avoid that option, be aware that you'll loose all the information in your HD.

Have you tried to put the ntoskrnl.exe on a floppy disk?
if it doesn't fit, try to compress the file using Winzip or Winrar.
Make sure yo choose the "auto-executable" option when compressing the file.

if you don't know how to comrpess it, send me the file as attachment. I'll compress it for you.
 

·
Registered
Joined
·
1 Posts
ive been getting the same messege... i have no clue what the cause is but i tried to zip and rar the file but i dont know how to transfer it on there...please help i dont want to lose everything
 
1 - 18 of 18 Posts
Status
Not open for further replies.
Top