Question Locked

Backup Drive When Windows Is Corrupted

0 helpful
24 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I recently got a trojan on my computer, Onecare decided that my subscription had run out so I was unprotected for a couple days until I noticed. The trojan has corrupted one of my Vista boot files, the notorious ntoskrnl.exe. I know I probably wont be able to fix it. I only have a system restore disk, not a Windows install disk, but I want to backup my files before I do my complete restore. I have another drive, its internal (connected from esata to sata into my pc) and it has about 200gb left on it. The drive I want to backup is only 80gb. I tried using the command prompt to copy the files, but the xcopy /e command I used started, and then my other drive stopped being recognized. I got the trial of Acronis's bootable backup disk thing, and I can get it to work, but the trial wont let me back it up. I'm thinking of using the UBCD for windows, once it downloads. Are there any free programs that will let me backup my files without loading into windows? Or, even better, do you know how to fix my ntoskrnl.exe? Any help appreciated, thanks in advance.

G

24 replies

by rob miners

Here is a link to How to Repair Vista Startup.

http://www.bleepingcomputer.com/tutorials/tutorial148.html

The Windows Vista Recovery CD can be used to Boot your PC.

Creating a Windows Vista Recovery CD

http://blogs.techrepublic.com.com/window-on-windows/?p=622

Download from here:

http://coblitz.codeen.org/neosmart.net/downloads/guides/Vista_Repair/Vista_Recovery_Disc_x86.iso

Boot from the CD and follow the previous instructions.

Startup Repair is an automated repair process that scans your Vista installation for problems and attempts to automatically fix them. When you select to repair Vista from the Vista setup screen, and Vista detects problems, this process will be started automatically.

Let us know how you get on.

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by gsparx25

I actually have the recovery CD, that was the only way I was able to access my drives with the command prompt. I ran the repair, but all it found was that the ntoskrnl.exe was corrupt, and it couldn't fix it. I am running NimbleX (A version of Linux) off of a live cd right now. I tried just a standard copy of some of the files I needed most, but after it finished copying, it was almost like other drive wasn't connected. It wouldn't open any of my folders, saying it couldn't find them. A similar thing happened when I tried to just dump all my files onto my other drive in command prompt. Maybe I'm having a drive problem? But the corrupt vista installation is not on the drive that is becoming unrecognizable. Maybe I should just clarify the drives so it doesn't get confusing. My original drive, drive c:, is the one with vista on it, and the one I'm trying to get the data off of. My other drive, e: is the one I'm trying to put the data on. It is connected via esata to sata into my mobo. All I really need to do is backup my C: drive so I can do a clean install of vista. Any help appreciated, sorry for the long post.

thanks

G

by rob miners

Remove the second SATA Drive until you get your main Drive working.

Boot from the Vista DVD and on the first screen click Next, click Repair your computer, click Next and select Command Prompt. Type in chkdsk c:/r and Press Enter.

If that doesn't work try this.

http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3029000&SiteID=17

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by Former member

To really repair this you should get hold of a Windows disk.

NTOSKRNL.EXE is missing or corrupt.

Related errors:
Below is a listing of the full error message that may be related to this error.
Windows NT could not start because the below file is missing or corrupt:
C:\Winnt\System32\Ntoskrnl.exe
Cause:
1.Keyboard issue
2.Miscellaneous corruption
3.Corrupt boot.ini file.
4.Missing boot.ini file.
5.Missing or corrupt ntoskrnl.exe file.
6.Windows NT installed on a partition bigger then 7.8GB
7.Corrupted hard disk drive or severely corrupted Windows.
Solution:
Keyboard issue
This issue has also been known to be caused by a short in the ground wire in the keyboard cable. Make sure this is not the cause of your error by replacing the keyboard with a different keyboard or simply just disconnecting the keyboard from the computer.
Miscellaneous corruption
Before trying any of the below recommendations it's recommend that you attempt to load the last known good configuration.
Corrupt boot.ini file
This issue is often caused when the boot.ini is missing or improperly configured. This issue often arises after a user has recently added or removed an operating system on the computer or added or removed hard disk drives in the computer.
Make sure the line pointing to the operating system and it's drive and partition is properly configured in the [boot loader] and [operating systems] section. Additional information about boot.ini can be found on document CH000492 :

The "boot.ini" is a Microsoft initialization file found on the Microsoft Windows NT, Microsoft Windows 2000, and Microsoft Windows XP operating systems. This file is always located on the root directory of the primary hard disk drive. In other words, it is located at "C:\" directory or the "C Drive". This file is used by Microsoft Windows as a method of displaying a menu of operating systems currently on the computer and allowing the user to easily select which operating system to load. In addition, this file is also used to point to the locations of each of the operating systems.
Basic example of the boot.ini file
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect
In the above example, the boot.ini contains two sections, the "[boot loader]", and "[operating systems]". Within the boot loader section there are two lines. The "timeout" line is used for how long the boot menu time should be displayed, in seconds; we recommend that the timeout be set to at least five if you wish the computer to boot faster and commonly use the default operating systems. The "default" line is the default operating system that the boot.ini will load. If multiple operating systems are in the boot.ini, the default operating system will be automatically selected and used if the user does not specify a different operating system by the time the timeout value expires.
Missing or corrupt ntoskrnl.exe file
If the ntoskrnl.exe file is corrupt or missing this can also generate the error. To restore this file follow the below steps.
1.Insert the Microsoft Windows XP CD. Note: If you have a recovery CD or a restore CD and not a Microsoft Windows XP CD it is likely the below steps will not resolve your issue.
2.Reboot the computer, as the computer is starting you should see a message to press any key to boot from the CD. When you see this message press any key.
3.In the Microsoft Windows XP setup menu press the R key to enter the recovery console.
4.Select the operating system you wish to fix, and then enter the administrator password.
5.Type expand d:\i386\ntoskrnl.ex_ c:\windows\system32
6.You will then be prompted if you wish to overwrite the file type Y and press enter to overwrite the file.
7.Type exit to reboot the computer.

Corrupted hard disk drive or severely corrupted Windows
Attempt to check the hard disk drive for any errors by running the chkdsk error. To do this follow the below steps.
1.Insert the Microsoft Windows XP CD. Note: If you have a recovery CD or a restore CD and not a Microsoft Windows XP CD it is likely the below steps will not resolve your issue.
2.Reboot the computer, as the computer is starting you should see a message to press any key to boot from the CD. When you see this message press any key.
3.In the Microsoft Windows XP setup menu press the R key to enter the recovery console.
4.Select the operating system you wish to fix, and then enter the administrator password.
5.Once at the recovery console type chkdsk /r
6.Once completed type exit and see if issue is resolved.

Please post back if you have any more problems or questions.
If this info is useful, please mark it helpful. Thanks

by gsparx25

Is this for XP or Vista? I'm running Vista right now. I've heard the problem is caused by the same thing in both operating systems, but the fixes for them are completely different. Any more suggestions/help is welcome.

Thanks

G

by Former member

But either way you will need a Windows disk of the same flavour of which you are using.
Hope this helps you.

Please post back if you have any more problems or questions.
If this info is useful, please mark it helpful. Thanks

by gsparx25

I would try to copy the files as stated in the second forum you sent me to, but I looked in the vista fix cd that I have (not a full vista install) and the files that I needed are not there. I might be able to borrow a full install from a friend, in the meantime, I'm backing up (basically copying and pasting, probably not going to help a ton) my c: drive to my e: through NimbleX. Kinda a hassle. Thanks for the help, any more suggestions are welcome.

G

by rob miners

if you can get to the command prompt with the Recovery CD. The driver files that you need to replace are in the drivers folder copy them across to system32 to replace the ones in there. There isn't actually anything wrong with ntoskrnl.exe.

< afterthought you could use your linux CD. >

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by gsparx25

The only folders on the disk are a boot folder, a sources folder, and a bootmgr file. Inside the boot folder there are a bcd file, a boot.sdi and a bootfix.bin. In the sources folder there is a boot.wim file. If I borrowed a full vista install from a friend would I be able to find the files then?

Thanks

G

by gsparx25

For some reason it wouldn't let me reply to your most recent post so I'll do it here. Where is the ntoskrnl.exe backup file? I checked in my C drive and I couldn't find a "Drivers" folder. I did a search for ntoskrnl.exe and I found a couple, but the one I copied didn't change anything.

Thanks

G

by rob miners

are on your C: Drive not on the DVD.

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by gate keeper

is a gui opensource tool that has helped me out in similar situations before.

it load a windows explorer window that makes it easier to navigate your folders and files copy everything the a flash drive.

if you dont have a windows vista disk .. and you have another computer with a similar build why not make an image of the good one and after copying your files apply it to this machine ?

by gsparx25

is an old 2000 pc running XP home. I don't think it will help. But I'll try Pablo Commander, it sounds like it will help.

Thanks

G

by rob miners

the drivers folder into system32 and try a restart. There is no backup of hal.dll and ntoskrnl.exe. I thought that you said that you are using linux to backup your files so you can do a reinstall. How are you going to reinstall if you haven't access to the Vista DVD is it on a Recovery Partition.

by gsparx25

the windows version is the system restore disk, so I'm guessing I have a hidden partition somewhere. If I could get access to the partition, might the files that I need be there? And in the post where you sent me to the other forum, it says to restore a bunch of .sys files and such. Where do I restore them from?

Thanks

G

by rob miners

are in C:\Windows\System32\drivers

copy them to C:\Windows\System32

Restart the PC when you have copied them and see if you have access.

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by gsparx25

of the files I was supposed to copy was the acpi.sys. I found it in the drivers folder, but there isn't one in the system32 folder. Another thing, I did a search for ntoskrnl.exe and I found like 4 versions of it in the windows/winsxs folder. Could any of these be backup versions of the other one? Or will they not help at all.

Thanks

G

by rob miners

even though there is probably nothing wrong with it. Check the date and time stamp on it compared to the original as you haven't said whether or not you have SP1.

by rob miners

When you restarted with Vista Recovery CD and did the Startup Repair did you get any indication that it had detected problems and was going to repair them.

Then when you restarted you had the ntoskrnl.exe problem again.

Try restarting with Vista Recovery CD and do a Startup Repair again and see if you can't select the Drive to Repair.

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by gsparx25

for all the help guys. I finally just ended up backing up all my files through Linux, and wiping my hard drive. I'm currently in the process of reinstalling my software and getting my files back on. A pain, but at least I have my data.

Thanks to all

G Out

by pcs365.8

Try this if your using windows 7.
Remove ntoskrnl.exe

Step.1
Insert the Windows 7 disk into your Dvd-ROM drive

Reboot your computer by going to Start >> Shutdown >> Restart.

Press Any key when prompted to by Windows after you've rebooted the PC.

This will cause the Windows 7 disk to boot up.

Press the R key to enter the Windows Recovery Console.

Then select the Windows 7 OS from the list of operating systems to repair

Enter the Administrative password when prompted

Type expand d:\i386\ntoskrnl.ex_ c:\windows\system32 and hit the Enter key.

If you receive an error message saying the drive does not exist

then type in e:\i386\ntoskrnl.ex_ c:\windows\system32" instead

Type Y & press the Enter Key to overwrite the corrupted file

Type Exit to reboot the computer

Boot into normal Windows mode and you will stop receiving the Ntoskrnl.exe error message \r

by xnavydk

check the date of the post, its over a year old. thanks for the info though.

This discussion is closed to new replies.