Teaching complex computer topics in text box will never be short.)
PC has vast POINTS OF FAILURE< it was an airplane it be crashed long ago and turned into beer cans.
there are only 2 paths, to any new OS.
(HP media kit or F11) (the HDD must be good. first)
no OS stated, why post not saying what OS is here ,XP?
the ESC key does it work>? guess yes.
this is first test. of all modern HP puters.
power on, (hammer , the ESC key) as the screen tells you do do in white text... see that>?
IF BIOS is alive and the battery inside is not shorted (take it out)
then the F11 key works
if someone (the bad guy) installed, a newer or same OS from a microsoft disk , (NOT HP) then not the PC is slammed.
the F11 is dead.
F11 is the hidden HP restore PARTITION.
here are the tests. in the correct order. on all ; PC , ill post them now. (modern HP only)
1: does BIOS work? Esc key , F2, F9, f10 , f11, )
all BIOS keys most respond at power on, if not the battery is shorted. remove it and continue. (end LT horror 1)
2: screen works , bios works, all bios keyswork even F11 tries to work but does not get to the blue restore pages....
3: if all the above, seems to work but only F11 fails that means 1 of 2 things, the HDD id dead, or the HDD was corrupted.
4: at this point we boot to good old and FREE, Knoppix,V7 media.
we boot it and do the HDD tests NOW,
be a waste of time loadning ANY OS on any bad HDD now, totally time waster to extremes.....
here is how to do that. easy. l
Click linux start button , yah just like windoz
then type disk, or find it in there. run DISK
this is disk testing. see the SMART menu , if the smart data shows
unrecoverable sectors, the HDD is TOASTED, its END OF LIFE.
A FACT.
if the disk test fails, the HDD is toasted worse.
http://www.pcdied.com/brick-dead.html#Knoppix
Ok knoppix boots, if not the PC is far far sicker than you think,.
ok this works ok.
the OS on your PC is wrecked.
so load it.
if F11 is dead, that means the HP restore partition is wrecked.
corrupted. as can happen using NON HP restore disks (media)
the correct path now is here.
the HP offical Medial kit from HP, we are not HP we are chat box fixya. (nobody!)
https://support.hp.com/us-en/document/bph07143
F11 may take you here on any 2006 or newer HP PC
the F11 key runs the HP Recovery partition, installer setup prog.
and land here, on a new PC or any not slammed, with wrong OS.
power on, hammer, F11, F11.,f11, from 1 second to 5 sec.
repeat power on if F11 did not respond. power off first.
the newer the PC the more choices here.