<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
tt
{mso-style-priority:99;
font-family:"Courier New";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-AU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Not part of WPKG but you may want to take a look at EZ GPO<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a
href="http://www.terranovum.com/projects/energystar/ez_gpo.html">http://www.terranovum.com/projects/energystar/ez_gpo.html</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Gives you some fine grain control using a GPO. BSD license<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>In active development<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> wpkg-users-bounces@lists.wpkg.org
[mailto:wpkg-users-bounces@lists.wpkg.org] <b>On Behalf Of </b>Robin Roevens<br>
<b>Sent:</b> 17 March 2009 18:07<br>
<b>To:</b> Anders Nilsson<br>
<b>Cc:</b> wpkg-users@lists.wpkg.org<br>
<b>Subject:</b> Re: [wpkg-users] Power preferences<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>My experience
with the windows powermanagement features is that it is a per-user setting, but
the user needs administrator rights to change it..</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I however never
tried the powercfg command, but I assume it has the same 'restriction'. </span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I have also
seen situations where powermanagement settings are correctly set, but are not
applied by Windows.</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>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..</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Bottom line: I
found those settings to be completely undependable.</span> <br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Regards</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Robin</span> <br>
<br>
<o:p></o:p></p>
<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
style='width:100.0%'>
<tr>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#5F5F5F'>From:</span> <o:p></o:p></p>
</td>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Anders
Nilsson <andersn@isy.liu.se></span> <o:p></o:p></p>
</td>
</tr>
<tr>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#5F5F5F'>To:</span> <o:p></o:p></p>
</td>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>wpkg-users@lists.wpkg.org</span>
<o:p></o:p></p>
</td>
</tr>
<tr>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#5F5F5F'>Date:</span> <o:p></o:p></p>
</td>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>16.03.2009
17:31</span> <o:p></o:p></p>
</td>
</tr>
<tr>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#5F5F5F'>Subject:</span> <o:p></o:p></p>
</td>
<td valign=top style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>[wpkg-users]
Power preferences</span><o:p></o:p></p>
</td>
</tr>
</table>
<p class=MsoNormal><o:p> </o:p></p>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=2 width="100%" noshade style='color:gray' align=center>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<br>
<tt><span style='font-size:10.0pt'>I run the wpkg.js client from Windows XP
startup script, which means</span></tt><span style='font-size:10.0pt;
font-family:"Courier New"'><br>
<tt>wpkg runs as the system user (I think), and try to install the following</tt><br>
<tt>self-made package:</tt><br>
<br>
<tt><package id="powerproperties"</tt><br>
<tt> name="Power properties for monitor and standby"</tt><br>
<tt> revision="3"</tt><br>
<tt> reboot="false"</tt><br>
<tt> priority="10"></tt><br>
<br>
<tt> <install cmd='powercfg /S "Home/Office Desk"' /></tt><br>
<tt> <install cmd='powercfg /X "Home/Office Desk"
/monitor-timeout-ac 15' /></tt><br>
<tt> <install cmd='powercfg /X "Home/Office Desk"
/standby-timeout-ac 240' /></tt><br>
<tt> <upgrade cmd='powercfg /S "Home/Office Desk"' /></tt><br>
<tt> <upgrade cmd='powercfg /X "Home/Office Desk"
/monitor-timeout-ac 15' /></tt><br>
<tt> <upgrade cmd='powercfg /X "Home/Office Desk"
/standby-timeout-ac 240' /></tt><br>
<tt></package></tt><br>
<br>
<tt>The problem is that the settings don't stick, that is nothing concerning</tt><br>
<tt>power properties as changed. The client wpkg log file thinks everything</tt><br>
<tt>is OK and that the package is successfully installed (or upgraded when</tt><br>
<tt>applicable).</tt><br>
<br>
<tt>Running the very same commands logged in as Administrator things work</tt><br>
<tt>just as expected. When nobody is logged on the monitor shuts down after</tt><br>
<tt>15 minutes and the system goes to standby in 4 hours.</tt><br>
<br>
<tt>As far as I can see these power property settings is not a user</tt><br>
<tt>preference, or is that my problem here?</tt><br>
<br>
<tt> /Anders</tt><br>
<tt>-------------------------------------------------------------------------</tt><br>
<tt>wpkg-users mailing list archives >> </tt></span><a
href="http://lists.wpkg.org/pipermail/wpkg-users/"><tt><span style='font-size:
10.0pt'>http://lists.wpkg.org/pipermail/wpkg-users/</span></tt></a><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt>_______________________________________________</tt><br>
<tt>wpkg-users mailing list</tt><br>
<tt>wpkg-users@lists.wpkg.org</tt><br>
</span><a href="http://lists.wpkg.org/mailman/listinfo/wpkg-users"><tt><span
style='font-size:10.0pt'>http://lists.wpkg.org/mailman/listinfo/wpkg-users</span></tt></a><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
</span><o:p></o:p></p>
</div>
</div>
</body>
</html>