try this
right click my computer, go to properties advanced click settings on the bottom in the startup and recovery window untick the box under system failure, automatically restart.
there could be some insignificant service thats failing causing ur comp to reboot