My PC completely shuts down after roughly 1–2 hours of gaming. There is no blue screen or error message—the system simply loses power. I recently replaced the motherboard, CPU, and power supply, and I used the cables supplied with the new PSU. I have also tested the RAM both at its default 4800 setting and with XMP enabled. The CPU cooler is a Peerless Assassin 120. Before taking the computer to a repair shop, I'm wondering whether anyone has dealt with similar shutdowns and what fixed the problem.
3 Answers
A power supply or power-delivery problem is also possible, especially since the PC loses power instantly. RAM testing makes memory less likely. Monitor CPU and GPU temperatures and the PSU voltages while gaming, and check whether the shutdown happens during demanding load spikes. If temperatures are normal, testing with another suitable PSU would be a good next step.
This pattern could point to the CPU overheating. Check that the protective film was removed from the cooler, the thermal paste was applied properly, the heatsink is making even contact, and the cooler fans are connected and spinning. It may be worth removing and reinstalling the cooler carefully.
Kernel-Power event 41 only records that Windows did not shut down cleanly; it does not identify the cause. It can appear after overheating, a PSU cutoff, unstable settings, or another hardware fault, so it is not enough by itself to diagnose the issue. Event Viewer generally will not confirm that a thermal event caused the shutdown.

Thanks, I’ll check the cooler installation and thermal paste.