Windows won't install

I have a lenovo B560 and a few days ago my computer stopped booting up. it would load the splash screen then turn black and nothing would happen. so I got a windows disk and tried installing it. after clicking install now it takes over 5 hours to get past the "windows set up" screen. then after choosing my bit size and the partion I want to use I get a waiting thing for another 4 hours. then where it says initializing it stays at 0 percent until eventually it tells me it failed....the factory reset f11 key does not work at all and ive already reset the bios...this laptop came with windows 7 so it is compatible
 
Could have a bad hard drive, download and burn a Seatools for DOS disk and see if your drive passes diagnostic test.
 
Back