Another handy thing to use when XP is having errors is the food old fasion System File Checker.
Go Run>sfc.exe /scannow
This program will require your original windows xp cd in order to properly function. It will scan all your important system files for those that are missing or corrupted and automatically replace them with those on your CD

Very useful utility