HomeUncategorized › Hibernate

Hibernate

There are 3 main ways to conserve power on a computer. You can power off/shut down the computer. You can put the compute into Stand By or Sleep mode. Or you can use hibernate. Hibernate is a like a combination of the 2 other ones. You can pull the power from the computer and move it around, but when you turn it back on it will have all of the running programs that were running before you put it in to hibernate and the computer resumes quicker than a regular reboot.

Unfortunately some computers don’t have this enabled or it is not easily accessible. It may not be on the Start Menu with the regular shut down or sleep mode options. You can create a script that will do it for you. For example, I created a new text document on my desktop call Hibernate.txt. Inside of that text document I have the following line of code:
rundll32.exe PowrProf.dll, SetSuspendState 0,1,0
I then rename the file from Hibernate.txt to Hibernate.bat. When this is file is clicked the computer will go in to hibernation mode.

Another fun thing that you can use the rundll32.exe program for is to lock your workstation. The code for that is:
rundll32.exe user32.dll,LockWorkStation
Just make another text file, put that in, save it and rename the .txt to a .bat and there you have a script that will lock your computer.

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>