A power failure shuts down the machine hard (unless you have a UPS backup system attached and then it does so more gently after a few minites - depending on the battery you get - working while waiting for the power to come back on perhaps before the battery
runs so low it must shut down the computer). In either event, the computer is completely powered down. The better battery you get, the longer you will be able to survive a temporary power failure and the computer will not shut down at all.
There is no way to get the computer to reboot when the power comes back online because that must be donemanually by pushing the button (remember it is off so no type of program will help). The computer is off so no programs are working
that can restart the system (or even detect that power has been restored). There''s no attachment that can be added to the computer that will do this that I'm aware of - again, the problem is that the power button needs to be pushed to reboot the system
(and while the UPS system will detect restored power and begin recharding the battery, it cannot restart the computer).
Sorry, but the only solution I can think of is a generator tied into your electical system that activates when the power goes off and will last a whole lot longer than a UPS battery (especially if only the computer is connected to it and it is a large one
with a large gas tank to last for hours at least - perhaps many hours). It doesn't do what you want, but it may keep the computer running long enough to outlast the outage and avoid being shut down (at which point you're pretty much out of luck).
Sorry if that wasn't what you wanted to hear, but there just isn't any way to do waht you are requesting.
I hope this helps.
Good luck!
Lorien - MCSE/MCSA/Network+/A+ --- If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.