User Tools

Site Tools


computing:windows:windows_pwr_mgmt

Windows Power Management

FIXME Just a few notes for now…

Power management commands can be run in a background DOS shell, like that provided by the MSP RMM Remote Background shell feature.

List Windows power plans:

powercfg.exe -list

Activate the High Performance power plan:

powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

Show Link State Power Management setting:

:!: Be sure to disable Link State Power Management as it can cause RDP session lockups!

powercfg.exe -query 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 501a4d13-42af-4429-9fd1-a8218c268e20

Disable hibernation and delete the hiberfil.sys file:

powercfg.exe /hibernate off

Disable various power management settings:

powercfg.exe -change -monitor-timeout-ac 0

powercfg.exe -change -monitor-timeout-dc 0

powercfg.exe -change -disk-timeout-ac 0

powercfg.exe -change -disk-timeout-dc 0

powercfg.exe -change -standby-timeout-ac 0

powercfg.exe -change -standby-timeout-dc 0

powercfg.exe -change -hibernate-timeout-ac 0

powercfg.exe -change -hibernate-timeout-dc 0

Commonly used commands:

powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
powercfg.exe /hibernate off
powercfg.exe -change -standby-timeout-ac 0
powercfg.exe -query 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 501a4d13-42af-4429-9fd1-a8218c268e20
powercfg.exe -list
computing/windows/windows_pwr_mgmt.txt · Last modified: 2017/07/18 12:40 by gcooper