You said "the" do you mean HP put it on [the computer came with it on??? If so it is similar to your Dell issue. The Op Sys any application program and all the drivers are on a separater partiton. They no longer provide the Restore/recovery CD, HOWEVER they give instructions on how to burn that info to a CD, thus creating your own Restore/recovery CD.
If not in the info that came with the system go to the HP website to read the instructions.
Now if the QB was only a trial version you may be in for a $$ shock.
My daughter bought a HP PC through her job, the put Quickbooks on the PC, but did not give her the disk to this program which I think is awful, what if something goes wrong with the program. She is afraid that something might happen to her system and she would lose all of her banking info and of course the program. what should she do? Thanks a lot. Grannydebbie