New
#1
Win 10 home 64 bit command line Sleep command
If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule.
If I use any of the followingcommand lines, the software cannot wake my computer, I have ran “powercfg/h /off” at C:\windows\system32 in Powershell as administrator
Does anyone know of a bettercommand to put the computer to sleep?
%windir%\System32\rundll32.exepowrprof.dll,SetSuspendState Standby
%windir%\System32\rundll32.exepowrprof.dll, SetSuspendState Standby
C:\Windows\System32\rundll32.exePowrprof.dll,SetSuspendState Sleep 0,1,0
C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0
Doyou know of a better command to put the computer to sleep
I downloaded psshutdown
C:\Windows\psshutdown.exe -d -t xx xx= number of sec till sleep
Last edited by JimO; 07 Feb 2017 at 22:41. Reason: fixed my problem