But do watch a few YouTubes from https://www.google.com/search?q=Computer+Keeps+Rebooting+Without+Warning&source=lnms&tbm=vid&sa=X&ved=0ahUKEwiswvO-mLzVAhUC_mMKHaQlBAoQ_AUICigB&biw=1536&bih=731 and see if one is the one you used.
So about a year ago I switched to windows 10 and for some reason my PC kept turning off. Then I found a YouTube video that told me to change a certain setting and it worked. Well, I factory reset my PC recently which undid the settings that fixed it and after hours of searching I cannot find the video that helped me. Do any of you know what the problem is?