Disclaimer Jan 2020: Microsoft no longer provides official support for Windows XP.
Windows XP has numerous built in functionalities to handle errors. One such feature is the automatic restart. This option essentially reboots the system in the event of an error. However, this can cause problems where numerous reboots happen automatically on errors which do not require a reboot. There are a couple of ways to switch off the automatic restart option under Windows XP. One option is to alter System Properties via the Control Panel. The other option is to enforce a change in registry to change the value of the parameter controlling the automatic reboot functionality.
By default, Windows XP is set to restart when an error occurs. To stop uncontrolled reboots, proceed as follows:
Note that this procedure is not applicable under all circumstances (some errors require that your system reboots in order to be fixed).
You can also disable this option via a registry tweak:
Next, head to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > CrashControl