Forum Discussion
Pickles
Jul 15, 2022Copper Contributor
Automating sleep
Hello all, Can someone point me in the right direction? I'm trying to make my server sleep at night and wake in the morning (simply for sheer cost of electricity). I can easily get it to do this ...
- Jul 17, 2022Figured it out through other peoples posts.
thought id post to help others. Embarrisingly its very simple. BAT file with the following 4 commands:
Powercfg /Change monitor-timeout-ac 0
Powercfg /Change monitor-timeout-dc 0
Powercfg /Change standby-timeout-ac 0
Powercfg /Change standby-timeout-dc 0
change zero to a number for minutes to turn it on
0 is off
Pickles
Jul 15, 2022Copper Contributor
Many thanks for the reply. I'm using windows server 2022 on standard home hardware. I assume the systems you mentioned above aren't compatible. (I don't understand what they are even after a little googling)
Pickles
Jul 17, 2022Copper Contributor
Figured it out through other peoples posts.
thought id post to help others. Embarrisingly its very simple. BAT file with the following 4 commands:
Powercfg /Change monitor-timeout-ac 0
Powercfg /Change monitor-timeout-dc 0
Powercfg /Change standby-timeout-ac 0
Powercfg /Change standby-timeout-dc 0
change zero to a number for minutes to turn it on
0 is off
thought id post to help others. Embarrisingly its very simple. BAT file with the following 4 commands:
Powercfg /Change monitor-timeout-ac 0
Powercfg /Change monitor-timeout-dc 0
Powercfg /Change standby-timeout-ac 0
Powercfg /Change standby-timeout-dc 0
change zero to a number for minutes to turn it on
0 is off