Standby and Hibernate from Command Line

  • Thread starter Thread starter ralphs
  • Start date Start date
R

ralphs

How can I cause standby or hibernate from the command line? The shutdown
utility seems to only be able to shut down or reboot.
 
How can I cause standby or hibernate from the command line? The shutdown
utility seems to only be able to shut down or reboot.

Found it,
rundll32 powrprof.dll,SetSuspendState
 
In
ralphs said:
How can I cause standby or hibernate from the command line?
The shutdown
utility seems to only be able to shut down or reboot.

Try psshutdown.exe from Microsoft.

PsShutdown v2.52
http://www.microsoft.com/technet/sysinternals/utilities/psshutdown.mspx

Place a copy of the program in your Windows/System32 folder.
The following command will put the system into Standby
immediately.

psshutdown.exe -d -t 00

This command will result in the computer hibernating
immediately.

psshutdown.exe -h -t 00

If you'd rather not use psshutdown, take a look at this
article. Keep in mind that using this method will result in
having to choose between the two possible power states. You
can't have both.

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

Good luck

Nepatsfan
 
How can I cause standby or hibernate from the command line? The shutdown
Try psshutdown.exe from Microsoft.

PsShutdown v2.52
http://www.microsoft.com/technet/sysinternals/utilities/psshutdown.mspx

Place a copy of the program in your Windows/System32 folder.
The following command will put the system into Standby immediately.

psshutdown.exe -d -t 00

This command will result in the computer hibernating immediately.

psshutdown.exe -h -t 00

If you'd rather not use psshutdown, take a look at this article. Keep in
mind that using this method will result in having to choose between the
two possible power states. You can't have both.

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

Good links, thanks.

I don't know why I didn't look at the sysinternals site for this.
 
Back
Top