I have a Compaq. It's abit old, but is now market under the HP brand. What a piece of junk.
Compaq still is one of HP's retail channel brand names (i.e. stuff HP's marketing department targets at home users buying from the high street or online equivalent). They still use the Compaq brand in EMEA for some product ranges although there is some use of the HP brand creeping in more and more. However as far as I know, the Compaq brand is never used for HP's business range, they stopped that pretty much the day they bought Compaq many years ago !
You should not expect the same build quality to have gone into an HP retail laptop/PC then the stuff the business laptop/PCs go through.
Business computers are generally built on the unwritten understanding that the purchaser is expecting that kit to last a minimum of three years, probably around five. There's not much you can do about hard drives failing .... that's a given in the IT industry .... the reason why the word BACKUP is uttered so frequently.
Retail channel kit however, is built with cost rather than quality in mind ....
You get what you pay for in IT, especially when it comes to brands like HP.
Edit to add ....
P.S.
No I don't work for HP
No I don't own shares in HP
I've just spent enough money on HP kit over the years to know it's generally a safe bet based on my experience ....your mileage may vary, just like with playing the lottery !