Dear MrMurphy2,in that case I recommend that you try the following;
Right click on the start menu and go to System;
Click on Advanced System Settings;
Under Startup and Recovery, click Settings;
Uncheck "Automatically restart";
Now when the computer crashes again an error message or code will be displayed, post again with a screenshot of the error;
Try doing a clean boot;
Right-click on the taskbar and go to Task Manager;
Click Start and disable all programs from system startup;
Run the system file checker;
Press the Windows + X keys, select Command Prompt (Admin), copy and paste the commands below and press enter after each command.
Sfc /ScanNow
Dism /Online /Cleanup-image /RestoreHealth
Wait for the process to finish and restart the pc;
Check the behavior;
I hope I helped, even more!