Maybe there's something wrong with heat but it would shutdown immediately when the computer is overheat.
I guess there's something wrong with your Windows, did you change any setting on your Windows recently or install new programs that was on startup?
Try to boot in safe mode and observe. If your computer still shutting down by itself then tell us here.
flagstar
Practically a Master Poster
620 posts since Oct 2009
Reputation Points: 126
Solved Threads: 63
Skill Endorsements: 0