Welcome to GeekstoGo.
Please post the exact model of HP Laptop, usually available from the plate on the base.
Why are you trying to return to factory settings please. You will if the recovery procedure does not offer a soft recovery which is basically a repair of the Windows installation, lose all your personal data and any programs that were not installed at the time of the computer being sold.
The problem is whenever I've tried to do a system restore recently
A system restore, from a restore point does not format the drive (to wipe the drive) it simply restores from a restore point, so that it returns the computer, in the main, to the condition it was in at the date of the restore point chosen.