ntdetect.com file sitting in the recycling bin

By chippy32 ยท 5 replies
Aug 15, 2005
  1. for some reason i put my ntdetect.com file in the recycling bin, which is needed to start windows2000 pro. I placed my windows2000 cd to boot from it, but a few of the files on it were corrupted. unfortunately i got no boot disk, but I made four boot disks and i got to the part where they ask you to use emergency repair disk or recovery console. the recovery console lets you log in and gives you access to your windows folder (D:\WINDOWS for me)...that's it..I tried copying the ntdetect.com file to C:\ but it wouldn't let me. btw, my partition is NTFS I think. As for the second option, i have no repair disk so that's where I'm at. any ideas to fix this problem without reformatting would be great.
  2. aLSH

    aLSH TS Rookie

    To get access to other folders (other than D:\WINDOWS) type:
    set AllowAllPaths = TRUE
    in the Recovery Console.

    Also, you may want to
    set AllowWildCards = TRUE
    This allows you to use wildcards in certain commands (for example, the del *.* command)

    Happy recovering ;)
  3. RealBlackStuff

    RealBlackStuff TS Rookie Posts: 6,503

  4. thefighter

    thefighter TS Rookie Posts: 21

    You could also, download Knoppix.


    Download and Burn the ISO to a CD-R disk, and then you have unlimited access to everything, because its an Seperate Operating System on a disk. Then you can quite easily hunt down the ntdetect.com file and move it :)

  5. chippy32

    chippy32 TS Rookie Topic Starter

    thanks for the support guys. instead of using the four boot disks, i created a boot disk containg boot.ini, ntdetect.com, and ntldr file. well it worked :) ,it loaded my os and everything. so i finally restored the ntdetect.com file that was in the recycling bin, however i still get the error 'unable to load...' if i don't use that disk.
  6. RealBlackStuff

    RealBlackStuff TS Rookie Posts: 6,503

    After you have ascertained that all necessary files are there in C:\ such as ntdetect.com, ntldr, boot.ini, (optional for W2K: cmldr) as well as autoexec.bat, config.sys, io.sys, msdos.sys (the last 4 all with filesize = 0), it's tyme to do a quick repair, using the Recovery Console.
    If you have not yet installed it, insert the W2K CD:
    1. Click Start, click Run, and then type CD-ROM drive letter:\i386\winnt32.exe /cmdcons in the Open box, where CD-ROM drive letter is the drive letter assigned to your CD-ROM drive.
    2. Click OK, follow the instructions on the screen to finish Setup, and then restart your computer, booting from the W2K CD.

    At the "Welcome to Setup" screen, press F10, or press R to repair, and then C to start the Recovery Console.
    Run both fixboot and fixmbr.

    fixboot drive name:

    Writes new Windows 2000 boot sector code on the boot partition. This fixes problems where the Windows 2000 boot sector is corrupted. The Emergency Repair process also fixes the boot sector.

    where drive name: is the drive letter where the boot sector will be written. This overrides the default of writing to the system boot partition.
    fixmbr device name

    Repairs the master boot record (MBR) of the system partition. This is used in scenarios where a virus has damaged the MBR and Windows 2000 cannot start.

    WARNING: This command has the potential to damage your partition tables if a virus is present or a hardware problem exists. This command may lead to inaccessible partitions. Microsoft suggests running antivirus software before using this command.

    where device name is an optional device name that specifies the device that needs a new MBR. The name can be obtained from the output of the map command. If this is left blank, the boot device's MBR is fixed. For example:

    fixmbr \device\harddisk2

    If Fixmbr detects an invalid or non-standard partition table signature, it prompts you for permission before rewriting the MBR.

Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...