Have a look in the "event viewer" on each of the computers that is restarting - ie Control Panel > Administrative Tools > Event Viewer
It may give you an indication of why the computer is restarting.
Did they all start to "restart" at the same time or different times? If the same time did you load some software onto these computers around that time?
Do you have automatic windows updates running?
Some of the Windows updates have been known to cause restart problems.
Do all the computers get updated with the same and latest virus and anti spyware programs?
Does it happen in SAFE mode.
also can try this
Start Windows XP in Safe mode, and then configure Windows to not automatically restart when a STOP error occurs. To do this, follow these steps:
To restart the computer in Safe Mode when the POST process completes, press F8.
On the Windows Advanced Options menu that appears, use the ARROW keys to select Safe Mode, and then press ENTER.
Select the operating system to start, and then press ENTER.
Log on to the computer as Administrator, and then click Yes in the Windows is running in safe mode dialog box that appears.
NOTE: When the computer is running in Safe mode, your display settings may be set to a lower resolution than you expect.
Click Start, and then click Control Panel.
Click Switch to Classic View if Control Panel is not already in Classic View.
Double-click System, click the Advanced tab, and then under Startup and Recovery, click Settings.
Under System failure, click to clear the Automatically restart check box.
Click OK twice.
Close Control Panel, and then restart Windows normally.