Computer hangs with colored lines running vertically along as also computer reboots by itself.
First, lets stop the auto reboot. F8 into safe mode, select "Disable automatic restart on system error"
You will probably receive blue screen with stop code on next boot.
Is the monitor old, because it seems it is dying.