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
lakshmikanthk
Jul 15, 2022Copper Contributor
if its physical server you can check available settings on IDRAC or ILO, you can use SNMP based commands from a remote machine if there is no option for scheduling start and stop.
- PicklesJul 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)
- PicklesJul 17, 2022Copper ContributorFigured 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