Why does my computer keep re-starting only when I connect to the internet and
only at certain sites it's like random help please. the comp is free of
spyware and no viruses are in the comp
Windows XP has a default setting to "Restart on failure"
Right click on "My Computer" and select Manage.
Expand the Event Viewer category and look through each of the three sub-categories for the red
flagged error records. The date and time of these should correspond to your restarts. Double
click on an error record to see the details of the error.
You can change this restart behavior if you want. Click Start, Settings, Control Panel, System,
Advanced. In the Startup and Recovery section, click on the "Settings" button
to open the Startup and Recovery window. In the System Failure section, uncheck "Automatically
restart", Click "Apply", "OK"
After that change the computer will no longer restart when a system failure occurs. Instead it
will probably throw up a "Blue Screen Of Death" with a STOP error message and then halt
completely, requiring a manual power off and restart (or reset if it has a hardware reset
switch). But the contents of the STOP error message will give a specific clue as to the
underlying cause of the problem.
Don't be suprised, if after changing the setting, things appear to run just fine.
Some errors are so minor that they will only show up in the Event logs and not produce a BSD.
However, they would still evoke the restart if the setting were changed back to the default.
How to view and manage event logs in Event Viewer in Windows XP
http://support.microsoft.com/?kbid=308427
Description of the Shutdown Event Tracker
http://support.microsoft.com/?kbid=293814