If there is a hardware failure, please let me know.
If there is no hardware failure and all tests pass, then it is Windows related issue.
How to recover Windows:
* If your computer originally came with Windows preinstalled by HP (e.g. Windows 7 OEM edition) , then your computer should have recovery partitions that can be used to recover your computer to factory default condition. Here is how:
* If your computer originally did NOT come with operating system preinstalled (e.g. you install Windows on your own post-purchase or someone else installed Windows for you), then you need to use Windows installation media for reinstallation. If you originally had Windows 7 and it was activated successfully, then you upgraded to Win 10 and it activated successfully, then you can get Windows 10 ISO installation media directly from Microsoft servers and reinstall Windows 10 on your computer. Here is how : >> https://www.microsoft.com/en-gb/software-download/windows10
Please, do not hesitate to post back if something is not clear.
** I am an HP employee *** I express personal opinion only *** My location: Europe *** HP Expert - Volunteer ** Click below on Accept As Solution and ThumbUp+ buttons if my comments helped or to say thanks.