Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Hibernation instead of shutdown in PowerChute Business Edition?

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • Hibernation instead of shutdown in PowerChute Business Edition?
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
Teken
Spock Teken
111
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
whoups_apc
Crewman whoups_apc
Crewman

Posted: ‎2021-07-08 12:17 AM . Last Modified: ‎2024-02-29 11:21 PM

0 Likes
4
3195
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

Hibernation instead of shutdown in PowerChute Business Edition?

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).

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 12:17 AM . Last Modified: ‎2024-02-29 11:21 PM

0 Likes
0
3193
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

  1. stop APCPBEAgent server
  2. open PowerChute Business Edition / agent / bin folder
  3. rename shutdown.exe to shutdownsave
  4. rename hibernate.exe to shutdown.exe
  5. start APCPBEAgent service

PowerChute will now hibernate the OS instead of shutting it down.

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 4
whoups_apc
Crewman whoups_apc
Crewman

Posted: ‎2021-07-08 12:17 AM . Last Modified: ‎2024-02-29 11:21 PM

0 Likes
0
3194
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 12:17 AM . Last Modified: ‎2024-02-29 11:21 PM

0 Likes
0
3194
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

  1. stop APCPBEAgent server
  2. open PowerChute Business Edition / agent / bin folder
  3. rename shutdown.exe to shutdownsave
  4. rename hibernate.exe to shutdown.exe
  5. start APCPBEAgent service

PowerChute will now hibernate the OS instead of shutting it down.

Reply

Link copied. Please paste this link to share this article on your social media post.

whoups_apc
Crewman whoups_apc
Crewman

Posted: ‎2021-07-08 12:18 AM . Last Modified: ‎2024-02-29 11:21 PM

0 Likes
0
3194
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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! laughing

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. smile

Reply

Link copied. Please paste this link to share this article on your social media post.

whoups_apc
Crewman whoups_apc
Crewman

Posted: ‎2021-07-08 12:18 AM . Last Modified: ‎2024-02-29 11:21 PM

0 Likes
0
3194
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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:

  1. Created a cmd script to perform the restart (and put it in C:\ to let UAC protect it from non-admin modifications):

    @echo off
    net stop APCPBEAgent
    net start APCPBEAgent
  2. Created a task in Task Scheduler that executes the script when resuming from hibernation, by adding a trigger that fires when an event with ID 1 from the Power-Troubleshooter source pops up in the Windows event log (but note that it'll also fire when resuming from standby). Set it to run with highest privileges (this is required for the net command in the script) and pick a suitable user account for running it (I picked SYSTEM, or more specifically NT AUTHORITY\SYSTEM).

Works like a charm! cool

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of