My keyboard doesn't have power-related keys. I would like to enter the hybrid sleep using the keyboard and only with a minimum of keystrokes.
If there is none, how do I bind a hotkey to it?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Windows doesn't have a standard hotkey or keyboard shortcut for going to sleep - except the "sleep" button that you see on some keyboards.
Instead, you can use a program to trigger the sleep state, and you can assign a shortcut to launch this program:
Target, add the word
Shortcut key, then press the key combination you want to use. This is then displayed in the field. Note: Not all shortcuts work, e.g. Win+S gets translated to Ctrl-Alt-S instead.
*) See the Wizmo webpage for complete documentation. Wizmo can do lots more!
In English Windows Windows + -> + -> + s will put the computer to sleep.
If sleep is configured to be hybrid, then it will be a hybrid sleep.
You can use the free utility NirCmd as follows:
"C:\Program Files\Nircmd\nircmd.exe" standby
The rest you can find in torbengb's answer.
You can try this command instead (no external programs are required):
Rundll32.exe Powrprof.dll,SetSuspendState Sleep
Starting in Windows 8, and continuing in Windows 10 at least as of the Creators Update, the +x menu allows quick access to the "shut down or sign out menu." And it has sensible accelerators; "u" for the shut down menu, and then "s" for sleep.
You can sleep with the sequence +x, u, s.
You can use Autohotkey script:
Pause:: DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0) Return
It will put PC to sleep when you press "Pause Break"
You can change key to any combination you want