I have gone through your Post and would like to help
I suggest you run a System Test to confirm the Hardware Functionality first
- Shut down the computer completely
- Turn it back on, then tap the Esc key repeatedly until the Startup menu screen is displayed.
- Press F2 to select System Diagnostics.
- Click System Test > Extensive
If all the Tests pass, try a System Recovery using the Recovery Media.
The HP Cloud Recovery Tool allows you to download recovery software to a USB drive. You can use the downloaded recovery image file inorder to install Windows operating system. Click here: https://support.hp.com/in-en/document/c06162205 to Use the HP Cloud Recovery Tool (Windows 10, 7)
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".