Allow wake timers Windows 7/Vista

前端 未结 4 1673
一生所求
一生所求 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条回答
  •  梦毁少年i
    2021-02-11 06:57

    It appears that you can use WMI to change the setting.

    http://www.daniweb.com/software-development/csharp/threads/272577

    Microsoft has a WMI code creator that will help you out:

    https://www.microsoft.com/download/en/confirmation.aspx?displayLang=en&id=8572

    You will want to search under "root\CIMV2\power" for the power management stuff.

提交回复
热议问题