I think it might be a driver issue problem.
Now you say your PC restarts rite, I think your computer is having a system error and it restarts before you even get to see the message error.. what I think is that you normally have to see a BoD (Blue Screen of Death) you kno when your computer crash and you get this Blue Screen with some errors, we all had it
So ive made a screenshot for you wich steps you have to take.
Right click your computer icon and select settings.
Now get to the Advanced Tab and you will see Boot and Reboot settings, click settings
You now see under System Errors "Automaticily Reboot System" UNCHECK this
I hope your system now doesn't restart after you get a system error, so you'll atleast now what kind of error your getting even if you don't understand it,y ou might have a tought when you read these weird CantUnderstand errors
Or you can try to refresh your video drivers..
Download
Driver Cleaner Professional from Guru3D it's free. With Driver Cleaner Pro you can remove all graphic relater drivers from your computer so that you can have a fresh driver install afterwards what might help for better game performance/quality