Hi,
If running all relevant tests means you ran HP Hardware Diagnostics with a pass then you may have Windows corruption. The toughest problem to finding a fix is determining if you have a hardware problem or software problem. I can't draw a conclusion in your scenario.
Check hardware as follows: Start the PC. Tap "ESC". Select "F2". Run system tests and all component tests.
A hardware problem requires replacing the failing part. Windows corruption or a bad HDD may require reinstalling the operating system if you cannot do a system restore and automatic repair fails.
You can try a clean W10 installation if data loss is not a problem or you have data backups. Go here (Link) to download the W10 installation media creation tool on a different PC. Create the media. Uncheck create media for this PC, this allows use of the media on a PC having a different configuration than the target PC .
Boot to the media on the subject PC. See if you can install W10 clean. Skip the product number section when installing W10 clean. Delete each partition on the disk using the W10 installation media before installing W10.
A problem here suggests you may have a hardware problem which is not being detected by HP Diagnostics.
Regards