y friend said that my computer freezing is cos of hardware problem. I am not able to use mouse and keyboard, switch off computer from the back and then keep trying until it will start again. If it is a hardware problem does anyone know a software which will scan/check my hardware and tell me the problem?

i did buy an external key logger and when I plugged that into the back of my own computer it froze, but it froze afterwards when I didnt plug that in.

It just seems to lock up after a short while of loading the computer.

I did a virus scan with avast and nothing was found

I did the chkdsk C: /f /r in safe mode with command prompt and it seemed ok as it just restarted afterwards when i tried-

chkdsk E: /f /r though it got to checking 4/5 in the first verification stage and wouldnt get past 0 perecent. So I guess i couldnt check my other hard drive -my E drive?