cmd' file to put my computer to sleep:
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
If I run the 'sleep.cmd' file the computer goes to sleep and I can wake it up by pressing a key on the keyboard or clicking the mouse.
BUT:
Wake Timers do not work anymore:
If I put the computer to sleep with 'start menu -> Power -> Sleep '
then the same wake timer I set with the Windows Task Scheduler works.
Does someone know if I have to change my command in the 'sleep.cmd' file or if I can add another command that I am maybe missing that also wake timers can wake up ?
WAKE ON LAN works with both ways ( 'sleep' Button in StartMenu and 'sleep.cmd' file )
No comments:
Post a Comment