There are a few ways in which you can recover the said file. You need access to a computer which has a floppy drive and/or a cd burner. You can then download the windows xp boot disks over at microsoft to create boot floppies to use on your system and proceed to the windows recovery console:
, usasma's great post! )
Burn iso to cd, using a tool like imgburn.
1. In the recovery console you can select the windows install you would like to fix, should be 1, enter 1 and hit enter, type the administrative password and hit enter.
2. The prompt should show "C:\Windows."
Youll need to know where the ntdetect.com file is stored. Typically it is stored in C:\!Killbox
3. Type "cd "
4. Prompt should reflect where ever the storage location of the file is:
5. Type "copy ntdetect.com C:\"
Additional Info: If youve booted into windows.
The ntdetect.com file is generally located on the root drive. Wherever the windows directory is, its usually the C:\ drive on most typical installs. If you can show all hidden files and folders along with protected system files and do a search for ntdlr youll find where you need to place the ntdetect.com file. You can place the file there and restart the system, however you should attempt to replace the attributes on the file so as to prevent accidental deletion, these are hidden, system and read-only. .
To apply the attributes after youve copied the file over, just type cmd in the run dialog box, hit enter. In the resulting window type C:, followed by "attrib +R +S +H ntdetect.com" without quotation marks.
6. attrib +R +S +H ntdetect.com