When XP encounters an error, it automatically reboots. If your pc can go to safe-mode ie. your power supply is ok.
A damaged registry can royally screw your computer with no real hint it's the culprit. You have to scanreg/restore instead of scanreg/fix. Choose a registry to restore with a date that precedes the problem.