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 Late to this but Windows will (sometimes) write a kernel-memory crash dump to `C:\Windows\Memory.DMP` when it has some kind of memory error. If you open this file up with `windbg` and run `!analyze -v` you will get a very detailed output including the bugcheck reason and a stack trace.