Search This Blog

Wednesday, February 10, 2010

Hibernate from Run Command

Hibernate from Run Command

Make sure that the system is hibernation enabled. To confirm that,

* Click the Start button
* Go to Run menu and type in Powercfg.cpl and click OK
* In the Power Options Properties click Hibernate tab and make sure that Enable hibernation option is checked
* Click OK/Apply

Click the Start button, go to Run menu and type in

%windir%System32rundll32.exe powrprof.dll,SetSuspendState

Click OK

As long as Hibernation is enabled in Power Options, the above command in a batch file will cause the computer to hibernate.

No comments:

Post a Comment