APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 12:17 AM . Last Modified: 2024-02-29 11:21 PM
I have a Smart-UPS SMT750I (750VA 230V) and have PowerChute Business Edition Agent installed (on Windows 7 Ultimate x64), and I wonder if there is a way to do hibernation instead of shutdown of Windows?
It seems possible in Personal Edition, but I can't find anything about it in Business Edition?
I guess I could create a script that executes shutdown /h and make PowerChute call it to "exit applications" before it shuts down Windows, but would that cause a state issue in PowerChute when later resuming from hibernation, i.e. that it thinks it's still in progress to shut down and does so when its timer expires? If so, it wouldn't work.
I need to hibernate for several reasons, one being software I use that refuses an automatic Windows shutdown (and I don't want to kill its process).
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 12:17 AM . Last Modified: 2024-02-29 11:21 PM
Hi,
This is not officially supported but you can
PowerChute will now hibernate the OS instead of shutting it down.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 12:17 AM . Last Modified: 2024-02-29 11:21 PM
So, I created a script that executes shutdown /h and set PowerChute to run the script before shutting down Windows, but unfortunately it was as I suspected: as soon as I wake the machine back up from hibernation, PowerChute detects that the timeout for shutdown has passed and immediately executes its shutdown. So hibernation unfortunately cannot be done using a script...
Another negative side-effect of using a script for hibernation is that PowerChute then won't tell the UPS to shut down (it obviously doesn't do that until it starts the Windows shutdown sequence, for understandable reasons), so the UPS keeps running until the battery goes dry (unless mains power returns).
I really hope an option to do hibernation instead of shutdown can be included in a future relase of PowerChute Business Edition Agent, or is there a way to do it that I've missed?
To name another reason why I need hibernation is that my machine (a server running 24/7 unless power goes out) is set to start up automatically when power comes back on, but that doesn't work when the machine has been gracefully shut down (a limitation in the motherboard BIOS). It works perfectly to wake up from hibernation, and that's what I need.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 12:17 AM . Last Modified: 2024-02-29 11:21 PM
Hi,
This is not officially supported but you can
PowerChute will now hibernate the OS instead of shutting it down.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 12:18 AM . Last Modified: 2024-02-29 11:21 PM
Ah, excellent! I just tried it and it worked, my server now hibernates and auto-restarts when mains power returns, exactly what I needed!
I did encounter a small but easily solved problem however: the pbeagent service is still running when the machine wakes up from hibernation, but its integrated web server is "dead" and no longer responds. A simple restart of the service fixes it, so all I really have to do is schedule an automatic restart of the service in Windows Task Scheduler, to run when Windows starts up.
It would of course be nice if it was possible to select hibernation in the agent ui so the little hack wasn't necessary, but I'm sure you have valid reasons not to do it (perhaps the issue with the web server going down), and it doesn't really matter as long as the hack works.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 12:18 AM . Last Modified: 2024-02-29 11:21 PM
For completeness, here's what I did to automatically restart the PowerChute Agent service when resuming from hibernation:
Works like a charm!
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.