What the make and wattage of the CPU and do you have a video card??? If you do the model of the card. gaming pc shut down for two main reasons overheat or bad power or lack of it. You can run msi afterburner watch your gpu temps. Micro cases have heat issue do to small size and lack of fans. A cheat tip is take the side panel off see if the pc still shuts down.