Could be hardware but that would be second guess.
Looks more like a windows issue.
What is the make and model of your machine?
How much memory do you have ?
What is your antivirus ?
Did you make any changes lately like adding new software ?
Try to restore your system to an earlier date before the problems occurred.