Hi
Welcome to ExtremeTech.support - Free PC Help.
Does the PC boot into Windows?
Does it boot in Safe Mode?
Try this:
Right-Click on My Computer and select Properties
Click on the Advanced Tab
Under the heading Startup and Recovery click Settings
Untick Automatically Restart
Also after this problem is fixed i would recommend installing Service Pack 3 for windows XP