Microsoft KB Archive/318728

= How to troubleshoot the &quot;NTLDR Is Missing&quot; error message in Windows 2000 =

Article ID: 318728

Article Last Modified on 3/22/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q318728





SUMMARY
This step-by-step article describes methods that you can use to troubleshoot the &quot;NTLDR Is Missing&quot; error message that you may receive when you try to start Microsoft Windows 2000.

How to Troubleshoot the &quot;NTLDR Is Missing&quot; Error Message
When you start your Windows 2000-based computer, you may receive the following error message:

NTLDR is missing

Press any key to restart

This problem may occur if the basic input/output system (BIOS) on your computer is outdated, or if one or more of the following Windows boot files are missing or damaged:

Ntldr

Ntdetect.com

Boot.ini

To resolve this issue, verify that the BIOS on your computer is current, and then use one or more of the following methods, as appropriate to your situation, to repair the Windows 2000 startup environment.

IMPORTANT: Microsoft recommends that you fully back up your data on a regular basis. This is the best defense against data loss, and it must be a part of any disaster recovery plan.

Verify That the BIOS on the Computer Is Current
Make sure that the latest revision for BIOS is installed on the computer. Contact the computer manufacturer to inquire about how to obtain, and then install the latest BIOS update that is available for the computer.

For information about how to configure and how to verify the correct BIOS settings for the computer, see the computer documentation or contact the manufacturer of the computer. For information about how to contact your computer manufacturer, click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:

65416 Hardware and software vendor contact information, A-K

60781 Hardware and software vendor contact information, L-P

60782 Hardware and software vendor contact information, Q-Z

For more information about how to contact BIOS manufacturers, click the following article numbers to view the articles in the Microsoft Knowledge Base:

243909 List of BIOS manufacturer Web sites Part 1

243971 List of BIOS manufacturer Web sites Part 2

To repair the Windows startup environment, use one or more of the following methods, as appropriate to your situation.

Method 1: Use a Boot Disk to Start the Computer
 Create a Windows 2000 boot disk that contains the following files:

Ntldr

Ntdetect.com

Boot.ini

Ntbootdd.sys

For more information about how to create a boot disk, click the following article numbers to view the articles in the Microsoft Knowledge Base:

301680 How to create a boot disk for an NTFS or FAT partition in Windows

101668 How to use a Windows boot disk to prevent boot failure

 Modify the Boot.ini file to point to the correct hard disk controller and to the correct volume for your Windows installation. For more information about how to create a boot disk, click the following article number to view the article in the Microsoft Knowledge Base:

311578 How to edit the Boot.ini file in Windows 2000

 Insert the boot disk into the computer's floppy disk drive, and then restart the computer. Copy the Ntldr file, the Ntdetect.com file, and the Boot.ini file from the boot disk to the system partition of the local hard disk.

Method 2: Use the Recovery Console
 Use the Windows 2000 Setup disks to restart the computer, or use the Windows 2000 CD-ROM to restart the computer. At the Welcome to Setup screen, press R to repair the Windows 2000 installation.</li> Press C to repair the Windows 2000 installation by using the Recovery Console.</li> Type the number that corresponds to the Windows installation that you want to repair, and then press ENTER. For example, type 1, and then press ENTER. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

229716 Description of the Windows Recovery Console

</li> Type the Administrator password, and then press ENTER.</li> Type map, and then press ENTER. Note the drive letter that is assigned to the CD-ROM drive that contains the Windows 2000 CD-ROM.</li> Type the following commands, pressing ENTER after you type each one, where  is the drive letter that you typed in step 4 of &quot;Method 2: Use the Recovery Console,&quot; of this article:

copy :\i386\ntldr c:\

copy :\i386\ntdetect.com c:\

If you are prompted to overwrite the file, type y, and then press ENTER.

NOTE: In these commands, there is a space between the ntldr and c:\, and between ntdetect.com and c:\.</li>  Type the following command, and then press ENTER:

type c:\Boot.ini

A list similar to the following list appears: <pre class="fixed_text">[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT

[operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Professional&quot; /fastdetect If you receive the following message, the Boot.ini file may be missing or damaged:

The system cannot find the file or directory specified.

</li> If the Boot.ini file is missing or damaged, create a new one. To do so, follow these steps:   Use a text editor, such as Notepad or Edit.com, to create a boot loader file similar to the following boot loader file: <pre class="fixed_text">[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT

[operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Professional&quot; /fastdetect For more information, click the following article number to view the article in the Microsoft Knowledge Base:

102873 Boot.ini and ARC path naming conventions and usage

301680 How to create a boot disk for an NTFS or FAT partition in Windows

</li> Save the file to a floppy disk as Boot.ini.

NOTE: If you used Notepad to create the file, make sure that the .txt extension is not appended to the Boot.ini file name.</li> Type the following command at the Recovery Console command prompt to copy the Boot.ini file from the floppy disk to the computer:

copy a:\Boot.ini c:\

</li></ol> </li> Type exit, and then press ENTER. The computer restarts.</li></ol>

Method 3: Use the Windows 2000 CD-ROM
 Insert the Windows 2000 CD-ROM into the computer's CD-ROM drive or DVD-ROM drive, and start Windows 2000 Setup.</li> On the Welcome to Setup page, press R.</li> <li>On the Windows 2000 Repair Options page, press R.</li> <li>When you are prompted to select one of the repair options, press M.</li> <li>Press the UP ARROW, press the UP ARROW again, to select Verify Windows 2000 system files, and then press ENTER to clear the selection.</li> <li>Press the DOWN ARROW to select Continue (perform selected tasks), and then press ENTER. The following message appears:

You need an Emergency Repair disk for the Windows 2000

installation you want to repair.

</li> <li>Do one of the following, as appropriate to your situation: <ul> <li>If you have an Emergency Repair Disk, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Press ENTER.</li> <li>Insert the Emergency Repair Disk into the computer's floppy disk drive, and then press ENTER.</li> <li>Follow the instructions to repair the installation, and then restart the computer.</li></ol>

-or-</li> <li>If you do not have an Emergency Repair Disk, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Press L. You receive a message similar to the following:

Setup has found Windows 2000 in the following folder:



</li> <li>Press ENTER.

Setup examines the disks, and then completes the repair process.</li></ol> </li></ul>

For more information about the emergency repair feature, click the following article number to view the article in the Microsoft Knowledge Base:

231777 How to create an Emergency Repair Disk in Windows 2000

</li></ol>

If Setup Cannot Locate Windows 2000
If you do not have a Windows 2000 Emergency Repair Disk, and if Setup cannot locate the Windows 2000 installation, follow these steps: <ol> <li>Start Windows 2000 Setup.</li> <li>On the Setup will install Windows 2000 on partition page, select Leave the current file system intact (no changes), and then press ENTER.</li> <li>Press ESC to install Windows 2000 to a new folder.</li> <li>In the Select the folder in which the files should be copied box, type \tempwin, and then press ENTER.

Setup installs a new copy of Windows 2000.</li> <li>Log on to the new copy of Windows 2000.</li> <li>Click Start, and then click Run.</li> <li>In the Open box, type cmd, and then click OK.</li> <li>At the command prompt, type :, where   is the boot drive of the computer, and then press ENTER. For example, type c:, and then press ENTER.</li> <li>Type attrib -h -r -s Boot.ini, and then press ENTER.</li> <li> Type edit Boot.ini, and then press ENTER.

Edit.com opens a Boot.ini file that is similar to the following file: <pre class="fixed_text">[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\TEMPWIN [operating systems] multi(0)disk(0)rdisk(0)partition(1)\TEMPWIN=&quot;Microsoft Windows 2000 Professional&quot; /fastdetect

</li> <li> Replace all instances of TEMPWIN with WINNT. The Boot.ini file that appears is similar to the following file: <pre class="fixed_text">[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Professional&quot; /fastdetect

</li> <li>Press ALT+F, and then press S.</li> <li>Press ALT+F, and then press X.</li> <li>Type attrib +h +r +s Boot.ini, and then press ENTER.</li> <li>Type exit to quit the command prompt.</li> <li>Restart the computer.</li> <li>At the Please select the operating system to start screen, use the ARROW keys to select Microsoft Windows 2000, and then press ENTER.</li> <li>Start Windows Explorer, locate the following folders, and then delete them:

Tempwin

All Users.Tempwin

</li></ol>

Additional Resources
For more information about how to troubleshoot the &quot;NTLDR is Missing&quot; error message, click the following article numbers to view the articles in the Microsoft Knowledge Base:

255220 &quot;NTLDR is missing&quot; error message when you upgrade or install Windows 2000 over Windows 95, Windows 98 or Windows Millennium Edition

228004 Changing active partition can make your system unbootable

883275 You cannot start your computer after you modify the permissions in Windows Server 2003, in Windows XP, or in Windows 2000

Perform a Parallel Installation of Windows 2000
If you cannot resolve the behavior described in the &quot;Symptoms&quot; section of this article by using any of the methods discussed in this article or by viewing the Knowledge Base articles in the Additional Resources section of this article, perform a parallel installation of Windows 2000, and then use Windows Explorer to copy the data that you want to recover from your original Windows installation.

For more information about how to perform a parallel installation of Windows 2000, click the following article number to view the article in the Microsoft Knowledge Base:

266465 How to perform a parallel installation of Windows 2000 or Windows Server 2003

<div class="references_section">