Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Power scheme: can it be time based?

Status
Not open for further replies.

cheerful

Programmer
Mar 4, 2003
173
US
Is there any way to set up time-based power scheme? Or is there any utilities to do that?

For example

9am-5pm: always on

10pm-9am: enable stand by

Thanks!
 
Quite hard to google as most points to "computers for dummy" or alike.

I can't find any details on PNW website. It looks like it is for enterprise solution and there is nothing to download. Did I miss anything?
 
What are you trying to achieve with these options can you give some more details?

If you have set your Power Options to be "Always On" you can still enter Standby (manually) even if you have selected the "Never" option for Standby.

Are you trying to prevent entering Standby automatically during business hours and allow it to enter Standby automatically out of hours?

See what is available with Powercfg, I'm not sure myself whether you can do much with it and Standy having never tried it. This first link also points to Kelly Theriot's site where you might find a script for Standby that possibly you can use with Task Scheduler, again I'm not sure if it is of any use, but it might be worth looking at.


How to use Powercfg.exe in Windows Server 2003


 
Powercfg.exe appears to be for Server 2003.

I can't find it on XP.

Yeah, I just want sth like a scheduled power scheme.

For example:

M-F, 9am - 5pm, use Always ON
Other time, use Desktop (which has Standby ON)
 
Powercfg.exe is designed to work on the Windows Server 2003 family. It may work on other operating systems, such as Windows 2000; however, Microsoft does not guarantee that it will work on other operating systems and does not support its use. If you use this tool on other operating systems, use it at your own risk."

So say Microsoft, but I have checked XP Home and XP Pro systems I have, and both have Powercfg included as a System32 exe.

Try Powercfg /? from a Command Prompt.
 
I have XP and don't see Powercfg.exe, only powercfg.cpl

Could you give exact path?
 
No, not there. Don't know why.

It does not seem to have time-schedule capability though.
 
You would use it in conjunction with Scheduled Tasks.
 
Do you have SP2, maybe it was inserted by that?

This is a breakdown of my Properties for it.

powercfg.exe

C:\WINDOWS\system32

48.0 KB (49,152 bytes)

Wednesday, 4 August 2004, 12:56:56 AM (created)

5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
 
I am tring to use "Scheduled Task" with powercfg.exe on SP2 and got the following error:

An error has occured while attempting to set task account information. The specific error is:

0x80070005: Access is denied

You do not have permission to perform requested operation.

I've never used "Scheduled Task" before. Did I miss some security policy settting?

Thanks!
 
My mistake. Apparently, I can't schedule a task unless the user has a password.
 
OK. Found out myself. I need to check "Run only if logged"

Manual run seems to work.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top