There are a few drives that cough and won't work with a few machines. You've tripped over this on your own and well, let me share that my last HP was my last HP.
It all begin well enough but something odd was going on that the laptop would not boot when certain USB things were plugged in. And then the boot would continue if you unplugged the USB thing. AHA I thought, it's that old BIOS bug we saw years ago. HP should be able to get that fixed.
But it was not to be. HP destroyed that laptop in their repair and at 3 months I began the calls, filling out web surveys all negative and well, at 9 months the message was clear HP was not going to correct the error or the laptop they destroyed in their service.
OK, here we are with another HP story with what could be another angle of the issue that had me sending this unit back to HP.
Don't fix it. Don't let HP near it. Use a drive that works and move along.
Bob
Hello!
This one should twist your head a bit if you're anything like me!
I have a Pavilion M6 1045DX laptop and the HD crashed. It was 750GB so off to eBay I went to buy another one. I decided to buy a NEW SEALED HD so I bought a blue label WD brand new. (March 2014) Just for grins I wiped and verified the drive and it passed. I temporarily installed a 40GB hard drive to build the machine while I was waiting for the new drive figuring I would just clone it when it arrived. When I went to clone the test drive to the new drive I received an error about block sizes. I use the Apricorn DriveWire and have seen this on a rare occasion. I thought maybe a different cloning software would help but to no avail. Same error. Rather than fight with it I decide to put the new 750 drive in the laptop and build it all over again. This is when I received this error.
"Windows setup could not configure Windows to run on this computer's hardware"
So, I grabbed another blue label 160GB WD drive and it installed Win 7 fine on the laptop. I then took the 750GB drive and installed in on an old IBM T61 and it too installed fine. I also installed the new 750GB drive on a Dell inspirion N5040 laptop with complete success. Things that make you say...hmmmmmm?
Anyone have any ideas why the new 750GB WD drive gives me this error on "only" the HPPavilion M6?
Thank you in advance for any suggestions!!
BTW...this laptop doesn't have RAID and was NOT Built for windows 8. It came with Windows 7. And yes I've reset the bios back to factor standards!
Ps, I've been at this for days!!! ):

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic