Hello Rens and welcome to Seven Forums.
I think I'd try restoring the computer to factory specs one more time. It's possible that some glitch like a voltage spike, etc could have damaged or corrupted the first restore process. It's also possible that the hidden recovery partition (if that's what you used), or the recovery disks you might have used, were faulty. Unfortunately there's no way to know that until you try to use them.
If a second restore attempt doesn't fix things you're going to have to try to figure out if you're dealing with a software problem like damaged or corrupt system files causing the freezes, or if the original crash damaged the hardware. This troubleshooting guide prepared by one of our Forum experts should help.
Troubleshooting Steps for Windows 7