We are volunteers willing to help you try to resolve this issue.
Have you ever done a Reset or a Clean Install to see if that resolved the issue?
The computer restarting actually sounds like a hardware issue, most often heat. Be sure all the fans are working and try adding a fan blowing into the case if possible (vent).
However, let's check the possible software causes.
Use this to ensure you do not have any tasks set :
TaskSchedulerView - Free - a simple tool for Windows Vista/7/8/10 that displays in a single table the list of all tasks from the Task Scheduler of Windows. It also allows you to easily disable/enable mutiple tasks at once. For every task, the following information is displayed: Task Name, Description, Status, Hidden (Yes/No), Last Run/Next Run Times, Task Folder, EXE filename or COM handler of the task, number of missed runs, and more.
http://www.nirsoft.net/utils/task_scheduler_vie...
Check Event Viewer - Start - type in --> Event Viewer find at top and click on it - look for very close to the time of the crash.
This is even easier to use :
FullEventLogView - Free - a simple tool for Windows 10/8/7/Vista that displays in a table the details of all events from the event logs of Windows, including the event description. It allows you to view the events of your local computer, events of a remote computer on your network, and events stored in .evtx files. It also allows you to export the events list to text/csv/tab-delimited/html/xml file from the GUI and from command-line.
http://nirsoft.net/utils/full_event_log_view.html
TIP : Options - Advanced Options - allows you to see a time frame instead of the whole file - set it to a bit before and after the time of the EVENT.
look in \Windows any memory.dmp files?
Look in \Windows\minidump any files?
Please double check your settings here :
Start - type in --> System - on left side Advanced System Settings - Advanced tab - Startup and Recovery - Settings - System Failure - check the box to Write an Event to System Log and uncheck to automatically restart.
uncheck Auto Restart
make sure the Write Debugging is set to small minidump
and the default folder should look like %SystemRoot%\Minidump.
How to configure Windows to create MiniDump files on BSOD
http://blog.nirsoft.net/2010/07/27/how-to-confi...
Check the memory :
Memory tests do not catch all errors such as mismatched memory (possible even for sticks that appear to be identical) and when faster memory is placed in system behind slower memory. So it is best to also swap sticks in and out to check for those even if all memory tests fail to show a problem.
To test RAM check here - let it run 4+ hours or so. <-- best method
www.memtest.org
MemTestX86 - Test RAM With
http://www.tenforums.com/tutorials/14201-memtes...
For the Windows Memory Diagnostic Tool.
Type in Cortana's search box -> Windows Memory Diagnostics
at top of list - click it. in Windows 8/8.1/10 the name is "Windows Memory
Diagnostic".
Please let us know the results and if you need further assistance.