ntoskrnl.exe missing

Discussion in 'Windows Desktop Systems' started by Heeter, Apr 29, 2004.

  1. Heeter

    Heeter Overclocked Like A Mother

    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
     
  2. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    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\
     
    muzikool likes this.
  3. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
  4. Heeter

    Heeter Overclocked Like A Mother

    Messages:
    2,732
    Great, Thanks J and Nets.

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

    Heeter
     
  5. yoyo

    yoyo _________________

    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.
     
  6. Xie

    Xie - geek - Subscribed User Folding Team

    Messages:
    5,275
    Location:
    NY, USA
    would a "sfc /scannow" from command line find and replace that?
     
  7. Heeter

    Heeter Overclocked Like A Mother

    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
     
  8. Xie

    Xie - geek - Subscribed User Folding Team

    Messages:
    5,275
    Location:
    NY, USA
    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.
     
  9. GoNz0

    GoNz0 NTFS Stoner

    Messages:
    2,781
    Location:
    the year 2525
    before you start copying files, run a chkdsk /r incase its a hard drive error that can be fixed, saved me a few times ;)