Shuts down as in turns off? Does it go through the windows shutdown procedure or does it just lose power?
Also, what Op System are you running? Is there anything that you're doing when it cuts out? Does it give you any error messageS? What power supply is in it? Is this a pre-built system? Dell perhaps? More information please. How old is it? I gather is fairly old.