Could be something like a bad driver or corrupted registry. You could try rolling the registry back by following
http://support.microsoft.com/?kbid=307545 or you could boot off a PE/WinbootCD and edit the registry to set AutoReboot to '0' so you get to see any blue screen that is causing the restart. What model eMachine is it?