if it's doing a "clean" shutdown, that would imply a software related problem.. like a UPS driven program or task scheduler, as suggested by the other poster... or possibly some malware /virus on your system... I would run a virus scan, and then try something like malwarebytes or spybot to see...