Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

Powercfg /SETACVALUEINDEX: Configuring Power Settings on Windows

Powercfg /SETACVALUEINDEX is a powerful command-line tool available on Windows that allows users to configure power settings for AC (plugged-in) power plans. This command is particularly useful for system administrators and power users who need to customize power settings to optimize energy usage and performance on their Windows devices.


By using the powercfg /SETACVALUEINDEX command, users can modify various power settings such as display timeout, sleep timeout, and system cooling policy. These settings can have a significant impact on the overall power consumption and performance of a Windows device.


Examples:


1. Changing the display timeout:
To change the display timeout for the active power plan, open the Command Prompt or PowerShell as an administrator and run the following command:


powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_VIDEO VIDEOIDLE <timeout>

Replace <timeout> with the desired value in seconds. For example, to set the display timeout to 300 seconds (5 minutes), use:


powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_VIDEO VIDEOIDLE 300

2. Modifying the sleep timeout:
To modify the sleep timeout for the active power plan, use the following command:


powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_SLEEP STANDBYIDLE <timeout>

Replace <timeout> with the desired value in seconds. For instance, to set the sleep timeout to 1800 seconds (30 minutes), run:


powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_SLEEP STANDBYIDLE 1800

3. Configuring the system cooling policy:
To configure the system cooling policy for the active power plan, execute the following command:


powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_PROCESSOR COOLINGPOLICY <policy>

Replace <policy> with one of the following values:



  • 0: Active

  • 1: Passive


For example, to set the system cooling policy to active, use:


powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_PROCESSOR COOLINGPOLICY 0

To share Download PDF