Alright, I'm posting this on behalf of my friend. I tried my best to help him with whatever I could, but I'm out of options.
Basically, here's the problem:
My friend downloaded a file that was infected with a virus, which he was unaware of, and it periodically restarted his computer manually...