Please perform the following steps:
1)Find a bootable flash drive with free space
2)Find a flash drive that you can format (> or = 8 GB)
3)Find a working Windows computer
4)On the working Windows computer create tool to use on the problematic computer
5)On the bootable flash drive with free space download HP UEFI hardware diagnostics
https://ftp.hp.com/pub/softpaq/sp153001-153500/sp153214.exe
6)On the flash drive that you can format (> or = 8 GB) create a bootable Windows 10 Media Creation Tool (MCT) (Windows 10 iso)
https://www.tenforums.com/tutorials/9230-download-windows-10-iso-file.html
https://www.microsoft.com/en-us/software-download/windows10
7)On the problematic computer insert the bootable flash drive with the HP UEFI hardware diagnostics
8)Power on the problematic computer and repetitively click F9 > select the HP UEFI hardware diagnostics > system > extensive > take pictures > post images or share links displaying the tests performed with results
--please don't forget to upvote and Accept as answer if the reply is helpful--