Thank you for posting on the HP Support Community.
I recommend you perform the following steps to isolate the issue and arrive at a fix:
Firstly, let's perform a Hard Reset: Follow steps from the link: https://hp.care/2GnkMa8.
Next: Restore BIOS default settings.
- Turn off the computer and wait five seconds.
- Press the Power button to start the computer and repeatedly press the F10 key to enter the BIOS setup menu.
- On the BIOS Setup screen, press F9 to select and load the BIOS Setup Default settings.
- Press F10 to Save and Exit.
- Use the arrow keys to select Yes, then press Enter when asked Exit Saving Changes?
- Follow the prompts to restart your computer.
Please feel free to contact us here anytime you need any further assistance.