If you still have the original HP image on there, then When the PC is off, turn it on and keep tapping F11. This will take you to the HP Factory Restore option. You're trying to do the stock Windows 10 reset, not the HP one.
If that fails, you can make a genuine HP recovery USB from this link:
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".