Windows – Sleep Mode Missing – Workaround

Background

On one of my machines, I noticed that the menu option to access the sleep mode is missing.

 

Proof

Image

 

Workaround

Outline

  1. powrprof.dll

powrprof.dll

Outline

  1. Access the powrprof.dll
    • Using rundll32, load powrprof.dll
    • Pass along the payload “SetSuspendState Sleep

Syntax


rundll32.exe powrprof.dll, SetSuspendState Sleep

Sample


rem How to Sleep Windows 10 PC using CMD or keyboard shortcut
rem https://www.how2shout.com/how-to/how-to-sleep-windows-10-pc-using-cmd-or-keyboard-shortcut.html

rundll32.exe powrprof.dll, SetSuspendState Sleep

Credit

Crediting h2Media ( How2Shout ).

How to Sleep Windows 10 PC using CMD or keyboard shortcut
Link

Pretty Gangstar stuff.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s