Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Power settings - POWERCFG query

Posted on 2008-06-12
6
Medium Priority
?
4,428 Views
Last Modified: 2010-04-21
Hi,

I've found a few websites that show how to create power profiles for PCs/Laptops. I basically want to have certain power settings for all users using local policy to run the batch file containing the following code
"""""
POWERCFG /CREATE NewPower
POWERCFG /CHANGE NewPower /monitor-timeout-ac 0
POWERCFG /CHANGE NewPower /monitor-timeout-dc 0
POWERCFG /CHANGE NewPower /disk-timeout-ac 0
POWERCFG /CHANGE NewPower /disk-timeout-dc 0
POWERCFG /CHANGE NewPower /standby-timeout-ac 0
POWERCFG /CHANGE NewPower /standby-timeout-dc 0
POWERCFG /CHANGE NewPower /hibernate-timeout-ac 0
POWERCFG /CHANGE NewPower /hibernate-timeout-dc 0
POWERCFG /CHANGE NewPower /processor-throttle-ac ADAPTIVE
POWERCFG /CHANGE NewPower /processor-throttle-dc ADAPTIVE
POWERCFG /CHANGE NewPower /
POWERCFG /SETACTIVE NewPower
"""""
I have a couple of questions.
What do the following do /processor-throttle-ac ADAPTIVE
                                         /processor-throttle-dc ADAPTIVE

I'm not bothered about the settings I can't change through the Power Options Properties, so can I leave those 2 out? the defauls will be fine.
Also I'd like to change the Advanced Power Buttons in the Power Options Properties to

Close lid - Do Nothing
Press Power Button - Shutdown
Press Sleep Button - Do Nothing

Is there code I can put in the script to change the above as well?

many thanks in advance
0
Comment
Question by:bluebirds1984
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 19

Accepted Solution

by:
PeteJThomas earned 2000 total points
ID: 21770861
Ok, first question is answered here -

/processor-throttle-ac { none | constant | degrade | adaptive}
 Selects the dynamic throttling policy to be used, if your microprocessor supports processor performance state controls, when the system is operating on AC power. The following table lists and describes each dynamic throttling policy option.

Value Description

none
Causes the microprocessor to operate at the highest performance state at all times
 
constant
Causes the microprocessor to operate at the lowest performance state at all times
 
degrade
Causes the microprocessor to operate at the lowest performance state, and further reduces performance by applying stop clock throttling as the system battery drains

Note
" This option is typically used when the computer is operating on battery power and is therefore seldom used with /processor-throttle-ac.
 
adaptive
Modifies the performance state dynamically based on the demand the system puts on the microprocessor
 
/processor-throttle-dc { none | constant | degrade | adaptive}
 Selects the dynamic throttling policy to be used, if your microprocessor supports processor performance state controls, when the system is operating on DC (battery) power. The desired dynamic throttling policy is selected with one of the four additional switches listed under /processor-throttle-ac.
 
The answers are all in here - http://technet2.microsoft.com/windowsserver/en/library/0d90be55-cc9d-423d-8e49-8a79a4d6bcd41033.mspx?mfr=true

I'm afraid there's no mention in of how to user that particular command to change the settings when the lid is closed etc... But I'll keep looking for you!

Pete
0
 
LVL 4

Author Comment

by:bluebirds1984
ID: 21770955
Many thanks for your prompt reply.
Am I right in thinking that adaptive would be the default setting? or could I just remove the

POWERCFG /CHANGE NewPower /processor-throttle-ac ADAPTIVE
POWERCFG /CHANGE NewPower /processor-throttle-dc ADAPTIVE

from the script all together?

cheers
0
 
LVL 19

Expert Comment

by:PeteJThomas
ID: 21771262
I would say that the 'default' setting would depend on what power scheme template you have running normally... However I would think that adaptive would make sense, and I would leave it in - If you have no setting, it might count as setting it to 'none', which would mean that the CPU would be running at it's "highest performance state at all times".

So yes I'd say keep it as it is! Haven't found anything yet with regards to what to do when the lid closes etc... I'll keep looking!
0
 
LVL 4

Author Comment

by:bluebirds1984
ID: 21779938
Thanks, I will keep the text in the batch file.

I've found these websites with regards to power button/lid settings

http://www.windowsbbs.com/showthread.php?t=64460
and
http://www.theeldergeek.com/forum/index.php?showtopic=28050&mode=threaded

if you or anyone can make sense of what registry fix I could do to change the power settings I'd be grateful!
0
 
LVL 4

Author Closing Comment

by:bluebirds1984
ID: 31466598
Many thanks for your reply, it will make my work easier!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question