I have to admit that my concern about your PC shutting itself down like that is that I, even after all my years using first DOS and then Windows in all its various reincarnations, I have never really come to trust it to shut down like that without doing other damage.
Just recently I had to re-install XP because one of their automatic upgrades shot one of my programmes down in flames. So much so that every time I used it for more than a couple of actions everything froze up and any attempt to unfreeze caused a shutdown. Each reboot resulted in other error messages until only booting up from the XP disk got me, at least, enough mouse control to shut down properly. Thankfully I'd done a backup the night before only because I wanted to take my stuff out on my laptop. (