ntoskrnl.exe is corrupted. windows wont open

  • Netmon
  • Born
  • Born
  • No Avatar
  • Joined: Jul 31, 2005
  • Posts: 1
  • Status: Offline

Post July 31st, 2005, 5:50 am

I have the exact same issue as described above except mine's with 2000 not XP. I have successfully completed several of the repair steps as described above but I have one glaring obstical.
I'm at the REPAIR CONSOLE C:/> prompt and and the instructions say,
"CD Windows" (or in my case WINNT) I try and get "access denied".

FURTHER: I have copied the file: ntoskrnl.exe from this (ok) machine to a CDRW and attempted on the (down) mahine, to copy it (cd drive is I)
I:/> copy ntoskrnl.exe c:\winnt\system32 [enter]
access is denied
I have the administrator user name (changed) and password.
so how do I get the rights?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 31st, 2005, 5:50 am

  • digital_gangsta
  • Born
  • Born
  • No Avatar
  • Joined: Aug 14, 2005
  • Posts: 1
  • Status: Offline

Post August 14th, 2005, 9:47 pm

I have a similar thing when I boot my system.

Windows could not start because the following file is missing or corrupt:
<Windows 2000 root>\system32\ntoskrnl.exe.
Please reinstall a copy of the above file.

I was able to instal 2k pro on another partician. I got online, found this forum etc. (very cool and informative forums here i must say!) I fixed my boot.ini so I could dual boot, replaced my hal.dll, ntoskrnl.exe, and ntldr files, and still get the same message every time. so after my last boot up, I noticed something -

the part where it says '<windows 2000 root>' in the message on the black screen (I am assuming this refering to the root windows folder where the OS is at) my actual folder isnt named that. it is just named WINDOWS. so like the message should actually read <WINDOWS root>, but it does not.. it took me a while to notice that little tidbit.

so basically I can only assume that somewhere along the path of how windows loads, the folder reference to the ntoskrnl.exe has been altered, and thus the system is trying to load the ntoskrnl.exe from a folder which does not exist, and thus, the error.

so, should I rename my folder to match the message on the screen? or is there some file I missed that needs replacing? i can only guess for the most part, if I rename the folder, it will only screw up a poo pile of other things, so I didn't want to attempt that, at least till someone reads this and hopefully has a solution.....

your assistance is MOST APPRECIATED, as I have over 5 years of stuff installed on my original windows instal, and it would just plain suck totally rotten eggs with poop on em if I have to loose it all to Fdisk...
:(
  • adminhelp
  • Born
  • Born
  • No Avatar
  • Joined: Sep 15, 2005
  • Posts: 1
  • Status: Offline

Post September 15th, 2005, 9:12 am

well, I had the same error and I fixed it using CHKDSK on my UBCD cd. You can download it Here => http://www.ubcd4win.com/.

It is good for many other things too! So keep it!

David
------------------
http://www.redstickhackers.com
  • apache_no
  • Born
  • Born
  • No Avatar
  • Joined: Nov 16, 2005
  • Posts: 1
  • Status: Offline

Post November 16th, 2005, 9:18 pm

I did exactly like what U wrote and it worked but then when I restart my comp the same problem came back.

I reinstall my windows and guess what after installing SP-2 all of a sudden this problem came back. I did your suggestion again and it didn't seem to work :(

How should I tackle this problem ? any suggestion ?
  • GhostToast
  • Born
  • Born
  • No Avatar
  • Joined: Nov 21, 2005
  • Posts: 4
  • Status: Offline

Post November 21st, 2005, 12:55 pm

i have had the same thing happen. i did a defrag overnight on friday. saturday morning it said i was finished, and that there were some fragged files that could not be defragged. i am running windows xp pro SP 2 btw. the image did not look very different. so i resumed playing civilization 4 and it started to run a little choppy. sometimes the game will just do this so i closed the application and re-ran it. it crashed so i decided to reboot. the reason i'm saying all of this will become evident..

so then i get the classic error that all of us on this thread seem to be getting. the old ntoskrnl.exe. cant get in. i send it to the PC shop saturday and the guy has called me today saying that their recovery rig cant even run the windows repair on it (i would have done it myself but my windows xp cd is across the state) because it wont recognize it as a partition with windows. the only option it will offer is to format. so now they are trying to run checkdisk on it because it is only showing up as a 4 meg (vs the 120 gig, less-than-a-year-old drive that it is) drive! and it is all returning 0s... so far. i am really pissed. someone please offer me some words of advice, or at least of comfort :cry:
  • pramitroy
  • Guru
  • Guru
  • No Avatar
  • Joined: May 19, 2005
  • Posts: 1284
  • Status: Offline

Post November 21st, 2005, 1:20 pm

Have you run "sfc /scannow" ? If not insert your XP installation cd and type that command at the command prompt.
  • GhostToast
  • Born
  • Born
  • No Avatar
  • Joined: Nov 21, 2005
  • Posts: 4
  • Status: Offline

Post November 21st, 2005, 1:36 pm

i cant. i dont have the windows xp cd, as stated in my post.
  • GhostToast
  • Born
  • Born
  • No Avatar
  • Joined: Nov 21, 2005
  • Posts: 4
  • Status: Offline

Post November 21st, 2005, 1:37 pm

they have tried to use windows system recover though, using up-to-date oem versions of windows xp w/ service pak 2 i think.
  • pramitroy
  • Guru
  • Guru
  • No Avatar
  • Joined: May 19, 2005
  • Posts: 1284
  • Status: Offline

Post November 22nd, 2005, 3:03 am

What did they get using checkdisk ? If they are unsuccessful using system recovery it may be a problem with the disk itself.
  • GhostToast
  • Born
  • Born
  • No Avatar
  • Joined: Nov 21, 2005
  • Posts: 4
  • Status: Offline

Post November 22nd, 2005, 2:39 pm

i am convinced that it is the disc. they ran surface scans, even in linux...a binary image returned almost all 0's. it had 4 megs of data according to linux. so. it's DOA. i'm sad. but i am getting a replacement from maxtor cause it is still under warranty. i just wish i could get my system back in commission before thanksgiving break. i must wait for my dad to ship his windows xp cd...

the guys at the computer shop even let me borrow their windows xp service pack 2 cd so i could get started, but their's is OEM, and my product auth code is retail...so they do aren't compatible, sadly. oh postal service....please move swiftly!
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post November 23rd, 2005, 12:17 am

do u have access to the disk itself? because if so, the disk contains a text file called unattend.txt in the i386 folder. open this file and scroll down to the bottom. it will say: ProductKey = "XXXXX-XXXXX-XXXXX...". use this product key during installation and you will be able to fully install. however, u wont be able to activate but since u have an xp copy on the way u dont need to because when that gets to u you can activate your copy using that cdkey
:)
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • AFraser
  • Born
  • Born
  • No Avatar
  • Joined: Nov 27, 2005
  • Posts: 2
  • Status: Offline

Post November 27th, 2005, 4:16 pm

Hi everyone,

I came across this thread while researching my corrupt/absent NTOSKRNL.EXE problem on the internet. My problem is very similar to Netmon's problem (July/05).

I can get into the Windows XP recovery console no problem, but I just can't seem to expand NTOSKRNL.EX_ from the CD to my C:\WINDOWS\SYSTEM32 directory. I kept getting the following error: "Unable to create file NTOSKRNL.EXE". The same thing happens when I try to expand NTKRNLMP.EX_ as NTOSKRNL.EXE.

I ran CHKDSK /r, which "...found and fixed one or more errors on the volume." I tried running BOOTCFG /rebuild, but I keep getting the following error:
Quote:
"Error: failed to successfully scan disks for Windows installations. The error may be caused by a corrupt file system, which would prevent Bootcfg from successfully scanning. Use chkdsk to detect any disk errors."
I get this error no matter how many times I run CHKDSK /r.

I've tried a couple of manual edits of BOOT.INI, trying different partition numbers, etc. Nothing helped, so I put it back the way it originally was.

Now, when I look in my \SYSTEM32 directory using the repair console, NTOSKRNL.EXE has completely vanished. It was there when I first started, and I didn't delete it on purpose, unless CHKDSK did somehow.

I think a lot of my problems would be solved if I could just EXPAND that file (NTOSKRNL.EX_) from my Windows XP CD to my SYSTEM32 directory, but I can't! It's really frustrating... Does anyone else have any experience or advice regarding this? I've spent the whole weekend trying to get my computer resuscitated, and I'm starting to worry that I'll have to reinstall everything and lose important files!

Any and all advice is appreciated! Thanks!
A. Fraser
  • Rikosuave11
  • Born
  • Born
  • No Avatar
  • Joined: Dec 30, 2005
  • Posts: 4
  • Status: Offline

Post December 30th, 2005, 10:53 am

Hi Everyone,

I took the time to read and skim through all 9 pages of the postings on this thread and found that my error is somewhat unique to what everyone else is experiencing.

I'm running WIN2K. I’m not sure if it’s Pro or not. Does it matter? I know it’s not server or workstation. Anyway, I hadn't had the computer online since May, and just recently put it back online and almost immediately got a virus before i could even update my virus files and download windows security updates. It would freeze after i entered my login and password into windows. I got around it by just changing the password. I tried running the virus scan and it would freeze when scanning this particular directory. I don't remember which it was, but i seem to think it was in the system32 folder somewhere. So i just ran the virus check on every other directory, and it found nothing, but continued ot lock up if i went to a full system scan. So i took my computer back off the internet and now about 2 weeks later of little to no trouble with it, i ran into another problem:

Out of nowhere, my computer locked up in windows and i rebooted and now get the error everyone here's been talking about:

Windows could not start because the following file is missing or corrupt:
<Windows 2000 root>\system32\ntoskrnl.exe.
Please reinstall a copy of the above file.

I don't have a windows 2K CD readily available, (though i can have my brother mail me his) so i downloaded off a website the 4 floppy boot disks so that i could at least run setup of windows.

This is the link I got the boot disks from:

http://www.bootdisk.com/bootdisk.htm

From there, i tried JrzyCrim's instructions for Recovery Console, but ran into a problem.

I followed the instructions at the following link:

http://www.windowsnetworking.com/j_helmig/wxprcons.htm

But at the final blue screen, when i hit C to enter recovery console, instead of it asking me which windows 2000 installation i would like to login to, and then asking for the administrator password, it just takes me to a command prompt directly. The prompt it takes me to is C:\>, not C:\WINNT>.

I type DIR, and see the directory WINNT. I type "cd WINNT" and i get

"The system cannot find the file or directory specified"

I try JrzyCrim's code: "cd c:\winnt\system32", it says

"The system cannot find the file or directory specified"

When i try: cd "c:\winnt\driver cache\i386", i get the same thing.

But when i type "cd NVIDIA", (another directory I see in C:) it says "Access Denied", which i think it should.

So then i tried a repair installation, thinking it wouldn't be a big deal to lose the windows updates, etc. So i made a ERD from my dad's laptop which runs WIN2K Pro. I don't know if any other aspect of windows is the same, other than they're both 2K. And i tried a fast repair and a manual repair using the ERD and without using the ERD. (so 4 different tries). The steps i followed were at this link:

http://www.windows2000.windowsreinstall.com/

Each try ended with the same result. After i inserted the ERD, and pressed enter, or after i said i did not have an ERD, instead of saying it found windows 2000 in the following folder, it said

Setup cannot create the folder
\WINNT
Setup cannot continue until the folder is created
Press To Retry, Press ENTER
To quit Setup, Press F3

When i press enter, it does nothing, and i have to restart the setup, which takes me right back to where i started.

So it seems not to be seeing the entire directory WINNT. Do i need the actual Windows 2K CD to do a repair installation? Because as stated, I'm just using 4 floppy boot disks to get into windows setup.

I'm quite lost on what to do. Any help would be appreciated. And thank you in advance for your time and effort.

~Rick


JrzyCrim wrote:
Hello,

If you do a repair installation of Windows (XP?), you won't have to re-install any of your apps. However, you will have to install all of your windows hotfixes and updates. You shouldn't have to do a repair install, however.

You can use the Recovery Console on your Windows CD .

Just follow the instructions at the above link.

Once at the command prompt, type in the following commands:

Edited:
Code: [ Select ]
cd c:\windows\system32

copy "..\driver cache\i386\ntoskrnl.exe"
  1. cd c:\windows\system32
  2. copy "..\driver cache\i386\ntoskrnl.exe"

If prompted to overwite the existing file, type y and enter.

If you receive a file not found error, make sure that the path in the copy command is correct. If it is correct and you still receive the error, then try the following commands:

Code: [ Select ]
cd "c:\windows\driver cache\i386"

expand sp1.cab -F:ntoskrnl.exe c:\windows\system32
  1. cd "c:\windows\driver cache\i386"
  2. expand sp1.cab -F:ntoskrnl.exe c:\windows\system32


Again, if you are prompted to overwrite the file, type y and then enter.

Also, if your OS is installed on a partition/drive other than C:, then replace any occurance of C: with the correct letter. (D: for example).

Replace any occurence of 'windows' with what is appropriate for your system. (winnt for example)

Reboot. Your system should start up normally.
  • tomc
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 18, 2006
  • Posts: 28
  • Loc: London UK
  • Status: Offline

Post January 18th, 2006, 7:05 am

Hi I have been reading this msg board and am having a similar problem.
I had the usual (by the sounds of everyones problems) problem of a corrupt or missing ntoskrnl file. I cured that by using the recovery console on the XP install disk and expanding the file from the cd to C:

However here is the rub on restarting XP kept rebooting on start up so I went into the repair a windows setup and now I get the following error

Setup cannot create the folder \WINDOWS\driver Cache i386
setup cannot continue until the folder is created

can anyone help please.
  • beerslayer
  • Born
  • Born
  • No Avatar
  • Joined: Feb 01, 2006
  • Posts: 1
  • Status: Offline

Post February 1st, 2006, 7:26 pm

Hi, all -

I'm having pretty much the same symptoms as many others who have posted in this topic - the dreaded "ntoskrnl.exe is missing" error, but I got to the problem from a different direction. Here's my situation:

System: multi-boot, with 3 OSes: Win98, Win2kPro, RH Linux 7.3. Drive is partitioned strangely, but for all intents and purposes Win2k is on the D: drive, which the "Recovery Console" command MAP reports to be partition #4. Windows 2000 has been working just fine for years, until I decided to mess with it this afternoon and I really seem to have screwed it up badly.

What I tried to do: System is desperately low on disk space, especially on D:, the system drive. Silly me - I thought maybe I could clear up some space by reducing the size of the dllcache folder, so I set it to 50MB through the registry and then attempted to purge the old contents using the command "sfc /purgecache". BIG mistake.

What it did: It wanted to reinstall a bunch of files from the "SP4 CD", which doesn't exist and never has. I had upgraded to SP4 a long time ago, not from a CD, and did not keep the installer due to - you guessed it - low disk space. So I canceled sfc using its cancel button (I did NOT force-quit it in TaskManager).

Now I'm getting the ntoskrnl.exe missing error. But when I boot into Win98 on C:, I can check the D:\WINNT\System32\Config directory and the file ntoskrnl.exe is present and appears to be normal (it is not zero-length - about 1.6MB).

So far as I can tell, the BOOT.INI file does point at the correct drive ('Partition(4)'), but I've tried modifying it anyway (both on the HD and on a FD created as described several posts back) with no success. I'm at my wit's end here because it looks like all the necessary files are in the right places, and it still won't boot.

If you've read this far, thanks, and I hope someone can point out something else I can try. I really don't want to lose this installation.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 1st, 2006, 7:26 pm

Post Information

  • Total Posts in this topic: 233 posts
  • Users browsing this forum: No registered users and 99 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.