I was having issues with Windows 11 restarting by itself some months ago, which started happening after a Windows update, so it was obvious the update was bad, so with trial and error I found the culprits and uninstalled 2 updates and the problem disappeared.
The specifics to the issue was that it only happened in the mornings! Around 4 AM, which at those times I don't use the PC and it's just idle. The Event Viewer would have a log saying The computer has rebooted from a bugcheck.
Now after months, I updated Windows again and the issue is back. My PC restarted at 6 AM. I was wondering were those 2 updates that I uninstalled are now installed again with the new update?! Or is the new update alone causing this?!
So I searched on how to view Windows Update history logs:
Windows 11 PC restarted automatically?
https://winaero.com/find-windows-update-log-windows-10/
But what I need is some logs that will tell me:
- At date/time Windows installed KB* update.
- At date/time you uninstalled KB* update.
So I need to know the ID of the updates I uninstalled at that time, and this helps me troubleshoot and understand which update is bad. Last time I had to uninstall updates one by one and wait a day to see if PC crashes again or not, so knowing the ID's of the updates helps me find the bad updates faster.
I also looked at the issue itself, it's something related to ntoskrnl when I analyzed the dump with WinDBG and BlueScreenView (from Nirsoft) so I've already done all these:
https://www.auslogics.com/en/articles/fix-ntoskrnl-exe-bsod/
https://www.elevenforum.com/t/reccurring-bsod-on-bootup-ntoskrnl-exe-bugcheck-code-0xc000021a.18447/
https://forum-en.msi.com/index.php?threads/bsod-since-bios-update.356563/
https://www.tenforums.com/tutorials/5472-view-windows-update-history-windows-10-a-2.html
In short, I have done integrity verifications such as:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
chkdsk /r /f
I have also ran a Windows Memory Diagnostic and there were no issues, so I know this is not a hardware issue or software issue. It's just the Windows 11 update that is bad or incompatible with my MSI motherboard. One of the links above have suggested that a Windows update can cause this, so I'll leave it at that, don't want to unnecessarily update BIOS, MSI does not suggest that.