Unexpected Shutdown

I have a computer that powers itself off intermittenly.  It shuts down when I've been using it and walk away for a few minutes.  The shutdown may take place anywhere from 5 to 30 minutes after I've stopped using the pc.  I went into event viewer and found dozens of critical errors.  Can't remember the exact error message, but the "details" were something like "The computer had an unexpected shutdown, may be due to power loss, application error.........".  The error listings had "kernel-power" or "power-kernel" in the source column.  Is there any way to determine why the machine is powering itself off?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

so while you are using it, its fine.  i.e. you could be at it for 4 hours and no problems, only when it sits idle for a bit?  Have you tried turning down the power settings to not put the computer to sleep after x number of minutes?
It would also help if you could post the error id, number, and the description.
cootermanAuthor Commented:
Correct.  It's fine until I walk away.  I did check power settings - computer is set to not sleep.  I'll try to get you a better info on the error
Lucian ConstantinTrainerCommented:
By any chance your power scheme is set to "Turn off hard-disks" after certain time?... because this setting could cause some "freezing" of the system or some sudden restarts.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

install speedfan to check if it's not overheating : http://www.almico.com/speedfan.php
Sounds like power supply needs replacing

 Especially if it is not Blue screening
James MurrellProduct SpecialistCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.