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

@mcc Windows should have a program called "Reliability Monitor" that might give you a clue what's going on. You can search for it in the start menu. It might also give you no information or esoteric error codes that look like a cross between warnings from an ancient temple and alien communications. YMMV.