When your computer turns off by itself, first check the log for that time in Event Viewer. If there is a 1074, a program such as Windows Update shut it down normally; if there is only a 41 (Kernel-Power), the power was cut suddenly, so suspect hardware: overheating, the power supply or the power strip.
If Event Viewer is hard to use, PC Buster shows how many times the PC shut off unexpectedly in the last 6 months, with the times (free). Get PC Buster · details
41,6008,1074,1001 in the Event IDs box and click OK.| Event ID (Source) | What it means |
|---|---|
| 1074 (User32) | A program or a person shut down or restarted the PC normally. The details say which program asked for it. For Windows Update you will usually see a name like TrustedInstaller.exe or MoUsoCoreWorker.exe. |
| 41 (Kernel-Power) | The PC started again without a clean shutdown. This is logged after a power cut, a forced shutdown with the power button, a restart after the screen froze, or a shutdown caused by overheating or the power supply. |
| 6008 (EventLog) | The previous shutdown was unexpected. The time it went off is recorded too. |
| 1001 (BugCheck) | A blue screen happened. Go to how to find the cause of a blue screen. |
If you open a 41 and "BugcheckCode" is 0, the power simply cut out without a blue screen, which is usually an overheating or power problem.

Buttons, not commands. PC Buster finds what opens ad pop-ups, clears junk and points to what is broken. Checks and cleanup are free.
Free downloadmdsched from Start and restart into Windows Memory Diagnostic. If it finds errors, take the memory sticks out one at a time to find the faulty one.sfc /scannow in Terminal (Admin) (Windows 10: Command Prompt as administrator).sysdm.cpl → Advanced tab → Settings under Startup and Recovery → untick Automatically restart. Next time the blue screen stays up and you can read the error name.PC Buster's Blue screen log shows how many times the PC shut off unexpectedly from a power cut or forced shutdown in the last 6 months, with the most recent times, and if there was a blue screen it also gives the time, the error code and the common cause. If you suspect overheating, CPU · GPU temperature shows the temperatures Windows reports. PC Buster has no button that stops the shutdowns themselves. Both are free.
Find the cause of a blue screenScreen flickering or black screenSecond monitor not detectedNo soundSpeakers cracklingKeyboard or mouse not workingWebcam not workingMicrophone not workingUSB not recognizedExternal drive not showing in File ExplorerWon't wake from sleepGraphics card not being usedCheck hard drive or SSD healthCheck CPU and GPU temperatureCheck your PC specsCheck power-on and usage timeSee all fixes