Windows 7 came on DVD and USB versions were nor from Microsoft and therefore something other than stock issues.
My test would be to use a stock issue Microsoft DVD to re-test that failure. If it fails I'd reset the BIOS to defaults then re-test again and if it fails call it a hardware failure.
I can't guess the full story of this laptop but reading http://h20564.www2.hp.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c01507066 it looks to have shipped with XP or Vista. Try it with the factory OS.
my laptop is not Starting when I boot after windows Logo Screen it just power off suddenly.I tried to boot it with new Windows from USB but same problem when windows logo appears it power off suddenly .I can't format My Laptop now because of this
I have done
Memory-test
StartUp test
HDD test
all passed In Bios diagnostic (F10).
I'm using Windows 7 ultimate 32 bit OS.
PC get heating but its not shutting down because of overheating because it passed 3 hours HDD Test. .. And windows loads in few seconds

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic