Computer shut down

Athalon xp 3200+, 512 RAM, soyo dragon motherboard, 80 GB main drive, 152 GB secondary drive.

My Computer just shut down as I was playing Poker online. When It shut down a very high pitch sound was coming from somewhere. I didn''t know it was coming from the computer at the time. I went through the house shutting off everthing I even unpluged the computer I was still hearing the high pitch sound. I than put my ear near the computer and it was coming from there even with it unpluged. I pluged the computer back in and pushed the start button the noise went away and booted up to the chkdisk and found a bunch off errors fixed them and everthing is okay.
   Does anyone know what happened and what can be done to not have it happened again. Thanks Brent
Who is Participating?
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.

Could have been an overheating alarm. Even when you disconnect the PC from the powersupply there is still some rest power there which takes some time to drain fully.

Make sure all the fans in the case are running smoothly. If they aren't, replace them. blow out the dust using a can of compressed air and a vacuum cleaner. Also make sure the heatsink on the CPU is attached nicely, if necessary remove it, clean the CPU and heatsink surface, then add just an idea of heat transfer paste and reattach the heatsink.

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
>>   and booted up to the chkdisk and found a bunch off errors     <<< this can indicate a disk problem, so check the power connector, and have an eye on it if the problem (errors on the drive) comes back.
i suggest running a scan for errors on it, to be sure it is not dying yet.
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.