>NULL: Stop Windows from sleeping via cmd.exe

Wednesday, 3 November 2021

Stop Windows from sleeping via cmd.exe

To set the PC sleep time-out for AC power use the following.
powercfg /change standby-timeout-ac 0


For monitors use the following.
powercfg /change monitor-timeout-ac 0



No comments:

Post a Comment