You may want to consider replacing the 2.5" mechanical hard drive with a better performing 2.5" solid state drive (SSD).
After you replace the drive, you can use another Windows PC with Windows 7 64 bit or newer to create a bootable USB recovery drive with the HP cloud recovery tool, that will reinstall W10, the drivers and the software that originally came with your notebook.
Here is an info link for how to use that utility...
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".