Powecfg.exe

  • Thread starter Thread starter somarr99
  • Start date Start date
S

somarr99

I have read the documentation on powercfg.exe which states that you
should be able to run the executable in a post installation script. I
want to know if anybody has had success executing in this manner. I do
not want, at this time, to attempt to execute it as part of an
unattended install or through Group Policy.

Am I misinterpreting the "post installation script" part? I execute
the command and modify some settings as administrator and it works. If
I then create new non-administrator accounts, they do not have the
power settings I thought I had just applied.

Thanks in advance.

If all else fails, I will attempt it in the unattended and see what
results I get.
 
Hello,
The power settings are per user not per system. So you have to run this
for each user.
Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
<From: (e-mail address removed)
<Newsgroups: microsoft.public.windowsxp.setup_deployment
<Subject: Powecfg.exe
<Date: 23 Jan 2006 14:02:18 -0800
<Organization: http://groups.google.com
<Lines: 16
<Message-ID: <[email protected]>
<NNTP-Posting-Host: 146.122.200.118
<Mime-Version: 1.0
<Content-Type: text/plain; charset="iso-8859-1"
<X-Trace: posting.google.com 1138053743 12523 127.0.0.1 (23 Jan 2006
22:02:23 GMT)
<X-Complaints-To: (e-mail address removed)
<NNTP-Posting-Date: Mon, 23 Jan 2006 22:02:23 +0000 (UTC)
<User-Agent: G2/0.2
<X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.1; .NET
CLR 1.1.4322),gzip(gfe),gzip(gfe)
<Complaints-To: (e-mail address removed)
<Injection-Info: g47g2000cwa.googlegroups.com; posting-host=146.122.200.118;
< posting-account=SYz5swwAAACEbvH0AjqETaytwqu3rPEC
<Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!news.glorb.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-fo
r-mail
<Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.windowsxp.setup_deployment:146677
<X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment
<
<I have read the documentation on powercfg.exe which states that you
<should be able to run the executable in a post installation script. I
<want to know if anybody has had success executing in this manner. I do
<not want, at this time, to attempt to execute it as part of an
<unattended install or through Group Policy.
<
<Am I misinterpreting the "post installation script" part? I execute
<the command and modify some settings as administrator and it works. If
<I then create new non-administrator accounts, they do not have the
<power settings I thought I had just applied.
<
<Thanks in advance.
<
<If all else fails, I will attempt it in the unattended and see what
<results I get.
<
<
 
Thanks! OK, so if I perform an unattended install and execute a batch script
that uses powercfg.exe, will that get me the desired result since those
scripts are executed with the assumption of no networking and no active
profiles?

Or is my only other option to configure a default profile to be used in the
unattended install?

Thanks in advance!
 
Back
Top