Hibernate

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Greetings !

I have a batch file that ends with:
C:\WINDOWS\System32\Shutdown -s -f -t 0
and this works just fine.

How can I make the computer go into hibernation instead ?
 
In
Robin Clay said:
Greetings !

I have a batch file that ends with:
C:\WINDOWS\System32\Shutdown -s -f -t 0
and this works just fine.

How can I make the computer go into hibernation instead ?

Create a batch file with this command.

%windir%\system32\rundll32.exe PowrProf.dll, SetSuspendState

Good luck

Nepatsfan
 
In addition to what Nepatsfan posted.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

How To Put the System into hibernation or Standby from Run menu
http://support.microsoft.com/kb/555569

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top