First of all you need a Boot-able disk with windows xp operation system on it ..If you do not have one you can download a great XP sp2 professional from here ..using a U torrent downloaded for torrent files...and after that burn the image file you download on a disk using NERO..and just inserting the disk into the writer and doable click on the file..
But remember you need to have Nero installed so that the ISO file to be associated with the burning program (Nero) and open the image file with it automatically ..In this way you will be sure to end up with a boot-able disk ..
for that you need these:
the u torent program for download.. http://www.utorrent.com/
the Nero program ...(I prefer Nero 7 instead newer ones ..cause it sees the Image files and associate itself on them ..thing that newer ones do not do ..) http://www.mediafire.com/?yznzmdonjgm
and of course the torrent file where to get the windows..
REMEMBER : on the folder there is a key for the product ...wrote it down somewhere cause you will need it during the process)http://thepiratebay.org/torrent/5388204/Windows_Xp_Genuine
Do not let yourself fooled by the big download button ...its just a spam ...click on the download this torrent
for to open the download..and will ask you to associate the opening of the file and choose the u torrent ...it will ask to confirm and start the download ..after that you will find the download director in My documents/downloads...
If you followed my instructions ...and downloaded all ..and burned using Nero 7 but automatically by dowble clicking the file ...you ended up with a Boot-able cd with windows 7 on it ..that it is recognized like genuine and updates itself to the end of glory ...
the next thing you have to do is ..either go to BIOS setting (in your case by pressing F10 on start cause it is a HP device...and in there look for BOOT manager and change the BOOT order to boot from cd first ...and save with F10 and confirm with enter ..
or ,,just insert the disk ...and press F12 to display the boot menu ..and choose with the up /down arrows ...to boot from cd ..and .remember ..to get into the boot menu you have to press that key a second after the start of the computer ..or even press it repeatedly so to not miss..
after the boot from cd starts..you will be asked to [press any key to boot from cd ...press a key ..anyone ..and the dance begins..
Follow the instructions on the bottom of the screen and to guide you further ..I link you to a page with explaining step by step of how to do it ...
You can even print them after download or copy ...to have in case...you stumble on something you are not sure ...
Remember ..there is nothing you can do wrong top the computer ..so be bold and trust your logic..cause you can always repeat from the start again and again until you will do it right ...the only thing you can loose are the data on the computer ..in case you have some ..personal ones....I suggest to store them before start on some other computer or ..on a memory stick or disks..
Here is the other instructions link ...but from the point I brought you it s just common sense....the only issue will be after the first restart ..and at the end http://www.buildeasypc.com/sw/windows_xp.htm