Computer just switched off at random, for the second time today. This time, it happened simultaneous with a power flux event (the air conditioner halting).

Maybe I need a UPS. :(

Ha ha heehhhh after several days of no problems my computer just shut off at random while I was sitting at it using it, and then less than five minutes later, did it again. Is there a way to get Windows to tell me, after a restart, why the hell it just restarted

Like I understand it might not know why it shuts down but surely if it restarts there's somewhere a record of why

Ah… thanks Windows. Thanks for clearing that up
@mcc It's even better on Server, where you get a dialog at startup asking you to type in the reason Windows did not shut down properly.