- If you need clarification, ask it in the comment box above.
- Better answers use proper spelling and grammar.
- Provide details, support with references or personal experience.
Tell us some more! Your answer needs to include more details to help people.You can't post answers that contain an email address.Please enter a valid email address.The email address entered is already associated to an account.Login to postPlease use English characters only.
Tip: The max point reward for answering a question is 15.
The NTLDR and Ntdetect.com files are important system files that are used by your computer to start the Windows XP operating system. These files can become damaged, corrupted or deleted for a number of reasons and are usually brought to your attention by the "NTLDR is Missing" error message.
Follow these easy steps to restore the damaged/corrupted or missing NTLDR and Ntdetect.com files from the Windows XP CD using the Recovery Console.
Time Required: Restoring the NTLDR and Ntdetect.com files from the Windows XP CD usually takes less than 15 minutes
Boot your system using a Windows XP CD, press any key when the windows display "press any key to boot from CD"and wait for some time, select "r" option to go to recovery console. it will ask you for administrator password too.
When you reach the command prompt type the following two commands, pressing Enter after each one: copy d:\i386\ntldr c:\ copy d:\i386\ntdetect.com c:\
In the command listed above, d represents the drive letter assigned to the optical drive that your Windows XP CD is currently in. While this is most often d, your system could assign a different letter. Also, c:\ represents the root folder of the partition that Windows XP is currently installed on. Again, this is most often the case but your system could be different.
If you're prompted to overwrite either of the two files, press Y.
Take out the Windows XP CD, type exit and then press Enter to restart your PC.
Assuming that missing or corrupt versions of the NTLDR and/or Ntdetect.com files were your only issues, Windows XP should now start normally.
I assume you are using Windows XP. This is what you do:
Windows XP users
Get a Windows Installation CD. It doesn't have to be yours, anyone will do.
Insert the Windows XP CD into the computer.
When prompted to press any key to boot from the CD, press
Once in the Windows XP setup menu press the "R"
key to lauch the Recovery Console to repair Windows.
Log into your Windows installation by pressing the
"1" key and pressing enter.
You will then be prompted for your administrator password,
enter that password. If you have none set, just press Enter without typing anything.
Copy the below two files to the C:\
directory of the primary hard disk. In the below example, the files from the CD-ROM drive (which in this case is
"D:\" are copied to the C:\ drive. This letter may be different on your computer.
Try the following
Insert the Windows XP bootable CD into the optical (CD or DVD) drive and restart the notebook. When prompted to press any key to boot from the CD , press any key on the keyboard. Once in the Welcome to Setup screen, press the R key to repair Windows. Press the 1 key and then press Enter . Type the Administrator password at the prompt. Type the following commands in order
ren ntldr ntldr.old
expand d:\i386\ /f:ntldr
Remember to press enter after every command
Now your computer will restart, and check if the problem cures
The only way I know system files get compressed is through "Disk Cleanup" unless it's done manually.
You can try and boot into safe mode and decompress the file:
1. Restart computer
2. Start tapping the F8 key on your keyboard until you get a menu of boot options.
3. Select Safe Mode
4. Your machine will boot in a diagnostic looking mode, but should allow you to get to your desktop
5. Go to the START MENU and select RUN
6. Type in: cmd
7. Click OK (this will take you to a command line)
8. Type in >cd c:\windows
(Note: not necessary to type the ">". It's only there for reference)
9. Hit the ENTER key
10. Type in >compact /U /S /A /I *.*
11. Hit the ENTER key
12. Let it run it's course until you return to a c:\windows> with a blinking curso.
13. Type in >exit
14. Hit the ENTER key
15. Restart the computer.
I would be anxious to see if this works for you. NTLDR is a system file and might not allow access to it while in the actual operating system. The next option would be to use a 3rd party boot utility like BartPE with the "compact" application packaged with it or the only other option to reload the Operating System. Remember to backup your files before reloading. You could use an IDE/SATA to USB converter to connect your Hard Drive in your computer to another computer using the USB interface and backup all your files. The converters usually cost close to $30.