I have a gateway GN54782 desktop, I bought a new hard drive and installed it because the other hard drive which was practically new. The computer doesn't recognize any hard drives with the old one. So I installed the OS Windows Vista and I was online for 10 minutes. The first thing I did was upgrade IE9 and it installed fine. Then the computer went down. So, I reinstalled the OS again, I was back online. The second time I was updating windows defender security, then the computer went down again. I found out by system repair that the registry is corrupted and also with the new hard drive the computer is saying once again it doesn't recognize any hard drives. This is a new hard drive I just put into the computer today. I found a software that would fix the registry for free but I can't get back online to install it. I don't know why the computer is saying that I don't have any hard drives. I can't load up windows to get to my desktop. After second time of shutting down, a blue and white screen came on saying that windows had to shut down from installation so it wouldn't harm the computer and also, it said it "crashed dump" whatever that means.
Can somebody tell me step by step in what to do to get back online and to my desktop?