What causes a PC to auto shutdown?

I have an HP DC-5100 that immediately shuts itself off when I boot it up.  Well, not immediately, it starts up Windows XP SP3.  You get the splash screen, it acts as if its loading, then you get the "saving settings" and system is shutting down" message and it turns.  Its an orderly shutdown.  No error messages or beeps.  

It was running when I went over to look at it.  Shut it down to replace the UPS and then it started doing this.  Since I was running out of time, I brought it home with me.  Funny thing is it now boots up perfectly normal.

Could hardware attached cause this?   Any help would would be GREATLY APPRECIATED!
LVL 3
cwilliambrownAsked:
Who is Participating?
 
cwilliambrownAuthor Commented:
Thanks for all of your input.  The problem was related to the native Windows UPS Service.  It was mistakingly receiving a notice that power was lost and was shutting down the computer.  It might have been caused by a conflict with the APC UPS service.  I disabled the native UPS Service and it has worked fine since then.
0
 
houssam_balloutCommented:
had you try system restore?
0
 
skywalker39Commented:
Make sure that everything is placed corrctly in the computer case, make sure nothing is loose inside. Also, if there's dust inside try getting a aircan and spray out all of the dust. Make sure that all the fans inside are working correctly so that no heat bulid up is occurring, also make sure that your hard drive isn't over heating as well.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
cwilliambrownAuthor Commented:
The thing is...it now seems to work fine with only the mouse and keyboard attached.  Could electrical problems in the building cause windows to auto shut itself down?
0
 
houssam_balloutCommented:
how many USB attached to it?
 Try to do system restore and attach all the resources
 
0
 
cwilliambrownAuthor Commented:
there were actually quite a bit of USB devices attached when it was doing this....maybe 7-8.
0
 
GeisrudSystems AdministratorCommented:
I've seen malware do this.  Can you boot into safe mode?

Since it seems to be working for now, run some scans; HJT, Spybot, malware bytes, etc.
0
 
skywalker39Commented:
Have you scan your computer for any infections?
0
 
cwilliambrownAuthor Commented:
Anti-Malware & Anti-Virus is installed and up to date.  All scans came back clean.  
Since it boots up fine with out all the extras attached, it has almost certainly has to be a piece of hardware causing the problem...or the hardwares related driver, service, etc
0
 
skywalker39Commented:
Can you boot into Safe Mode just fine? If you can't boot into Normal Mode and you can't boot into Safe Mode, then you have a hardware problem, if you can't boot into Normal Mode but can boot into Safe Mode then you have a driver problem.
0
 
cwilliambrownAuthor Commented:
I could not boot to either when devices were attached.  With kb and mouse, I can boot normal but not safe mode?  When I press F8 the screen flashes and then continues to boot into normal mode.  Ive tried it several times just to make sure I wasnt doing it too early, too late, etc.???
0
 
houssam_balloutCommented:
it seems that the computer is over powered with a lot of the USB plugged into it
it happens with me, when I insert 5 USBs at the same time, but now its fine with me as I am using 3 at the same time, and I plug  the USB Camera when I want to use it
0
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.

All Courses

From novice to tech pro — start learning today.