This is a nice way to fix your corrupted XP files, all you need to have is a Windows XP cd.
Just put the XP cd in the drive & go to Start->Run-> type ’sfc /scannow’. This should fix your corrupted files in XP. What this procedure does is a simple copy paste of the original file from cd to its respective location in your PC.
If important file gets corrupted which is useful while booting here is what you gotta do.
Boot from your windows XP cd, then ignore the first repair option you get (by pressing R), just move further as you do to install. When it shows you that Windows XP is already installed, then select it & there you will have repair option. So just repair it, this won’t affect any of your installed softwares.
Source: www.thinktechno.com