My Hp desktop has been shutting down at random for several weeks. I have tried all the usual, virus programs, spyware programs, and nothing helped. I did a registry clean and degrag, still shutting down. Then I pressed a function key while booting and found PC doctor. I ran all the diagnostic tests. The memory failed every test. I took apart the PC and tried reseating the memory. Now the PC won't boot. I have ordered new ram. Have I done the right thing?