run command to sleep the system in windows 10 code example Example: how to make pc sleep windows 10 through cmd rundll32.exe powrprof. dll,SetSuspendState 0,1,0