Hey .
bro ,
Confirm that this is not a virus problem ,since it takes 3 hrs to install win 7
Check this in order ,
It might be due to 1) Dust particles inside CPU Socket , 2) Sata cable , 3) RAM , 4) HDD
1. Try changing your SATA cable , (you will get it from a local pc service center/shop for under 100 Rs)
2. Check your CPU fan is working or not . (over heating causes PC to slowdown)
3. (If you know how to, be careful ) Re-assemble processor with heat sink , Clean it, dust particles inside CPU Socket slows down PC (DO NOT TOUCH THE PINS INSIDE THE SOCKET) you can use a hair drier to clean it
(Heat sink : you will get it from a local pc service center for 10/20 Rs)
4. Try swapping your RAMS randomly . (1GB RAM is enough for win7 to run normally, without over usage/any apps)
Use it for 15 minutes and turn off the PC , and check if any particular hardwares is over heating . (AS A PRECAUTION , DON'T FORGET TO UNPLUG WIRE FROM ELECTRICITY )
If the problem still persist , you need additional hardwares to test all items individually !