I've had my computer for about 2 or 3 weeks now and occasionally for no particular reason my computer will just freeze and the screen goes black and needs to be restarted. Sometimes after clicking the reset button it starts but normally like nothing happened but some of the times it starts booting up then shuts down and boots back up again. I check my CPU temp and it says its running around 30 degrees C so i don't know if it was the CPU overheating or what. Any advise would be greatly appreciated.
If it is restarts during boot before even starting to load Windows you are looking at a hardware problem. Try going through the steps in this guide, particularly check your GPU temperature and test your RAM with Memtest.
I've also read around this forums that Gigabyte motherboards tend to dislike some USB devices and cause problems like the one you have, try to unplug everything and then test one by one the components maybe you'll find the problem.
It doesnt typically restart during boot. only sometimes when my computer locks up when im using it and the screen goes black. I have done everything on that checklist and all the temps on my computer are normal. the gpu is also around 30 degrees C. I will have to test my ram and i only use 2 of the usb ports but i switched one of them so we'll see if that helps at all.