Your computer might freeze due to the following factors.
Memory, CPU, disk exhaustion.
Windows is busy working on high-priority threads, spin-locks, waiting for an event, etc
Device or hardware error.
You can use the methods listed below to stop your computer from always freezing.
System...