Remotely change power options in XP

First of all, get the pstools and set them up. then run

psexec \\[workstation name] powercfg /query Field Description Value ----------------- ----- Name Home/Office Desk Numerical ID 0 Turn off monitor (AC) After 20 mins Turn off monitor (DC) After 5 mins Turn off hard disks (AC) After 60 mins Turn off hard disks (DC) After 10 mins System standby (AC) Never System standby (DC) After 5 mins System hibernates (AC) Never System hibernates (DC) After 20 mins Processor Throttle (AC) Not Supported Processor Throttle (DC) Not Supported

that will tell you what the current settings are. After that, you can set the power scheme by doing this:

psexec \\[workstation name] powercfg /setactive "[scheme name]"

It will exit with “error code 0″, but no worries. Just check your work using the query command above after your changes.

Related posts:

  1. Vmware – Unable to change virtual machine power state: Internal error.

1 comment on this post.
  1. CarnivorouZ:

    Thanks for posting, works great for Windows 7 also.

Leave a comment