ntoskrnl.exe missing

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Hi Guys,

I am getting this error on an XPPro machine:

<windows root>\system32\ntoskrnl.exe

Please reinstall a copy of the above file.


I would like to know how to reinstall this file. I searched and read that I have to use Recovery Console. Would someone be able to guide me on this issue?

Thanks in advance.

Heeter
 

j79zlr

Glaanies script monkey
Political Access
Joined
16 Feb 2003
Messages
2,725
It should be in the dllcache so boot to the RC and issue this command

copy c:\windows\system32\dllcache\ntoskrnl.exe c:\windows\system32\
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
Great, Thanks J and Nets.

Will try that right away. Copied that post onto a .doc for future as well.

Heeter
 

yoyo

_________________
Joined
29 Jul 2002
Messages
1,557
Usually there isn't a copy of Ntoskrnl.exe in the dllcache folder.

There is one inside the \Windows\Driver Cache\i386 folder.
If you have installed one of those Windows updates that replace the kernel, it is directly in this folder.
The command at the recovery console would be
copy "C:\Windows\Driver Cache\i386\ntoskrnl.exe" C:\Windows\system32

If you haven't applied one of these updates but have Service Pack 1 installed the ntoskrnl.exe is inside the sp1.cab file.
The command in this case
expand "C:\Windows\Driver Cache\i386\sp1.cab" /f:ntoskrnl.exe C:\Windows\system32

In case you don't even have SP1 installed, replace sp1.cab in the command by driver.cab.
 

Xie

- geek -
Joined
29 Sep 2003
Messages
5,275
would a "sfc /scannow" from command line find and replace that?
 

Heeter

Overclocked Like A Mother
Joined
8 Jul 2002
Messages
2,732
That's a good question, Xie.....

As for the machine itself, I won't be able to try it until tonight when I head over to this guy's place. Will keep posted.

I think I will try that sfc/scannow command as well.

Heeter
 

Xie

- geek -
Joined
29 Sep 2003
Messages
5,275
Yeah worth a shot .. much easier then reboot to recovery console an such :p Just make sure you/he has his cd ready incase it asks.
 

GoNz0

NTFS Stoner
Joined
4 Mar 2002
Messages
2,781
before you start copying files, run a chkdsk /r incase its a hard drive error that can be fixed, saved me a few times ;)
 

Members online

No members online now.

Latest profile posts

Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,004
Messages
673,460
Members
5,599
Latest member
Larry Chris