Hi,
If you haven't done so yet, you can create your own set of Recovery Media - the link below applies to machines shipped with Windows 8.
Creating Recovery Media - Windows 8.
Regarding performing a 'Factory Reset', there are 3 main methods - see the HP document on the following link.
Performing A System Recovery - Windows 8.
Regards,
DP-K