Stand by mode

Wile the computer is on and while i am working on it may suddenly close in the stand by mode. the stand by mode light is on and the key bored still has its power light on.

but after that nothing happens and i cant log back on again no matter what and the only way to restart the computer back is to disconnect the computer from the power supply then reconnect it back again.

And as u know all the work i was doing is lost.

Can any one help? is this a hardware problem or a software problem?

Note that i have a pentume 4 Gateway computer and i have two operating systems Win Xp and Win ME and the problem happens with both operating systems
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.

This is definitely a hardware problem.  Not all motherboards are able to use the Stand-by, or Hibernate mode options.  It might also be the result of some sort of RAM problem, but I'm pretty sure it's not.  My computer will crash when I try to use Hibernate mode, it's not all that uncommon.
As I understood your question, the PC goes to stand by mode while you are working on it right!!! then the cause could be from:

1. CPU is overheated, check your PC health from the Bios setup and if the CPU is overheated try and change your cpu fan or heat sink.

2. Problem with the RAM.if you have more than one RAM Module then try the "trial & Error" method remove one module and try to work on the PC if teh problem arises then remove the other module and install the one you took out earlier and try the method again.

3. Try and disable power save from the BIOS setup and windows.

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
I let that part of your question slip my mind it seems.  If it's randomly going into stand-by, it could be possible that someone is playing a trick on you and set your computer to go into stand-by mode after a couple minutes.  Check your power options in the control panel and see what it's set to.

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept a comment Split between kgii  and illogik
Please leave any comments here within the next seven days.
EE Cleanup Volunteer
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.