This might work for you, follow it carefully:
Insert the Windows XP bootable CD into the computer.
When prompted to press any key to boot from the CD, press any key.
Once in the Windows XP setup menu press the “R” key 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 no password was set just press enter.
Copy the below two files to the root directory of the primary hard disk. In the below example we are copying these files from the CD-ROM drive letter “E”. This letter may be different on your computer.
Once both of these files have been successfully copied, remove the CD from the computer and reboot.