Original post : Windows System Repair - Guide for Windows XP, Vista, 7, 8, 10.
bootcfg /rebuild
chkdsk /r /f
fixboot
By reinstalling Windows XP, you will delete all your personal files: pictures, music, movies. Backup your computer before you continue.
This program creates the Setup boot disks for Windows XP. To create these disks, you must to provide 6 blank, formatted, high-density disks. Please specify the floppy drive to copy the images to:
A:
Insert one of these disks into drive drive letter. This disk will become the Windows XP Setup Boot Disk. Press any key when you are ready.
A:\
recdisc.exe
C:\Windows\System32\
C:\
D:\
D:\Windows\System32\
C:\Windows\System32
recdisc
RecoveryDrive.exe