<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Support Services Blog &#187; Power Settings</title>
	<atom:link href="http://www.offsitenoc.com/blogs/category/power-settings/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.offsitenoc.com/blogs</link>
	<description>One Click Remote Server Support</description>
	<lastBuildDate>Fri, 16 Jul 2010 17:54:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Change power settings using logon script</title>
		<link>http://www.offsitenoc.com/blogs/change-power-settings-using-logon-script/</link>
		<comments>http://www.offsitenoc.com/blogs/change-power-settings-using-logon-script/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 19:42:49 +0000</pubDate>
		<dc:creator>dyadav15</dc:creator>
				<category><![CDATA[Power Settings]]></category>

		<guid isPermaLink="false">http://offsitenoc.wordpress.com/?p=35</guid>
		<description><![CDATA[Using Powercfg.exe in a logon script to configure power management settings Power Management settings can be set through a logon script using the command line utility powercfg.exe. Powercfg.exe is included with Microsoft Windows XP (SP2), but is not available on earlier versions of Windows (Windows 2000, Windows 98, etc.). It can be used to configure [...]]]></description>
			<content:encoded><![CDATA[<p>Using Powercfg.exe in a logon script to configure power management settings</p>
<p>Power Management settings can be set through a logon script using the command line utility powercfg.exe. Powercfg.exe is included with Microsoft Windows XP (SP2), but is not available on earlier versions of Windows (Windows 2000, Windows 98, etc.). It can be used to configure most power options.</p>
<p>In Windows XP, only Local Administrators and Power Users have the rights (by default) to change these settings. It is possible, however, to give members of the Users group enhanced rights to the registry. Adding these rights will also give users rights to change their Power Policies in using Power Options applet in Control Panel.</p>
<p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies</p>
<p>For more information on editing the registry, see the Microsoft article, <a href="http://support.microsoft.com/default.aspx?Product=winxp&amp;scid=kb;en-us;310426" target="_blank">How to set or change registry editing permissions in Windows XP or in Windows Server 2003</a> </p>
<p>Members of the Users group can make these changes by default in Vista, so powercfg.exe can be used in a logon script without any changes.</p>
<p>Below is an example of a batch script for Windows XP that creates a new power scheme using powercfg.exe, sets custom settings for the scheme, and sets it to be the active scheme. An XP workstation has multiple power schemes, each with its own custom settings, but only one can be the active scheme (the one currently being used).</p>
<p>POWERCFG /CREATE Custom1<br />
POWERCFG /CHANGE Custom1 /monitor-timeout-ac 15<br />
POWERCFG /CHANGE Custom1 /monitor-timeout-dc 10<br />
POWERCFG /CHANGE Custom1 /disk-timeout-ac 30<br />
POWERCFG /CHANGE Custom1 /disk-timeout-dc 10<br />
POWERCFG /CHANGE Custom1 /standby-timeout-ac 60<br />
POWERCFG /CHANGE Custom1 /standby-timeout-dc 0<br />
POWERCFG /CHANGE Custom1 /hibernate-timeout-ac 0<br />
POWERCFG /CHANGE Custom1 /hibernate-timeout-dc 30<br />
POWERCFG /CHANGE Custom1 /processor-throttle-ac ADAPTIVE<br />
POWERCFG /CHANGE Custom1 /processor-throttle-dc ADAPTIVE<br />
POWERCFG /SETACTIVE Custom1</p>
<p>In Windows Vista, power schemes are referenced by a GUID. When first installed, the default Power Scheme is the &#8220;Balanced&#8221; scheme. It has a standard GUID of 381b4222-f694-41f0-9685-ff5bb260df2e, which is the same on every computer. Below is an example of a batch script that duplicates the default balanced power scheme, renames it to Custom1, sets custom settings for the scheme, and sets it to be the active scheme. A Vista workstation has multiple power schemes, each with its own custom settings, but only one can be the active scheme (the one currently being used).</p>
<p>POWERCFG -DUPLICATESCHEME 381b4222-f694-41f0-9685-ff5bb260df2e 381b4222-f694-41f0-9685-ff5bb260aaaa<br />
POWERCFG -CHANGENAME 381b4222-f694-41f0-9685-ff5bb260aaaa &#8220;Custom1&#8243;<br />
POWERCFG -SETACTIVE 381b4222-f694-41f0-9685-ff5bb260aaaa<br />
POWERCFG -Change -monitor-timeout-ac 15<br />
POWERCFG -CHANGE -monitor-timeout-dc 15<br />
POWERCFG -CHANGE -disk-timeout-ac 30<br />
POWERCFG -CHANGE -disk-timeout-dc 30<br />
POWERCFG -CHANGE -standby-timeout-ac 30<br />
POWERCFG -CHANGE -standby-timeout-dc 30<br />
POWERCFG -CHANGE -hibernate-timeout-ac 0<br />
POWERCFG -CHANGE -hibernate-timeout-dc 0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.offsitenoc.com/blogs/change-power-settings-using-logon-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

