Windows 8.1 or Windows 8 laptop randomly turned off or shutdown by itself

Is your windows 8 or windows 8.1 laptop turned off or switched off on its own?

The first question to you is " Are using your laptop on top of your bed, blanket or pillow?

If your answer is 'Yes' the real culprit is over heating. the system is designed to turn off to protect it from any hardware damage due to over heating. If you re using on a pillow or blanket it will block the vent holes on the bottom of your laptop provided for exhaust air.

So the solutions are

1. Never use it on a pillow or blanket
2. Use a laptop cooler or special stands
3. Check whether the laptop fan is working