Did event viewer show what the problem was.
No exclamation marks in Device Manager.
Overheating maybe need cleaning inside.
Memory problem maybe,
Run the Windows memory diagnostic tool.Just click start and type memory into the box and when it shows just click on it and follow directions.
Or type problems into the same box and see what repairs it offers.