Showing posts with label sleep. Show all posts
Showing posts with label sleep. Show all posts

Saturday, September 23, 2023

Windows 10 Hibernation & Sleep Is A Little Wonkey

I always turn hibernation off.
Lately I've been fond of using a "sleep" shortcut.
%windir%System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0

But on one PC it quit working.
How do you even tell if Hibernation is working anymore? CMD doesn't tell me anymore?
Speccy seems to know
But no hiberfil.sys file. Oops, it showed up eventually.
But shortcut works so I'm happy.

So, this was a PC where the sleep shortcut works and hibernation is off.

On the not working PC I turned on hibernation on and the shortcut worked.

Monday, February 11, 2019

Make Sleep Shortcut

To create a shortcut that will execute the sleep command:
  • Right Click in the desired location (On the Desktop or in a folder)
  • Select New -> Shortcut
  • In the “Type the location of the item” field enter the following
  • C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0
  • Click Next
  • This will create a shortcut with the name rundll32,
  • Right Click the shortcut, select Rename and type in Sleep
 You can now open this shortcut whenever you desire to put your computer into sleep mode.

Note: You can replace the default icon with a Shutdown one by:
  • Right Click the created shortcut, select Properties -> Change Icon
I like this little guy 
Use a free portable icon editor to make a true Windows icon.
Try IconFX available in Symenu or any of the free icon editors.


Ventoy On Secure Boot

I turn of secure boot in every BIOS. However, some do not show that setting. Here is an option that has worked for me. Boot the PC and launc...