shutdown.exe
shortcuts work just fine to do Shutdown and Restart:
C:\Windows\System32\shutdown.exe /s /t 00
C:\Windows\System32\shutdown.exe /r /t 00
I don't want to do Hibernate, but I would like to do Standby like in Windows XP, with one double-click from my Desktop.
In Win 8, it takes more effort than necessary to click to Sleep.
So, I've read that you have to use the following rundll32
command to do Standby, and that Hibernation has to be off, so I made the following into a .bat file with a shortcut to it. It still requires me to press the power button to turn the computer on, as opposed to tapping a key on the keyboard, or moving the mouse:
C:\Windows\System32\powercfg -hibernate off
C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0
PsShutdown
works great for all three: Shutdown, Restart, and Standby.
I'm currently using PsShutdown v2.52:
"C:\Program Files\Standby\psshutdown.exe" -k -t 0
"C:\Program Files\Standby\psshutdown.exe" -r -t 0
"C:\Program Files\Standby\psshutdown.exe" -d -t 0
I would just like to know what is the actual command that Windows 8 uses to put the computer into Sleep mode?
Is it a line command? Where do you find it? How do you figure out what it is?
I think I would use a line command, because it would be simpler than needing to use another program.
Windows 8 is getting the job done somehow. Maybe it really is more complicated to do, than using a couple of line commands.