Thank you.
That Laptop came with Windows 8 64 bit with 8 GB of memory and a 2 TB HDD.
On that type of modern laptop, formatting the HD is not a standard procedure.
Who told you to format the hard drive?
Here is a link you should read.
http://support.hp.com/id-en/document/bph07143?jumpid=reg_r1002_iden_c-001_title_r0007HP PCs - Obtaining HP Recovery Discs or an HP USB Recovery Drive
Notice this paragraph.
An HP recovery solution can be used to return a computer's software configuration to its original condition. HP provides a recovery solution on the hard drive, but it is still a good idea to have a recovery solution on a USB storage device or discs. A disc or USB device can be stored in a safe place and used in the event of a hard drive failure, a hard drive format, or in the event you change the operating system. Use the sections in this document to obtain a recovery solution that works best for you.
I put underline on a critical fact. A format of the hard drive reeds the use of the HP recovery solution. This is not shipped with laptops. (But there are some rare exceptions.) Instead, the HP laptop has recovery partition. Don't destroy the recovery partition.
If you have a recent full b backup of everything, you can use it to restore your Windows onto the hard drive. The backup software takes care of any need to format the drive.
Does this help any?