Skip to content

Instantly share code, notes, and snippets.

View ibaaj's full-sized avatar

Ismaïl Baaj ibaaj

  • Paris, France
View GitHub Profile
@ibaaj
ibaaj / BaajAlarm
Last active November 15, 2016 12:21
prevent from sleeping a Windows computer (and let working an alarm clock program )
Config .
powercfg /c BaajAlarm
powercfg /x BaajAlarm /monitor-timeout-ac 15
powercfg /x BaajAlarm /monitor-timeout-dc 15
powercfg /x BaajAlarm /disk-timeout-ac 15
powercfg /x BaajAlarm /disk-timeout-dc 15
powercfg /x BaajAlarm /standby-timeout-ac 0
powercfg /x BaajAlarm /standby-timeout-dc 0
powercfg /x BaajAlarm /hibernate-timeout-ac 0