Hold the power button for at least five seconds to turn off the computer.
Turn on the computer and immediately press the F2 key repeatedly, about once every second until the HP PC Hardware Diagnostics (UEFI) main menu displays.
Click Component Tests.
Figure: Click Component Tests in the UEFI window
Click Hard Drive, then click Quick Test.
Click Run once. If the computer has more than one hard drive, click Test All Hard Drives.
When the test completes, the results display on the screen and in Test Logs on the Diagnostics UEFI main page.If the hard drive fails one of the tests, write down the specific failure information. The information is also available under Test Logs. The hard drive might need to be replaced, depending on the error.
If the test passes, please exit from UEFI window and continue with next troubleshooting steps.
Perform a hard reset (All-in-Ones and Desktops)
Many startup errors and other problems can be resolved by a hard reset, which decreases the amount of power stored in hardware components.
Shut down the computer, then disconnect the power cord from the rear of the computer.
Press and hold down the power button for at least 10 seconds, then release it. The power light indicator might turn on briefly then go out.
Reconnect the power cord, then turn on the computer to confirm if the issue is resolved.
Perform BIOS Default:
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.
If the computer restarts normally and the error message does not display, you are done. If the error message displays proceed to the next steps mentioned in the link.
Keep me posted,
Have a great day 🙂
Be alert for scammers posting fake support phone numbers on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".