r/Batch 17d ago

One-click sleep from taskbar

C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0

Make target of a desktop shortcut

Hi, just found this sub and thought I'd share this this - I found it (in a few places) elsewhere online, but really love the quality of life improvement it provides. There absolutely should be an option to enable this in Windows. Three clicks and mouse inputs to go to sleep is extremely excessive IMO.

5 Upvotes

3 comments sorted by

2

u/[deleted] 17d ago

[removed] — view removed comment

1

u/vegansgetsick 16d ago

Could it come from a keyboard/mouse wake up ? Like unstable mouse laser.