My Xbox One S Wont Stay On

So I got an Xbox from a neighbor that moved out. The Back and bottom casing parts are missing. After I hooked it up to the internet and got a software update the thing started turning off. I've been trying for 2 weeks now to fix it and i can't do it. I'm trying to not send it in or do a teardown on it.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0