First, try performing HP diagnostics at boot and see if there are any hardware errors. It could be a problem with the Hard Drive.
Turn off the PC by holding the power button. Turn on PC and continously keep pressing ESC until startup menu appears and then press F2 to enter diagnostics. Try the fast test, or at least the hard drive test.
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".