If you remove the hard drive, will the system boot up normally? After installing the hard drive, please clear the CMOS jumper on the motherboard. Load the default setting inside the BIOS menu --> SAVE and EXIT.
If the hard drive is IDE, make sure the jumper on the hard drive was configued properly.
If the system keep rebooting after the Window logo screen, then you have to re-install the operating sytem.