ntoskrnl.exe missing

Heeter

Overclocked Like A Mother
Joined
Jul 8, 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 User
Joined
Feb 16, 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
Jul 8, 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
Jul 29, 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
Sep 29, 2003
Messages
5,274
would a "sfc /scannow" from command line find and replace that?
 

Heeter

Overclocked Like A Mother
Joined
Jul 8, 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
Sep 29, 2003
Messages
5,274
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
Mar 4, 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

Electronic Punk wrote on Sazar's profile.
Where are you buddy? :(
Perris Calderon wrote on Electronic Punk's profile.
Hey ep!

All good with me, applying for microsoft mvp right now, should have done this a while ago.

Notifications don't work, I only found your response by comming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier, mine is perriscalderon at gmail
Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?

Forum statistics

Threads
61,978
Messages
673,285
Members
89,063
Latest member
rahulpandy