I liked to leave my computer on so it will perform maintenance overnight. Lately its shutting off around midnight and I don't why?
How can I determine what causing it to shut down?
I think you first check the power options it may set to shutdown or hibernate after couple of hours to check that go to Control Panel\Hardware and Sound\Power Options
If it is not solve the problem tell me what type of maintanence you did
Did this solve your problem?
Sorry this didn't help.