Ntdetect failed in windows

How to Fix Ntdetect Failed Error

1 What’s NTDETECT?

NTDETECT, the full name of which is ntdetect.com, is a component of Microsoft Windows NT operating systems that works on the x86 architecture. It’s responsible for detecting basic hardware and gathering information to boot up the operating system. When NTLDR takes over control of booting process, NTDETECT will be invoked and hardware information is collected and transferred to ntoskrnl.exe, the Windows kernel. NTDETECT.com file is included in Windows XP, 2003 and Vista,

NTDETECT Failed

When you are booting up Windows system and if ntdetect.com is deleted, damaged or corrupted, the boot process may not succeed, and the following error message will be given: «NTDETECT Failed». Sometimes, you probably have issues with the ntldr and boot.ini files as well.

2 How to Fix NTDETECT Failed Error?

Solution 1: Use Windows Recovery Console

If you have a Windows Installation Disc at hand, it’s easy to fix NTDETECT Failed issue. Do as follow:

1. Reboot computer and change boot sequence to make CD-Rom as the first boot device, insert Windows CD/DVD and restart again.

2. When the «Welcome to Setup» screen appears, press R to start the Recovery Console.

3. In Recovery Console, type the Administrator password (blank by default, so just press ENTER).

4. Execute following commands. Assuming the CD/DVD drive is D: and the system drive is C:. Change them according to your case.

copy d:i386 tldr c:

copy d:i386 tdetect.com c:

5. If an invalid boot.ini error message is prompted, you also need to create a boot.ini file by type in bootcfg /rebuild, and hit ENTER.

Add installation to boot list? (Yes/No/All) — Type Y.

Enter Load Identifier: — Type Windows XP Professional or Windows XP Home Edition for your selection in the boot menu.

Enter OS Load options: — Leave it blank, just press ENTER].

6. Take out the CD and type exit before pressing ENTER, and reboot the computer.

Solution 2: Boot up Any Computer and Fix Problems

For users who have no Windows Installation Disc or netbook users who usually have no CD-Rom,

1. Create bootable CD/DVD or usb drive with Liveboot on a booted Windows computer.

2. Insert the CD, DVD or usb drive, and reboot your computer.

3. Choose «Boot from LiveBoot» on the Boot Menu to enter the virtual system.

4. Select «Windows Recovery» and click Boot File Recovery to fix NTDETECT.com failed error.

5. When Boot File Recovery complete, restart your computer.

6. If no other issue, the NTDETECT Failed error should be fixed, and you can then see your familiar desktop.

Читайте также:  Windows 10 для acer z5710

Tips: Several problems may occur when downgrade from Windows Vista to Windows XP. Therefore, you are highly recommended to wipe clean the hard drive before installing Windows XP. And you’d better prepare all hard drivers at hands because you may find out some drivers only support Windows Vista.

3 How to recover lost data resulted from NTDETECT Failed Error

The NTDETECT Failed Error might often result in data loss on your computer. And wrong opeartions to fix the NTDETECT Fail Error are also a common reason for accidental data deletion or even formatted hard drive. When such problem occurs, you`ll probably need a powerful data recovery tool to restore all the lost files.

The Best Data Recovery Software

  • Recover files in 550+ formats from any storage device quickly, safely and completely.
  • 3 Recovery Modes to help you recover lost files under different situations
  • Supports data recovery from recycle bin, hard drive, memory card, flash drive, digital camera and camcoders
  • Preview before recovery allows you to do a selective recovery
  • Supported OS: Windows 10/8/7/XP/Vista, Mac OS X (Mac OS X 10.6, 10.7 and 10.8, 10.9, 10.10 Yosemite) on iMac, MacBook, Mac Pro etc.

Wondershare Data Recovery is capable of restoring deleted/lost files or formatted partition from hard drive (HDD and SSD), external hard drive, usb flash drive, memory card, digital camera, camcorder, iPod, Music Player and many kinds of mobile devices (Nokia, Blackberry phones and Phones with older Android OS than ICS). While offering the advanced recovery modes like Raw Recovery or Deep Scan Mode, it`s pretty easy to use:

They’re downloading

Data Recovery for Mac

(Recover lost files on Mac)

4 Modes to recover lost or deleted files from Mac quickly, safely and thoroughly.

Data Recovery

(Recover lost files)

Recover files in 550+ formats from your computer storage quickly, safely and completely.

NTDETECT failed: Fix for Windows XP

Get the fix to the NTDETECT failed boot error message and other NTDETECT.COM problems affecting Windows XP, Windows 2000 and Windows Server 2003.

About “NTDETECT failed”

The following information on this error has been compiled by NeoSmart Technologies, based on the information gathered and reported by our global network of engineers, developers, and technicians or partner organizations.

Description and Symptoms

The error messages, alerts, warnings, and symptoms below are tied to this error.

Symptom 1: NTDETECT failed error screen on startup

NTDETECT.COM is a helper program invoked by NTLDR (the Windows XP and Server 2003 bootloader) to detect basic hardware required to start the operating system. NTDETECT passes this hardware information back to NTLDR which then gives control to ntoskrnl.exe, the Windows NT kernel. However, if NTDETECT.com is not found, or is unable to execute properly, then a message stating “ntdetect failed” may be displayed. This message is also often encountered when attempting to boot into the Windows XP setup CD.

For more information on how computers start up and how the Windows XP boot process works, please refer to the respective pages in our extensive wiki and knowledgebase.

Causes of this Error

This error has been known to occur as a result of one of the following causes:

Cause 1: Incompatible NTDETECT version

NTDETECT.COM ships with Windows and is typically installed from the Windows setup CD.

Older versions of NTDETECT have problems reading NTFS filesystems from newer drives and identifying/communicating with newer hardware. If NTDETECT.COM is downgraded to an older version for some reason (incomplete or interrupted Windows installation or setup attempt, incorrect Windows Update hotfix installed, etc.), this error may present.

Читайте также:  Windows 10 forced vsync

Cause 2: NTDETECT file is missing or is corrupt

NTDETECT, located in the root of the boot partition on disk 0, is an essential part of the boot process. If it is accidentally deleted, moved to another folder, or becomes corrupt, probably because of user errors, sudden loss of power during writes to the boot partition, or virus infection, then this error appears and the boot process is halted.

Cause 3: Compressed NTDETECT.COM file

NeoSmart’s computer troubleshooting engineers have identified that one of the most common (yet unidentified) cases of “NTDETECT failed” errors is as the result of incorrect or improper compression of the boot partition.

Key Windows boot files must never be compressed, and many 3rd party products will attempt to compress all files on the system partition — including NTLDR, BOOT.INI, and NTDETECT.COM — resulting in this error. Also attempts at compressing the boot partition with DoubleSpace, DriveSpace, or manually enabling NTFS file compression will cause this error to occur as well.

Cause 4: Fragmentation of NTDETECT.COM

On NTFS or FAT partitions with a small enough cluster size, NTDETECT.COM may be written to non-adjacent clusters through an occurrence known as file fragmentation.

It is unknown whether any of the NTLDR versions that Microsoft has shipped over the years are capable of reading an NTDETECT.COM file spread over multiple non-consecutive clusters on-disk, and NTDETECT should be defragmented to be stored on consecutive blocks on the filesystem to resolve this scenario.

Guaranteed Fix: Use Easy Recovery Essentials

Easy Recovery Essentials is guaranteed to fix the “NTDETECT failed” error automatically using its built-in Automated Repair option. EasyRE is currently available for Windows XP, Vista, 7 and 8 and can be downloaded and created on any PC.

  1. Download Easy Recovery Essentials. Make sure to note your Windows version (XP, Vista, 7 or 8) before you download EasyRE. This guide can help you identify what version of Windows you have installed.
  2. Burn the image. Follow these instructions on how to burn the bootable ISO image very carefully, as making a bootable CD can be tricky! Alternatively, these instructions explain how to create a bootable EasyRE recovery USB stick/drive.
  3. Boot up your PC from the Easy Recovery Essentials CD or USB you created.
  4. Once EasyRE is running, choose the “Automated Repair” option and click Continue .

Choose “Automated Repair” in Easy Recovery Essentials

Choose the drive associated with the Windows installation you’re trying to repair.

Easy Recovery Essentials searches for errors and makes corrections to the selected Windows installation.

Windows, booting up successfully.

You can download Easy Recovery Essentials from here.

Other fixes for NTDETECT failed in Windows XP

Windows Setup CD/DVD Required!
Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use Easy Recovery Essentials for Windows instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.

Fix #1: Restore NTDETECT.COM

If the NTDETECT file itself has become corrupted or damaged as a result of one or more of the scenarios explained above, or if an older/incompatible version of NTDETECT has been installed to the system partition, the following instructions will revert it to the correct, compatible version.

It is imperative that the correct Windows setup CD (i.e. with the correct service pack and correct 32- or 64-bit architecture) is used for the procedure!

If ntdetect.com is in fact missing or corrupt, the user can restore the original ntdetect.com file back from the Windows XP installation disc.

Here are the steps to do it:

  1. Insert Windows XP install CD in the PC
  2. Restart the computer and boot from the CD
  3. Press any key to boot from the CD
  4. Press R when the Windows Options menu is reached to access Repair Console
  5. After this step, log into Windows by pressing 1 using the Administrator password
  6. Use the following commands to copy the NTLDR and NTDETECT.COM files from the Windows installation disk to the hard disk:

Where D:\ is the install CD’s drive letter and C:\ is a PC’s Windows XP partition’s drive letter

  • Once these files are copied, remove the Windows installation disc from the disc drive
  • Restart the PC
  • Here is an example of what the PC’s console output should look like once the NTDETECT.com file is restored:

    Replacing the ntdetect.com file

    Fix #2: Defragment NTDETECT

    If the NTDETECT failed error message is caused by file fragmentation, it can be resolved by attempting to defragment either the individual NTDETECT.COM file or the filesystem it is on. It is possible to defragment NTDETECT.COM by using the free contig utility from Microsoft (originally developed by Sysinternals). Here are the steps to do it:

    1. Download contig.zip from Microsoft at this link
    2. Extract contig.exe from contig.zip
    3. Launch a command process window (Start | Run | cmd.exe) and use CD to navigate to the directory you extracted contig.exe
    4. Finally, run contig.exe against the NTDETECT.COM file that should be defragmented:
    5. Wait for it to finish.

    Here is an example of what the PC’s console output should look like once contig.exe is done defragmenting the NTDETECT.com file:

    Defragmenting the NTDETECT.COM file

    Fix #3: Using chkdsk to repair filesystem errors

    If this problem is being caused by a corrupt boot or system partition, it may be repaired by scanning the NTFS or FAT32 partition for errors or corruption. chkdsk will verify files and data on the disk.

    Here are the steps:

    1. Insert your Windows CD; restart your computer.
    2. Boot into the CD by pressing any key when the “Press any key to boot from CD” message appears on your computer.
    3. Press R to open the Recovery Console once at the Options menu.
    4. Type in your Administrator password; hit Enter
    5. At the command prompt, type in the following command and press Enter
    6. After the chkdsk process is completed, restart your computer. Make note of any warnings or alerts that chkdsk prints.

    Here is an example of what the PC’s console output should look like once the chkdsk.exe is complete:

    Windows XP chkdsk result screen

    More Information

    Linked Entries

    The errors below have been verified as being associated with or related to this problem:

    It’s an easy-to-use and automated diagnostics disk. It’s available for Windows 8, Windows 7 and Windows Vista. It’s also available for Windows XP and Windows Server.

    Read more at Windows Recovery Disks.

  • The NeoSmart Support Forums, member-to-member technical support and troubleshooting.
  • Get a discounted price on replacement setup and installation discs: Windows XP.
  • Applicable Systems

    This Windows-related knowledgebase article applies to the following operating systems:

    • Windows XP (all editions)
    • Windows Server 2003 (all editions)
    Читайте также:  Какие обновления не ставить для обновления до windows 10
    Оцените статью