Forum Discussion

YatesIroncrest's avatar
YatesIroncrest
Iron Contributor
May 12, 2025

Create Desktop Shortcut for Sleep

I'm trying what I thought would be a very simple task, I'd like a desktop shortcut for sleep.

Note that I want plain "sleep" and not "hibernate". However, even though I've tried a bunch of solutions I find, every one of them appears to actually invoke Hibernate. While that certainly works, it takes a lot longer to wake up, which is what I'm trying to avoid. When the computer sleep timeout occurs, the proper sleep mode is enabled. Also, if I key Win/xus, that also enters the desired sleep mode. Of course, that's a bunch of keystrokes, so I'd just like to have the shortcut.

Here's my Screen, sleep, & hibernate timeout settings. When this

kicks in, it accomplishes exactly what I'm trying to do, I just need to figure out how to put this in a desktop shortcut. :)


I hasten to point out, I've found a bunch of different recommendations for commands that "sleep", but every one of them appears to actually invoke "hibernate" instead of sleep.

1 Reply

  • conniebarnes's avatar
    conniebarnes
    Iron Contributor

    Desktop right-click → New > Shortcut → Enter:

    rundll32.exe powrprof.dll,SetSuspendState 0,1,0
    Name the shortcut as Sleep.

Resources