Windows - Not Set Standby & Hibernate
Environment
Want to set the computer not to be set standby and hibernate in normal
Solutions
Run Powercfg to set the power management
Last, set it via registry for all users account
References
- Microsoft Windows XP
Want to set the computer not to be set standby and hibernate in normal
Solutions
Run Powercfg to set the power management
powercfg.exe /change "Always On" /disk-timeout-ac 30 /disk-timeout-dc-15 /monitor-timeout-ac 15 /monitor-timeout-dc 5 /standby-timeout-ac 0 /standby-timeout-dc 0Wanna run this in hidden, so run hstart.exe
powercfg.exe /hibernate off
powercfg.exe /setactive "Always On"
hstart.exe /noconsole Powercfg.bat
Last, set it via registry for all users account
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\hstart.exe /noconsole Powercfg.bat
References