For about two weeks now I have had my computer lock up on me anywhere from every 30 seconds to every 5 minutes doing simple things such as typing in a word document or opening minesweeper. When it locks up the program freezes, as well as any other program i click on. I have tried reinstalling windows and have put XP, Vista, 7 on there, as well as Ubuntu 10.04 and have experienced the same behavior as before. I am not sure if it is my hard drives, RAM, or CPU, but I am pretty sure its a hardware problem. Does anybody have any tips as to what to try to fix this?