It didn't end well. It was a design flaw.
But let's start. I know you are trying to avoid a factory reset but this HP looks to be something in a microcase. That's not good to see.
Try without the case cover on and let's see a Web Speccy. The GPU is what I see stock at:
Once I get the Speccy I'll write a detailed comment. Remember this is what I would change and can NEVER assure you it will fix it. It appears that HP didn't fix it either but let's run the routines and see what happens.
BEFORE THE WEB SPECCY BE SURE TO TRY TWO THINGS.
1. Disable Hardware Acceleration in the browser. It can trigger BSODs. Uninstall Flash and use HTML5 for YouTube (how is on the web.)
2. Turn this off to drop connection counts. Read:
If case cover off and these first two items don't help, supply a Web Speccy. Read how at:
For a few months now my computer will unexpectedly restart once or maybe twice a week. In the last few weeks I've determined it only happens after I watch videos on youtube. After the last time it happened I checked logs and found Event 41, Kernel-Power critical. My computer is an HP 510-p127c desktop with Windows 10 and AMD Radeon R7-450. I just updated the driver for the Radeon again, but it's been done before without it fixing the problem. HP had no answers and wanted me to wipe the whole hard drive clean. I'm hoping to not have to do that. I had no issues for months and then this issue started happening. Strangely my prints from various printers also started getting stuck in queue. If I manually restart the computer the items will print after the restart. These things don't happen every time, but I'm certain I don't have any issues if I avoid youtube. Any help would be greatly appreciated.