[wpkg-users] Power preferences [SEC=UNCLASSIFIED]

Michael Chinn Michael.Chinn at gbrmpa.gov.au
Thu Mar 19 00:25:47 CET 2009


Not part of WPKG but you may want to take a look at EZ GPO
http://www.terranovum.com/projects/energystar/ez_gpo.html
Gives you some fine grain control using a GPO. BSD license
In active development


From: wpkg-users-bounces at lists.wpkg.org [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of Robin Roevens
Sent: 17 March 2009 18:07
To: Anders Nilsson
Cc: wpkg-users at lists.wpkg.org
Subject: Re: [wpkg-users] Power preferences


My experience with the windows powermanagement features is that it is a per-user setting, but the user needs administrator rights to change it..
I however never tried the powercfg command, but I assume it has the same 'restriction'.
I have also seen situations where powermanagement settings are correctly set, but are not applied by Windows.
This happens when a normal user has other settings than the administrator, the administrater was logged in, and afterwards the user logs in.. Then the powermanagement settings of the administrator sometimes stays active despite the fact that the user has diferent PM settings..
Bottom line: I found those settings to be completely undependable.

Regards
Robin

From:

Anders Nilsson <andersn at isy.liu.se>

To:

wpkg-users at lists.wpkg.org

Date:

16.03.2009 17:31

Subject:

[wpkg-users] Power preferences


________________________________



I run the wpkg.js client from Windows XP startup script, which means
wpkg runs as the system user (I think), and try to install the following
self-made package:

<package id="powerproperties"
 name="Power properties for monitor and standby"
 revision="3"
 reboot="false"
 priority="10">

 <install cmd='powercfg /S "Home/Office Desk"' />
 <install cmd='powercfg /X "Home/Office Desk" /monitor-timeout-ac 15' />
 <install cmd='powercfg /X "Home/Office Desk" /standby-timeout-ac 240' />
 <upgrade cmd='powercfg /S "Home/Office Desk"' />
 <upgrade cmd='powercfg /X "Home/Office Desk" /monitor-timeout-ac 15' />
 <upgrade cmd='powercfg /X "Home/Office Desk" /standby-timeout-ac 240' />
</package>

The problem is that the settings don't stick, that is nothing concerning
power properties as changed. The client wpkg log file thinks everything
is OK and that the package is successfully installed (or upgraded when
applicable).

Running the very same commands logged in as Administrator things work
just as expected. When nobody is logged on the monitor shuts down after
15 minutes and the system goes to standby in 4 hours.

As far as I can see these power property settings is not a user
preference, or is that my problem here?

 /Anders
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20090319/a24c4d03/attachment-0002.html>


More information about the wpkg-users mailing list