Allow wake timers Windows 7/Vista

前端 未结 4 1665
一生所求
一生所求 2021-02-11 06:18

I need to allow WakeTimers (computer wake up from sleep/hibernation) for all power plans set on plugged in to Enabled.

4条回答
  •  一整个雨季
    2021-02-11 06:52

    From https://adameyob.com/2015/02/how-to-enable-wake-timers/#comment-17

    powercfg /SETACINDEXVALUE SCHEME_BALANCED SUB_SLEEP RTCWake 1
    powercfg /SETACINDEXVALUE SCHEME_MIN SUB_SLEEP RTCWake 1
    powercfg /SETACINDEXVALUE SCHEME_MAX SUB_SLEEP RTCWake 1
    

    Or from http://adameyob.com/2015/02/how-to-enable-wake-timers/#comment-31

    FOR /f “tokens=1,2,3,4” %%I IN (‘powercfg.exe /getactivescheme’) DO ( SET GUID=%%L )
    powercfg /setacvalueindex %GUID% SUB_SLEEP RTCWAKE 1
    

提交回复
热议问题