|
|
Question : How to push "Power Button" options via script.
|
|
I have 100 laptops I need to change the "When I close the lid of my computer" option from "Do Nothing" to "Stand by". Is there anyway to push this option via logon script or policy?
|
Answer : How to push "Power Button" options via script.
|
|
I found this on google answers. It works perfect.
Change the setting using powercfg.cpl
Using Regedit, export the [HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy] Key into "Standby.reg":
Create batch StandbyMode.bat: regedit /s "StandbyMode.reg" rundll32.exe powrprof.dll,LoadCurrentPwrScheme
|
|
|
|