Could be a MEMORY issue. Those are large programs and may be using memory that is not touched until these run.
First DISABLE 'restart on error' in the MY COMPUTER PROPERTIES, ADVANCED, STARUP AND RECOVERY and uncheck AUTOMATIC RESTART. You could be getting a BSOD with info that goes by too fast to see it. This will allow you to see it.
Also try using BLUE SCREEN VIEWER and see if that shows a problem with timestamps when the reboot occurs.
I guess I'd also run MEMTEST86 to test the memory and rule that out?