Boot from the Windows XP installation CD.
At the "Welcome to Setup" screen, press R to start Recovery Console. Choose the installation to be repaired by number (usually 1) and press "Enter".
When you are asked for the Administrator password, leave it blank and press "Enter".
At the command prompt, type chkdsk /r and press "Enter". (Note the space before /r) The disk check operation will start.
This will be a very thorough check of the hard drive and the file system...be patient and let it complete. It may appear to hang or even back up a few times...this is normal. 60 to 90 minutes is not unusual for this check...it may take longer in some cases.
Once the check completes and you are back at the command prompt, type exit and press "Enter". Let your computer boot normally to Windows.
place the windows cd in your CD ROM drive and follow the instructions below:
- Click on Start and select Run... type sfc /scannow (note the space) (Let this run undisturbed until the window with the blue progress bar goes away)
SFC - Which stands for System File Checker, retrieves the correct version of the file from %Systemroot%\System32\Dllcache or the Windows installation source files, and then replaces the incorrect file.
If you want to see what was replaced, right-click My Computer and click on Manage. In the new window that appears, expand the Event Viewer (by clicking on the + symbol next to it) and then click on System.