Have you tried disconnecting it from the internet??? If you do and it still shuts down then you will know its something running on your machine and if it does not then it is something remotely sending your box a shutdown command.