My new gaming pc shuts down when it gets cold..but not when running games

GhOsTx44

Commendable
Sep 1, 2016
18
0
1,510
I got a new pc 3weeks ago and I got this problem since than..my pc shuts down randomly on idle and I found out that it happens only when it gets cold..if I leave it downloading or do nothing it shuts down after an hour or so..but not while playing a game ..now I let a game run in back ground so it can get warm and download all night while I am a sleep with no problem..I really need to solve this issue,please someone help me to fix this

my spec
cpu i3-6100
gpu: msi gtx 970
mb: msi H170a gaming pro
8gb ram
 
its Sentey Xplus power 725w but I already changed the psu same issue..I guess its the mb that causing me this but I really want to fix it..I forgot to tell you when my pc shuts down it wont start unless I use a dryer to warm a down right spot of the motherboard..I spend days trying to figure out the issue and fix it