Re: Run Program on Critical Battery Level

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

Haven't tried it myself yet, but I should think you'd be able to do this with Task Scheduler by setting an event trigger.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com

"Megabyte" <etingley@xxxxxxxxxxx> wrote in message news:A35E2ECD-7EA8-41DB-8621-5B5F7C3013D5@xxxxxxxxxxxxxxxx
I found a post asking a similar question to this, but the answer does not really help me, so I'll ask again.

I'm looking to find out how to run a program (or script/batch file preferably) that will autorun when the battery reaches critical level.

The reason I ask is that I have my PC and a Western Digital MyBook World Edition network drive connected to my UPS. For those who don't know, it runs a version of linux, and I have hacked into the box and added a pointer that looks for a connection on a specific port and when it gets one, shuts down the box properly.

Since I have my PC hibernate when my UPS is almost dead, I'd like to run a script that launches telnet to a specific host on a specific port. When that completes, Hibernate.

This was easy in XP, as there was a "Run Program" option in the power options. I can't seem to find it in Vista.

Please help,

Thanks
-- ET



.



Relevant Pages

  • Run Program on Critical Battery Level
    ... For those who don't know, it runs a version of linux, and I have hacked into the box and added a pointer that looks for a connection on a specific port and when it gets one, shuts down the box properly. ... Since I have my PC hibernate when my UPS is almost dead, I'd like to run a script that launches telnet to a specific host on a specific port. ... as there was a "Run Program" option in the power options. ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: Run Program on Critical Battery Level
    ... I find it more likely that they would hide potentially dangerous functionality so as to protect those who do not understand the implications of just "running a program" on a power event... ... For those who don't know, it runs a version of linux, and I have hacked into the box and added a pointer that looks for a connection on a specific port and when it gets one, shuts down the box properly. ... Since I have my PC hibernate when my UPS is almost dead, I'd like to run a script that launches telnet to a specific host on a specific port. ... as there was a "Run Program" option in the power options. ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Missing UPS tab in Power Options applet of Control Panel
    ... SP1 and the tab for "UPS" is missing in the power options ... and Hibernate are there. ... Any idea how to get the UPS tab to show up? ...
    (microsoft.public.windowsxp.general)
  • Re: wmiprvse.exe causing CPU to run at 100%
    ... I kept my old copies of several commercial programs that booted on a dos floppy and would test the hardware. ... It would appear that the system is attempting to detect that UPS and running ... Are the parameters for the COM port set to the specs that the UPS requires? ... > 100% indefinitely and the server more or less unusable. ...
    (microsoft.public.windows.server.sbs)
  • RE: [fw-wiz] UPS Worldship connection problems with new firewall device
    ... I called UPS ... I have also called technical support of SonicWall for ... For this firewall appliance, ... it was a Linksys 4 port router which has port ...
    (Firewall-Wizards)