DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: Utility To Intercept Windows' Shut Down/Sleep Requests  (Read 8,511 times)

y0himba

  • Yar.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 448
    • Military Service Badge - US Army
    • Military Service Badge - US Navy
:mad: Origin Of The Idea:  I have these power off and sleep buttons on my keyboard, and today I accidentally hit the power button while moving a stack of CDs around, losing a lot of things I was working on, had been working on for hours.  There is no specific software that needs to be installed for these buttons to work, I guess they just use Windows' own shut down calls or something.

How about a small program that sits in the tray or even runs as a system service that will watch for these calls to shut down or sleep, or even maybe log off, hibernate and restart calls, then pops up a dialog with a user defined countdown and the options to shut down immediately, wait "X" amount so that work can be saved, cancel the shutdown/log off/restart/sleep/hibernate, or with no interaction will countdown a user defined amount of minutes or seconds and then just let the computer shutdown/log off/restart/sleep/hibernate normally.

kimmchii

  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 360
Re: IDEA: Utility To Intercept Windows' Shut Down/Sleep Requests
« Reply #1 on: January 13, 2006, 03:30 PM »
try this:
http://www.snapfiles.com/reviews/Shutdown_Stopper/shutdownstop.html

see if it can stop sleep mode.
If you find a good solution and become attached to it, the solution may become your next problem.
~Robert Anthony

y0himba

  • Yar.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 448
    • Military Service Badge - US Army
    • Military Service Badge - US Navy
Re: IDEA: Utility To Intercept Windows' Shut Down/Sleep Requests
« Reply #2 on: January 13, 2006, 04:24 PM »
Nah, this just stops the shutdown completely.  I was thinking of one the presents a dialog, and offers a user defined countdown timer.  Set it for say 30 secs, and of there is no user input then it shuts down, or the user can cancel, sleep(wait) x amount of seconds in order to save work, or just click shutdown now for an immediate shutdown.  I would love to see this as a system service with a configurable .ini or .conf or a GUI to configure the service.

Original address: https://www.donationcoder.com/forum/index.php?topic=2101.0