2

All suggested commands for Windows XP/7/8 puts Windows 10 in hibernation (not in standby).

  1. so, for Windows 10, how to put PC into from CMD (batch file)?
  2. is there correct a keyboard combination (without "choosing this and that", just a direct keyboard combination)?
T.Todua
  • 3,938
  • 1
    This is still a duplicate. The answer on the dupe even states, "It seems that sleeping a computer is problematic if hibernate is turned on. The command rundll32.exe powrprof.dll,SetSuspendState 0,1,0 for sleep is correct - however, it will hibernate instead of sleep if you don't turn the hibernation off," and it even suggestions a solution - using PsShutdown which does support either suspend (sleep) or hibernate. – nhinkle Oct 19 '15 at 22:25
  • and why my topic is closed? it is not duplicate! there is not solution! – T.Todua Mar 19 '16 at 08:21
  • How about shutdown /h /f from an elevated command prompt?? If it says you need to enable hibernation first, use powercfg -h on from an elevated command prompt first and then retry the first command. – Vomit IT - Chunky Mess Style Jul 30 '16 at 18:20
  • Only this solution helped me - http://superuser.com/a/1054793/249349 – T.Todua Oct 18 '15 at 19:44
  • Scott Chamberlain's solution didn't work? – fixer1234 Dec 08 '16 at 08:30

1 Answers1

0

Use this command:

rundll32.exe powrprof.dll,SetSuspendState 0,1,0